Hi all,
recently I've upgraded my dedicated server from a single core CPU to a dual core system. After doing some performance tests I ask myself if LSWS ENT #1 CPU is the bottleneck? And what do you think about failed requests?
If you need more detail about the configs please advise.
Thank you.
System:
o AMD 5600 X2, 2GB RAM
o Debian Etch x64
Software:
o nginx 0.5.33 ; 2 worker instances ; php-fcgi 5.2.5 via spawn-fcgi (5 fcgi children), xcache 1.2.1
o LSWS 3.3.1 ENT #1 CPU ; php 5.2.5 via lsapi, default lsapi/php config, xcache 1.2.1
I have tested Apache 2.2.6 / mod_fcgid also. But the load factor was unacceptable.
recently I've upgraded my dedicated server from a single core CPU to a dual core system. After doing some performance tests I ask myself if LSWS ENT #1 CPU is the bottleneck? And what do you think about failed requests?
If you need more detail about the configs please advise.
Thank you.
System:
o AMD 5600 X2, 2GB RAM
o Debian Etch x64
Software:
o nginx 0.5.33 ; 2 worker instances ; php-fcgi 5.2.5 via spawn-fcgi (5 fcgi children), xcache 1.2.1
o LSWS 3.3.1 ENT #1 CPU ; php 5.2.5 via lsapi, default lsapi/php config, xcache 1.2.1
Code:
PHP/Info
ab -n 10000 -c [concurrent level] http://[ip]:[port]/phpinfo.php
<HTML>
<BODY>
<?php phpinfo(); ?>
</BODY>
</HTML>
Server Software: nginx/0.5.33
Server Hostname: <del>
Server Port: 80
Document Path: /phpinfo.php
Document Length: 34572 bytes
Concurrency Level: 100
Time taken for tests: 7.341 seconds
Complete requests: 10000
Failed requests: 0
Broken pipe errors: 0
Total transferred: 346940000 bytes
HTML transferred: 345720000 bytes
Requests per second: 1362.21 [#/sec] (mean)
Time per request: 73.41 [ms] (mean)
Time per request: 0.73 [ms] (mean, across all concurrent requests)
Transfer rate: 47260.59 [Kbytes/sec] received
Code:
Server Software: LiteSpeed
Server Hostname: <del>
Server Port: 81
Document Path: /phpinfo.php
Document Length: 32245 bytes
Concurrency Level: 100
Time taken for tests: 12.660 seconds
Complete requests: 10000
Failed requests: 3
(Connect: 0, Length: 3, Exceptions: 0)
Broken pipe errors: 0
Total transferred: 323685462 bytes
HTML transferred: 322353265 bytes
Requests per second: 789.89 [#/sec] (mean)
Time per request: 126.60 [ms] (mean)
Time per request: 1.27 [ms] (mean, across all concurrent requests)
Transfer rate: 25567.57 [Kbytes/sec] received
Last edited: