Hello again,

I was just getting frustrated after days of testing.

Hardware : Amd duron 1000, 512 mb scdram (133 mhz) udma100 disk.
Running trustix secure linux 1.5. kernel 2.4.18 (however tests are the same
with 2.2 kernels and 2.4.17)

Yesterday i tested with mpm=worker settings:
I've used default worker settings, then changed each and overy one of them
but the problem remains : when the number of concurrent users exceeds
(ThreadsPerChild +1) the number of requests per second drops drastically.
(when concurrent users < ThreadsPerChild i get 1000 requests per second, if
higher only 50 requests :(

With mpm = prefork :

apache 1.3.24 :
ab -n 1000 -c 1 http://192.168.1.253/index.html

Requests per second:    1040.58 [#/sec] (mean)
Time per request:       0.96 [ms] (mean)
Time per request:       0.96 [ms] (mean, across all concurrent requests)
Transfer rate:          2328.82 [Kbytes/sec] received

ab -n 10000 -c 500 http://192.168.1.253/index.html

Requests per second:    940.82 [#/sec] (mean)
Time per request:       531.45 [ms] (mean)
Time per request:       1.06 [ms] (mean, across all concurrent requests)
Transfer rate:          2114.40 [Kbytes/sec] received

apache 2.0.35
ab -n 1000 -c 1 http://192.168.1.253/index.html

Requests per second:    882.39 [#/sec] (mean)
Time per request:       0.001 [ms] (mean)
Time per request:       0.001 [ms] (mean, across all concurrent requests)
Transfer rate:          1975.68 [Kbytes/sec] received

ab -n 10000 -c 500 http://192.168.1.253/index.html

Requests per second:    57.86 [#/sec] (mean)
Time per request:       8.642 [ms] (mean)
Time per request:       0.017 [ms] (mean, across all concurrent requests)
Transfer rate:          129.56 [Kbytes/sec] received

It seems like my apache doesnt start new processes fast enough.

What am i doing wrong ?

Regards,
Nick De Decker


----- Original Message -----
From: "Jim Jagielski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, April 09, 2002 4:53 PM
Subject: Re: slow apache 2.0


> Nick De Decker wrote:
> >
> > Hello,
> >
> > I'm testing apache 2.0 but i'm having trouble with it.
> > Benchmarks show very slow results when the number of concurrent users
get
> > high.
> > i tested the prefork/worker settings but nothing seems to help.
> > tested with ab :
> > ab -n 10000 -c 1000 http://192.168.1.253/index.html (978 bytes page)
> >
> > apache 1.3.24 => 1036 requests per second, response times of 110 ms
> > apache 2.0.35 => 68 requests per second, average response time of 15000
ms.
> >
> > So why did the make apache 2.0 so slow ?  3 years of work for a server
> > that's  100 slower ?
> >
>
> Yep, and we're damn proud of it.
>
> Actually, sounds like something is seriously hosed with your
> setup... What platform are you running (it's really useful
> if you actually provide some useful information like that)
>
> --
>
===========================================================================
>    Jim Jagielski   [|]   [EMAIL PROTECTED]   [|]   http://www.jaguNET.com/
>       "A society that will trade a little liberty for a little order
>              will lose both and deserve neither" - T.Jefferson
>


Reply via email to