httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pane <>
Subject Re: Extraneous socket read?
Date Thu, 05 Jul 2001 20:45:37 GMT
dean gaudet wrote:

>On Mon, 2 Jul 2001, Brian Pane wrote:
>>Here's a patch that disables the read before the select, but only for
>>the HTTP client socket.  Can somebody with a decent benchmark lab
>>test it out to see if the throughput change is significant?
>you can make some reasonable performance measurements with a pair of
>machines and a crossover 100baseT segment.  assuming you're able to max
>out the 100baseT (shouldn't be hard) then you want to use "idle CPU" as
>your metric.  vmstat can help you there.
 From a CPU consumption perspective, I'm seeing about a 3% reduction in
system CPU utilization and a 0.5% increase in throughput (when sending a
10KB file to ab over the loopback).  No reduction in user CPU (which makes
sense in this case).  These numbers are in the range that I'd have expected,
given the elimination of the extra read call.  However, they're also small
enough to be within the normal variation of measurement error.  Thus,
while my initial results indicate that the patch will yield a speedup in the
real world, a 3rd party benchmark wouldn't hurt.


View raw message