httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: [PATCH] ap_r* performance patch
Date Fri, 19 Jan 2001 03:41:55 GMT
On Thu, Jan 18, 2001 at 07:37:45PM -0800, rbb@covalent.net wrote:
> 
> > In a mail yesterday, Greg Ames asked about a 1.3 comparison. I just ran some
> > 1.3 numbers:
> > 
> >              req/sec   thruput (kb/s)
> >         1.3   30.20     74.27
> >         2.0    4.17     23.18
> > 2.0 patched   14.51     80.75
> > 
> > 
> > 2.0 is using the prefork MPM. 2.0's "ab" was used to measure all three. The
> > numbers were quite stable. ab and httpd were on the same box.
> > 
> > You can see that 2.0's requests per second is quite a bit lower. But the
> > throughput is higher! I'll let Dean tell us why :-)
> > 
> > [ I presume 2.0 has higher latency in handling the request, and then we slam
> >   it all onto the network at once ]
> 
> I've got a feeling it's the 9K buffer we use as opposed to the 4K 1.3
> uses.  It would be interesting to tweak that.

Yup. I'll give it a quick run and see what happens....

*blink* ... the numbers are the same. The strace shows that the writev() has
an extra item (since one is limited to the 4k length), so the change
definitely got in there. It is simply that there is no discernible speed
difference (in my testing, at least).

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message