You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/10/19 20:19:02 UTC

DO NOT REPLY [Bug 50116] New: Apache segments packets unncessarily

https://issues.apache.org/bugzilla/show_bug.cgi?id=50116

           Summary: Apache segments packets unncessarily
           Product: Apache httpd-2
           Version: 2.2.16
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: phil.pickett@springsource.com


Created an attachment (id=26183)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26183)
Wireshark screen capture showing segmentation and reassembly

In performing performance testing of Apache (2.2.x) vs. iPlanet, Apache
generally performed better.  One exception though was for a page with a lot of
small images.

When monitoring the traffic for both Apache and iPlanet running on the same
host using Wireshark, it was observed that Apache segments the packets while
iPlanet does not.

A screen capture of the Wireshark data is attached.  

For the record, I have seen the same segmenting in Wireshark using Apache,
Tomcat, and Jetty).

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 50116] Apache segments packets unncessarily

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50116

Philip Pickett <ph...@springsource.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |phil.pickett@springsource.c
                   |                            |om

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 50116] Apache segments packets unncessarily

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50116

--- Comment #1 from Philip Pickett <ph...@springsource.com> 2010-10-19 14:25:58 EDT ---
Test has been recreated adding "EnableSendfile Off" and then "EnableMMAP Off"
to the configuration but the segmentation still occurred with these directives.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 50116] Apache segments packets unncessarily

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50116

Philip Pickett <ph...@springsource.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.2.16                      |2.2.9

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 50116] Apache fragments packets unnecessarily

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50116

--- Comment #3 from Philip Pickett <ph...@springsource.com> 2010-11-02 17:50:27 EDT ---
Bill - I think this should be the information you were looking for related to
the Solaris 8 patch level and tcp/ip driver info:

$ uname -a 
SunOS somehost 5.8 Generic_117350-54 sun4u sparc SUNW,Sun-Fire-V240 

$ /usr/sbin/ifconfig -a modlist 
ifconfig: _I_MUXID2FD: lo0: Invalid argument 
0 arp 
1 ip 
2 bge 
0 arp 
1 ip 
2 bge 
0 arp 
1 ip 
2 bge 
0 arp 
1 ip 
2 bge 
$ ifconfig -a 
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1 
inet 127.0.0.1 netmask ff000000 
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 
inet 20.25.13.15 netmask ffffff00 broadcast 20.25.13.255 
ether 0:3:ba:de:4:ab 
bge1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3 
inet 20.25.8.158 netmask ffffffc0 broadcast 20.25.8.191 
ether 0:3:ba:de:4:ac 
bge2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4 
inet 20.25.9.15 netmask ffffff80 broadcast 20.25.9.127 
ether 0:3:ba:de:4:ad 
bge3: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5 
inet 20.25.8.82 netmask ffffffe0 broadcast 20.25.8.95 
ether 0:3:ba:de:4:ae

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 50116] Apache fragments packets unnecessarily

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50116

William A. Rowe Jr. <wr...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Apache segments packets     |Apache fragments packets
                   |unncessarily                |unnecessarily

--- Comment #2 from William A. Rowe Jr. <wr...@apache.org> 2010-10-24 20:23:15 EDT ---
I suspect this may be a platform side effect of the writev()/sendv() family of
instructions, combined with the specific tcp drivers in place.  These optimized
instructions require the socket stack to cooperate.  Applications which don't
use these vector-based multiple data streams to coalesce data into a stream
would not show any evidence that things are odd at the socket stack.

This is worth further investigation, but you need to indicate the specific OS
and especially the actual tcp/ip network drivers in use, thanks!

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org