Uh, but did you benchmark straight cgi's between the two servers? How about straight static pages?
Why would you automatically attribute the difference in performance to DSO vs. static issues? It is pretty well known that Apache2 is currently slower than Apache1 for stuff like this because of the added overhead of the bucket brigade implementation and other issues. -Rasmus On Mon, 25 Feb 2002, August wrote: > #include as usual, all normal benchmark disclaimers. > > This is -dev, so let's assume folks have a grasp of the gap between > performance benchmarking and the real world. Before flaming please give > credit to folks who are able to use this information in a larger and > broader context, while recognizing that few of us have the time to > implement fantastic benchmarks. > > Apache 1.3 with php *statically* compiled in gets 1436 reqs/s > Apache 2.0 with php as DSO gets 1114 req/s. > > Apache 2 performs similarlity to Apache 1.3 with php as a DSO. Compiling > statically appears helpful, and currently it is not possible to do so > with apache 2. Apache 2 supports static modules generally. > > # ./bin/ab -c 15 -n 100000 /hello.php > This is ApacheBench, Version 2.0.32 <$Revision: 1.87 $> apache-2.0 > Server Software: Apache/2.0.32 > Server Port: 80 > > Document Path: /hello.php > Document Length: 12 bytes > > Time taken for tests: 89.706050 seconds > Complete requests: 100000 > Failed requests: 0 > Write errors: 0 > Requests per second: 1114.75 [#/sec] (mean) > Time per request: 0.013 [ms] (mean) > Transfer rate: 268.89 [Kbytes/sec] received > > Percentage of the requests served within a certain time (ms) > 50% 12 > 95% 20 > > # ./bin/ab -c 15 -n 100000 /hello.php > This is ApacheBench, Version 2.0.32 <$Revision: 1.87 $> apache-2.0 > Server Software: Apache/1.3.23 > > Document Path: /hello.php > Document Length: 12 bytes > > Complete requests: 100000 > Failed requests: 0 > Write errors: 0 > Requests per second: 1436.89 [#/sec] (mean) > Time per request: 0.010 [ms] (mean) > Transfer rate: 259.59 [Kbytes/sec] received > > Percentage of the requests served within a certain time (ms) > 50% 10 > 95% 14 > > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php