Hello All!
I have installed LiteSpeed Web Server 2.1.1 Standard Edition on linux (Trustix 3 / kernel 2.6).
For test I have compiled PHP 5.0.4 in FastCGI and LiteSpeed PHP SAPI mode.
In my all benchmarks tests with ApacheBench the php in FastCGI mode is more fast than PHP SAPI :
ab -c 298 -n 10000 "http://myserver/phpinfo.php" (LiteSpeed PHP SAPI):
Concurrency Level: 298
Time taken for tests: 33.717688 seconds
Complete requests: 10000
Failed requests: 9962
(Connect: 0, Length: 9962, Exceptions: 0)
Write errors: 0
Total transferred: 373412827 bytes
HTML transferred: 371991430 bytes
Requests per second: 296.58 [#/sec] (mean)
Time per request: 1004.787 [ms] (mean)
Time per request: 3.372 [ms] (mean, across all concurrent requests)
Transfer rate: 10815.09 [Kbytes/sec] received
ab -c 298 -n 10000 "http://myserver/phpinfo.php" (LiteSpeed PHP FCGI):
Concurrency Level: 298
Time taken for tests: 19.784013 seconds
Complete requests: 10000
Failed requests: 28
(Connect: 0, Length: 28, Exceptions: 0)
Write errors: 0
Total transferred: 403320418 bytes
HTML transferred: 401916036 bytes
Requests per second: 505.46 [#/sec] (mean)
Time per request: 589.564 [ms] (mean)
Time per request: 1.978 [ms] (mean, across all concurrent requests)
Transfer rate: 19908.35 [Kbytes/sec] received
I have tried many options in theLiteSpeed server configuration for LiteSpeed PHP SAPI, but LiteSpeed PHP FCGI always win.
What the best LiteSpeed Standard Edition PHP SAPI server configuration for the following parameters?
Max Connections?
Environment?
Response Bufferring?
Auto Start?
Instances?
Priority?
Thanks,
Jefferson
I have installed LiteSpeed Web Server 2.1.1 Standard Edition on linux (Trustix 3 / kernel 2.6).
For test I have compiled PHP 5.0.4 in FastCGI and LiteSpeed PHP SAPI mode.
In my all benchmarks tests with ApacheBench the php in FastCGI mode is more fast than PHP SAPI :
ab -c 298 -n 10000 "http://myserver/phpinfo.php" (LiteSpeed PHP SAPI):
Concurrency Level: 298
Time taken for tests: 33.717688 seconds
Complete requests: 10000
Failed requests: 9962
(Connect: 0, Length: 9962, Exceptions: 0)
Write errors: 0
Total transferred: 373412827 bytes
HTML transferred: 371991430 bytes
Requests per second: 296.58 [#/sec] (mean)
Time per request: 1004.787 [ms] (mean)
Time per request: 3.372 [ms] (mean, across all concurrent requests)
Transfer rate: 10815.09 [Kbytes/sec] received
ab -c 298 -n 10000 "http://myserver/phpinfo.php" (LiteSpeed PHP FCGI):
Concurrency Level: 298
Time taken for tests: 19.784013 seconds
Complete requests: 10000
Failed requests: 28
(Connect: 0, Length: 28, Exceptions: 0)
Write errors: 0
Total transferred: 403320418 bytes
HTML transferred: 401916036 bytes
Requests per second: 505.46 [#/sec] (mean)
Time per request: 589.564 [ms] (mean)
Time per request: 1.978 [ms] (mean, across all concurrent requests)
Transfer rate: 19908.35 [Kbytes/sec] received
I have tried many options in theLiteSpeed server configuration for LiteSpeed PHP SAPI, but LiteSpeed PHP FCGI always win.
What the best LiteSpeed Standard Edition PHP SAPI server configuration for the following parameters?
Max Connections?
Environment?
Response Bufferring?
Auto Start?
Instances?
Priority?
Thanks,
Jefferson