trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iga...@apache.org
Subject [1/2] git commit: [TS-880] Major performance problem with second request on same keep-alive connection Author: weijin Review/Test: briang, zwoop, zym Backport: igalic
Date Wed, 29 Feb 2012 19:55:12 GMT
Updated Branches:
  refs/heads/3.0.x ea0158b0e -> fcf1f824e


[TS-880] Major performance problem with second request on same keep-alive connection
Author: weijin
Review/Test: briang, zwoop, zym
Backport: igalic


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/fcf1f824
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/fcf1f824
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/fcf1f824

Branch: refs/heads/3.0.x
Commit: fcf1f824ea16c50d72d24f0e9b169e5201eba713
Parents: 0431856
Author: Igor Galić <igalic@apache.org>
Authored: Wed Feb 29 20:53:20 2012 +0100
Committer: Igor Galić <igalic@apache.org>
Committed: Wed Feb 29 20:53:20 2012 +0100

----------------------------------------------------------------------
 CHANGES                          |    2 ++
 STATUS                           |    5 -----
 iocore/net/UnixNetVConnection.cc |    2 ++
 3 files changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/fcf1f824/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 8b0ba2c..f1f78a6 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,7 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 3.0.4
+  *) [TS-880] Major performance problem with second request on same keep-alive connection
+   Author: 	weijin
 
   *) [TS-1110] logstats incorrectly bucketizes all status codes greater 
   than 599 as 5xx

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/fcf1f824/STATUS
----------------------------------------------------------------------
diff --git a/STATUS b/STATUS
index d148a53..fb413d0 100644
--- a/STATUS
+++ b/STATUS
@@ -41,11 +41,6 @@ A list of all bugs open for the next v3.0.4 release can be found at
 
 PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
   
-  *) Major performance problem with second request on same keep-alive connection
-   Trunk patch: (See JIRA performance.try3.diff)
-   Jira: https://issues.apache.org/jira/browse/TS-880
-   +1: briang, zwoop, zym
-   
   *) Range requests that result in cache refresh give 200 status response with full contents
    Trunk patch: http://svn.apache.org/viewvc?view=revision&revision=1181280
    Jira: https://issues.apache.org/jira/browse/TS-824

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/fcf1f824/iocore/net/UnixNetVConnection.cc
----------------------------------------------------------------------
diff --git a/iocore/net/UnixNetVConnection.cc b/iocore/net/UnixNetVConnection.cc
index f3982d8..ac80aca 100644
--- a/iocore/net/UnixNetVConnection.cc
+++ b/iocore/net/UnixNetVConnection.cc
@@ -706,6 +706,8 @@ UnixNetVConnection::reenable(VIO *vio)
           nh->write_enable_list.push(this);
         }
       }
+	  if (nh->trigger_event && nh->trigger_event->ethread->signal_hook)
+		nh->trigger_event->ethread->signal_hook(nh->trigger_event->ethread);
     } else {
       if (vio == &read.vio) {
         ep.modify(EVENTIO_READ);


Mime
View raw message