Results 51 to 75 of 143
Thread: LiteSpeed Vs Apache Showdown
-
01-17-2010, 03:32 PM #51Web Hosting Master
- Join Date
- Jan 2005
- Posts
- 2,203
So, which mod can be the 3rd party?
-
01-17-2010, 07:51 PM #52Web Hosting Master
- Join Date
- Jun 2006
- Location
- NYC / Memphis, TN
- Posts
- 1,454
I don't understand why it matters. You may get more accurate numbers for real-world environments but the test will be the same.
The reqs/sec may be lower but they'll be lower for Apache and Litespeed. It's not going to matter where you run it. You will still be able to see which excels over the other.
You just may not be able to use the numbers to advertise "My webserver can handle x number requests/second". You will still be able to show the difference between the two. It is true that requests plus processing load over loopback will show different results but it still shows load/handling and the numbers should still be different for each and accurate based on the fact you're running the same test against different web servers in the same test environment.
Let's get on with it. You guys asked for the benchmark and (not to defend or take sides as I'm just as much an Apache fan as the next guy) the LiteSpeed folks took the time to do it. Let's see the nginx/Apache results.≈ PeakVPN.Com | Complete Privacy VPN | Cloud Hosting | Guaranteed Security | 1Gbps-10Gbps Unmetered
≈ PeakVPN | 31 VPN Servers | 17-Years Experience | Emergency 24/7 Support
≈ Visit us @ PeakVPN.Com (Coming SOON) | ASN: 3915
-
01-21-2010, 02:16 AM #53Aspiring Evangelist
- Join Date
- Nov 2003
- Posts
- 350
LiteSpeed Web Acceleration Platform by https://www.litespeedtech.com
Apache drop-in replacement. Triple server capacity with 10X performance increases.
Ultimate web serving platform for WordPress, Magento and other web applications.
Turbo charging all WordPress sites hosted on your server with a single click!
-
01-21-2010, 01:02 PM #54Uptime Aficionado
- Join Date
- Mar 2009
- Location
- /usr/bin/perl
- Posts
- 971
I've been really busy -- I'll give access to whoever was going to do lighttpd and nginx, but I don't think I'll get around to doing apache until next week.
@whoever was going to do lighttpd and nginx: pm me for the infoAsk me about CloudCentrum (coming soon) -- The complete, turn-key cloud software solution
-
01-21-2010, 01:11 PM #55Web Hosting Evangelist
- Join Date
- Nov 2003
- Posts
- 536
Should be interesting to see the results
I've used Litespeed for a short period when running my VBulletin forum and it was definatly faster
I couldn't put a percentage on just HOW fast it was, but it seemed much more responsive.
-
01-22-2010, 06:34 AM #56Web Hosting Evangelist
- Join Date
- May 2009
- Location
- London, United Kingdom
- Posts
- 472
Hello,
So far I have installed and configured Lighty. More results coming a bit later as I have the RL(RL stands for the real life) obligations now.
[root@centos-magic results]# ab -n 100000 -c 100 http://x:81/test.html
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking x (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Finished 100000 requests
Server Software: lighttpd
Server Hostname: x
Server Port: 81
Document Path: /test.html
Document Length: 65 bytes
Concurrency Level: 100
Time taken for tests: 15.987974 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 29103201 bytes
HTML transferred: 6500715 bytes
Requests per second: 6254.70 [#/sec] (mean)
Time per request: 15.988 [ms] (mean)
Time per request: 0.160 [ms] (mean, across all concurrent requests)
Transfer rate: 1777.65 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 2 2.0 2 12
Processing: 2 13 5.8 11 29
Waiting: 0 5 3.3 5 17
Total: 3 15 7.2 13 38
Percentage of the requests served within a certain time (ms)
50% 13
66% 14
75% 14
80% 14
90% 30
95% 33
98% 35
99% 36
100% 38 (longest request)
[root@centos-magic results]# ab -n 100000 -c 100 http://x:81/hello.php
ab -n 100000 -c 100 http://x:81/hello.php
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking x (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Finished 100000 requests
Server Software: lighttpd
Server Hostname: x
Server Port: 81
Document Path: /hello.php
Document Length: 12 bytes
Concurrency Level: 100
Time taken for tests: 34.725206 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 17500000 bytes
HTML transferred: 1200000 bytes
Requests per second: 2879.75 [#/sec] (mean)
Time per request: 34.725 [ms] (mean)
Time per request: 0.347 [ms] (mean, across all concurrent requests)
Transfer rate: 492.12 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.2 0 10
Processing: 3 34 6.2 33 63
Waiting: 3 33 6.3 33 63
Total: 3 34 6.2 33 63
Percentage of the requests served within a certain time (ms)
50% 33
66% 39
75% 39
80% 39
90% 40
95% 42
98% 47
99% 48
100% 63 (longest request)Last edited by Justin; 01-24-2010 at 03:48 PM.
██ KnownSRV.com - Privacy. Managed. Secure. Guaranteed!
██ Web Hosting | Dedicated Cloud VPS | Dedicated Server
██ YOUR Day and Night, Fully Managed Hosting Solutions with REAL 24/7 Support
-
01-22-2010, 12:00 PM #57Aspiring Evangelist
- Join Date
- Nov 2003
- Posts
- 350
Document Path: /test.html
Document Length: 65 bytes
/usr/local/lsws/DEFAULT/html/test.htmlLiteSpeed Web Acceleration Platform by https://www.litespeedtech.com
Apache drop-in replacement. Triple server capacity with 10X performance increases.
Ultimate web serving platform for WordPress, Magento and other web applications.
Turbo charging all WordPress sites hosted on your server with a single click!
-
01-22-2010, 02:22 PM #58Web Hosting Evangelist
- Join Date
- May 2009
- Location
- London, United Kingdom
- Posts
- 472
Sure thing. Feel free to verify it as I believe you still have the root access.
[root@centos-magic html]# ab -n 100000 -c 100 http://8.19.101.11:81/test.html
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking 8.19.101.11 (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Finished 100000 requests
Server Software: lighttpd
Server Hostname: 8.19.101.11
Server Port: 81
Document Path: /test.html
Document Length: 101 bytes
Concurrency Level: 100
Time taken for tests: 14.722711 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 32810496 bytes
HTML transferred: 10103232 bytes
Requests per second: 6792.23 [#/sec] (mean)
Time per request: 14.723 [ms] (mean)
Time per request: 0.147 [ms] (mean, across all concurrent requests)
Transfer rate: 2176.30 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 2.0 2 15
Processing: 4 12 4.9 11 28
Waiting: 0 5 2.8 4 17
Total: 4 14 6.1 13 38
Percentage of the requests served within a certain time (ms)
50% 13
66% 14
75% 14
80% 14
90% 26
95% 31
98% 34
99% 35
100% 38 (longest request)██ KnownSRV.com - Privacy. Managed. Secure. Guaranteed!
██ Web Hosting | Dedicated Cloud VPS | Dedicated Server
██ YOUR Day and Night, Fully Managed Hosting Solutions with REAL 24/7 Support
-
01-22-2010, 02:28 PM #59Web Hosting Evangelist
- Join Date
- May 2009
- Location
- London, United Kingdom
- Posts
- 472
I will go ahead and test Apache and Nginx since nobody else wants it. I will need more time to figure the perfect setup for it though.
██ KnownSRV.com - Privacy. Managed. Secure. Guaranteed!
██ Web Hosting | Dedicated Cloud VPS | Dedicated Server
██ YOUR Day and Night, Fully Managed Hosting Solutions with REAL 24/7 Support
-
01-22-2010, 02:45 PM #60Uptime Aficionado
- Join Date
- Mar 2009
- Location
- /usr/bin/perl
- Posts
- 971
SceneSRV -- the tests you posted are really an apples to oranges comparison as the ones mistwang performed were done on localhost, and the ones you performed were done on a physical NIC with QoS restrictions in place.
Ask me about CloudCentrum (coming soon) -- The complete, turn-key cloud software solution
-
01-22-2010, 02:59 PM #61Web Hosting Evangelist
- Join Date
- May 2009
- Location
- London, United Kingdom
- Posts
- 472
[root@centos-magic ~]# ab -n 100000 -c 100 http://localhost:81/test.html
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Finished 100000 requests
Server Software: lighttpd
Server Hostname: localhost
Server Port: 81
Document Path: /test.html
Document Length: 101 bytes
Concurrency Level: 100
Time taken for tests: 13.533940 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 32801968 bytes
HTML transferred: 10100606 bytes
Requests per second: 7388.83 [#/sec] (mean)
Time per request: 13.534 [ms] (mean)
Time per request: 0.135 [ms] (mean, across all concurrent requests)
Transfer rate: 2366.86 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 1.6 2 12
Processing: 3 11 3.3 11 28
Waiting: 1 4 2.0 4 18
Total: 3 13 4.1 12 38
Percentage of the requests served within a certain time (ms)
50% 12
66% 14
75% 14
80% 14
90% 14
95% 18
98% 31
99% 33
100% 38 (longest request)
[root@centos-magic ~]# ab -n 100000 -c 100 http://localhost:81/hello.php
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Finished 100000 requests
Server Software: lighttpd
Server Hostname: localhost
Server Port: 81
Document Path: /hello.php
Document Length: 12 bytes
Concurrency Level: 100
Time taken for tests: 33.733130 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 17500000 bytes
HTML transferred: 1200000 bytes
Requests per second: 2964.44 [#/sec] (mean)
Time per request: 33.733 [ms] (mean)
Time per request: 0.337 [ms] (mean, across all concurrent requests)
Transfer rate: 506.59 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.2 0 10
Processing: 3 33 6.5 32 68
Waiting: 2 32 6.6 32 68
Total: 3 33 6.5 32 68
Percentage of the requests served within a certain time (ms)
50% 32
66% 37
75% 39
80% 39
90% 40
95% 42
98% 48
99% 48
100% 68 (longest request)██ KnownSRV.com - Privacy. Managed. Secure. Guaranteed!
██ Web Hosting | Dedicated Cloud VPS | Dedicated Server
██ YOUR Day and Night, Fully Managed Hosting Solutions with REAL 24/7 Support
-
01-22-2010, 03:21 PM #62Web Hosting Evangelist
- Join Date
- May 2009
- Location
- London, United Kingdom
- Posts
- 472
Nginx - test.html
[root@centos-magic ~]# ab -n 100000 -c 100 http://localhost:82/test.html
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Finished 100000 requests
Server Software: nginx/0.8.32
Server Hostname: localhost
Server Port: 82
Document Path: /test.html
Document Length: 101 bytes
Concurrency Level: 100
Time taken for tests: 14.528579 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 31207488 bytes
HTML transferred: 10102424 bytes
Requests per second: 6882.99 [#/sec] (mean)
Time per request: 14.529 [ms] (mean)
Time per request: 0.145 [ms] (mean, across all concurrent requests)
Transfer rate: 2097.66 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 1.8 2 10
Processing: 3 12 3.6 11 28
Waiting: 0 5 2.2 5 15
Total: 3 13 4.6 13 35
Percentage of the requests served within a certain time (ms)
50% 13
66% 14
75% 14
80% 15
90% 22
95% 26
98% 28
99% 29
100% 35 (longest request)
Apache - test.html
[root@centos-magic ~]# ab -n 100000 -c 100 http://localhost:80/test.html
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Finished 100000 requests
Server Software: Apache/2.2.3
Server Hostname: localhost
Server Port: 80
Document Path: /test.html
Document Length: 101 bytes
Concurrency Level: 100
Time taken for tests: 17.649056 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 36814720 bytes
HTML transferred: 10104040 bytes
Requests per second: 5666.03 [#/sec] (mean)
Time per request: 17.649 [ms] (mean)
Time per request: 0.176 [ms] (mean, across all concurrent requests)
Transfer rate: 2036.99 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 2 3.2 2 17
Processing: 5 14 3.0 14 65
Waiting: 0 8 5.1 8 26
Total: 5 17 3.5 17 69
Percentage of the requests served within a certain time (ms)
50% 17
66% 18
75% 19
80% 20
90% 21
95% 22
98% 24
99% 25
100% 69 (longest request)██ KnownSRV.com - Privacy. Managed. Secure. Guaranteed!
██ Web Hosting | Dedicated Cloud VPS | Dedicated Server
██ YOUR Day and Night, Fully Managed Hosting Solutions with REAL 24/7 Support
-
01-22-2010, 03:55 PM #63Uptime Aficionado
- Join Date
- Mar 2009
- Location
- /usr/bin/perl
- Posts
- 971
So am I misreading this or did both nginx and lighttpd beat litespead by pretty hefty margins in the single AB client test?
@scenesrv -- can you tell us what optimizations you made to apache and/or what third party modules you compiled it with? It would also be helpful if you could tell us a bit more about the optimizations made to the other webservers.Last edited by e-Sensibility; 01-22-2010 at 04:00 PM.
Ask me about CloudCentrum (coming soon) -- The complete, turn-key cloud software solution
-
01-22-2010, 05:06 PM #64Aspiring Evangelist
- Join Date
- Nov 2003
- Posts
- 350
LiteSpeed setup is optimized for multiple CPU setup. I will post multiple ab test results for nginx and lighttpd.
In a similar one-CPU license setup, LiteSpeed only uses about 40% of one CPU, while lighttpd uses about 80% of one CPU during the test.
And lighttpd does really bad for keepalive tests, I will post some results.LiteSpeed Web Acceleration Platform by https://www.litespeedtech.com
Apache drop-in replacement. Triple server capacity with 10X performance increases.
Ultimate web serving platform for WordPress, Magento and other web applications.
Turbo charging all WordPress sites hosted on your server with a single click!
-
01-22-2010, 05:33 PM #65Aspiring Evangelist
- Join Date
- Nov 2003
- Posts
- 350
lighttpd with 4 ab clients results:
2341.23 + 1950.79 + 1834.44 + 1745.66 = 7872.12
[root@centos-magic conf]# ab -n 100000 -c 100 http://localhost:81/test.html & ab -n 100000 -c 100 http://localhost:81/test.html & ab -n 100000 -c 100 http://localhost:81/test.html & ab -n 100000 -c 100 http://localhost:81/test.html &
[1] 20038
[2] 20039
[3] 20040
[4] 20041
[root@centos-magic conf]# This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Benchmarking localhost (be patient)
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Benchmarking localhost (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 10000 requests
Completed 30000 requests
Completed 10000 requests
Completed 10000 requests
Completed 40000 requests
Completed 20000 requests
Completed 20000 requests
Completed 20000 requests
Completed 50000 requests
Completed 30000 requests
Completed 30000 requests
Completed 60000 requests
Completed 30000 requests
Completed 40000 requests
Completed 40000 requests
Completed 70000 requests
Completed 50000 requests
Completed 50000 requests
Completed 80000 requests
Completed 40000 requests
Completed 60000 requests
Completed 60000 requests
Completed 90000 requests
Completed 70000 requests
Completed 50000 requests
Completed 70000 requests
Finished 100000 requests
Server Software: lighttpd
Server Hostname: localhost
Server Port: 81
Document Path: /test.html
Document Length: 101 bytes
Concurrency Level: 100
Time taken for tests: 42.712529 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 32800000 bytes
HTML transferred: 10100000 bytes
Requests per second: 2341.23 [#/sec] (mean)
Time per request: 42.713 [ms] (mean)
Time per request: 0.427 [ms] (mean, across all concurrent requests)
Transfer rate: 749.92 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 15 344.6 0 21005
Processing: 0 18 37.9 17 6836
Waiting: 0 18 37.9 17 6835
Total: 8 33 354.1 17 21678
Percentage of the requests served within a certain time (ms)
50% 17
66% 19
75% 20
80% 21
90% 23
95% 25
98% 27
99% 28
100% 21678 (longest request)
Completed 80000 requests
Completed 60000 requests
Completed 80000 requests
Completed 90000 requests
Completed 90000 requests
Completed 70000 requests
Finished 100000 requests
Server Software: lighttpd
Server Hostname: localhost
Server Port: 81
Document Path: /test.html
Document Length: 101 bytes
Concurrency Level: 100
Time taken for tests: 51.261217 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 32800000 bytes
HTML transferred: 10100000 bytes
Requests per second: 1950.79 [#/sec] (mean)
Time per request: 51.261 [ms] (mean)
Time per request: 0.513 [ms] (mean, across all concurrent requests)
Transfer rate: 624.86 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 20 397.1 0 21000
Processing: 3 23 311.3 16 35807
Waiting: 2 22 311.3 16 35807
Total: 5 43 576.3 16 44806
Percentage of the requests served within a certain time (ms)
50% 16
66% 19
75% 20
80% 21
90% 22
95% 24
98% 26
99% 27
100% 44806 (longest request)
Completed 80000 requests
Completed 90000 requests
Finished 100000 requests
Server Software: lighttpd
Server Hostname: localhost
Server Port: 81
Document Path: /test.html
Document Length: 101 bytes
Concurrency Level: 100
Time taken for tests: 54.512622 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 32800000 bytes
HTML transferred: 10100000 bytes
Requests per second: 1834.44 [#/sec] (mean)
Time per request: 54.513 [ms] (mean)
Time per request: 0.545 [ms] (mean, across all concurrent requests)
Transfer rate: 587.59 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 21 411.7 0 44998
Processing: 0 22 336.5 16 35798
Waiting: 0 22 336.5 16 35797
Total: 5 44 604.5 16 44998
Percentage of the requests served within a certain time (ms)
50% 16
66% 18
75% 20
80% 20
90% 22
95% 24
98% 26
99% 27
100% 44998 (longest request)
Finished 100000 requests
Server Software: lighttpd
Server Hostname: localhost
Server Port: 81
Document Path: /test.html
Document Length: 101 bytes
Concurrency Level: 100
Time taken for tests: 57.284843 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 32800000 bytes
HTML transferred: 10100000 bytes
Requests per second: 1745.66 [#/sec] (mean)
Time per request: 57.285 [ms] (mean)
Time per request: 0.573 [ms] (mean, across all concurrent requests)
Transfer rate: 559.15 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 30 802.6 0 45025
Processing: 0 20 282.4 14 27969
Waiting: 0 18 282.4 14 27969
Total: 3 50 947.4 14 51339
Percentage of the requests served within a certain time (ms)
50% 14
66% 16
75% 19
80% 20
90% 22
95% 23
98% 26
99% 27
100% 51339 (longest request)
[1] Done ab -n 100000 -c 100 http://localhost:81/test.html
[2] Done ab -n 100000 -c 100 http://localhost:81/test.html
[3]- Done ab -n 100000 -c 100 http://localhost:81/test.html
[4]+ Done ab -n 100000 -c 100 http://localhost:81/test.html
[root@centos-magic conf]#LiteSpeed Web Acceleration Platform by https://www.litespeedtech.com
Apache drop-in replacement. Triple server capacity with 10X performance increases.
Ultimate web serving platform for WordPress, Magento and other web applications.
Turbo charging all WordPress sites hosted on your server with a single click!
-
01-22-2010, 05:38 PM #66Aspiring Evangelist
- Join Date
- Nov 2003
- Posts
- 350
nginx with 4 ab clients:
2459.93 + 1945.81 + 1935.54 + 1911.70 = 8252.98
[root@centos-magic conf]# This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Completed 10000 requests
Completed 10000 requests
Completed 10000 requests
Completed 10000 requests
Completed 20000 requests
Completed 20000 requests
Completed 30000 requests
Completed 20000 requests
Completed 20000 requests
Completed 40000 requests
Completed 30000 requests
Completed 30000 requests
Completed 50000 requests
Completed 40000 requests
Completed 30000 requests
Completed 40000 requests
Completed 60000 requests
Completed 40000 requests
Completed 50000 requests
Completed 50000 requests
Completed 70000 requests
Completed 80000 requests
Completed 50000 requests
Completed 60000 requests
Completed 60000 requests
Completed 90000 requests
Completed 60000 requests
Completed 70000 requests
Completed 70000 requests
Finished 100000 requests
Server Software: nginx/0.8.32
Server Hostname: localhost
Server Port: 82
Document Path: /test.html
Document Length: 101 bytes
Concurrency Level: 100
Time taken for tests: 40.651540 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 31200000 bytes
HTML transferred: 10100000 bytes
Requests per second: 2459.93 [#/sec] (mean)
Time per request: 40.652 [ms] (mean)
Time per request: 0.407 [ms] (mean, across all concurrent requests)
Transfer rate: 749.49 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 13 311.3 0 21002
Processing: 0 20 247.8 15 27449
Waiting: 0 20 247.8 15 27449
Total: 4 34 427.9 15 30449
Percentage of the requests served within a certain time (ms)
50% 15
66% 16
75% 17
80% 19
90% 21
95% 23
98% 26
99% 27
100% 30449 (longest request)
Completed 70000 requests
Completed 80000 requests
Completed 80000 requests
Completed 80000 requests
Completed 90000 requests
Completed 90000 requests
Completed 90000 requests
Finished 100000 requests
Server Software: nginx/0.8.32
Server Hostname: localhost
Server Port: 82
Document Path: /test.html
Document Length: 101 bytes
Concurrency Level: 100
Time taken for tests: 51.392358 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 31200000 bytes
HTML transferred: 10100000 bytes
Requests per second: 1945.81 [#/sec] (mean)
Time per request: 51.392 [ms] (mean)
Time per request: 0.514 [ms] (mean, across all concurrent requests)
Transfer rate: 592.85 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 18 418.2 0 45004
Processing: 0 21 358.8 15 27454
Waiting: 0 21 358.8 15 27452
Total: 1 40 629.2 15 45009
Percentage of the requests served within a certain time (ms)
50% 15
66% 15
75% 16
80% 18
90% 21
95% 23
98% 25
99% 27
100% 45009 (longest request)
Finished 100000 requests
Server Software: nginx/0.8.32
Server Hostname: localhost
Server Port: 82
Document Path: /test.html
Document Length: 101 bytes
Concurrency Level: 100
Time taken for tests: 51.665262 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 31200000 bytes
HTML transferred: 10100000 bytes
Requests per second: 1935.54 [#/sec] (mean)
Time per request: 51.665 [ms] (mean)
Time per request: 0.517 [ms] (mean, across all concurrent requests)
Transfer rate: 589.72 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 16 354.5 0 21149
Processing: 0 20 275.7 15 29472
Waiting: 0 20 275.7 15 29471
Total: 4 37 499.7 15 38471
Percentage of the requests served within a certain time (ms)
50% 15
66% 16
75% 17
80% 18
90% 21
95% 23
98% 25
99% 27
100% 38471 (longest request)
Finished 100000 requests
Server Software: nginx/0.8.32
Server Hostname: localhost
Server Port: 82
Document Path: /test.html
Document Length: 101 bytes
Concurrency Level: 100
Time taken for tests: 52.309397 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 31200936 bytes
HTML transferred: 10100303 bytes
Requests per second: 1911.70 [#/sec] (mean)
Time per request: 52.309 [ms] (mean)
Time per request: 0.523 [ms] (mean, across all concurrent requests)
Transfer rate: 582.48 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 20 575.7 0 44997
Processing: 0 19 234.9 15 27448
Waiting: 0 18 234.9 15 27447
Total: 4 39 650.6 15 51697
Percentage of the requests served within a certain time (ms)
50% 15
66% 16
75% 17
80% 18
90% 21
95% 23
98% 25
99% 27
100% 51697 (longest request)
[1] Done ab -n 100000 -c 100 http://localhost:82/test.html
[2] Done ab -n 100000 -c 100 http://localhost:82/test.html
[3]- Done ab -n 100000 -c 100 http://localhost:82/test.html
[4]+ Done ab -n 100000 -c 100 http://localhost:82/test.html
[root@centos-magic conf]#LiteSpeed Web Acceleration Platform by https://www.litespeedtech.com
Apache drop-in replacement. Triple server capacity with 10X performance increases.
Ultimate web serving platform for WordPress, Magento and other web applications.
Turbo charging all WordPress sites hosted on your server with a single click!
-
01-22-2010, 05:51 PM #67Aspiring Evangelist
- Join Date
- Nov 2003
- Posts
- 350
Four ab clients
LiteSpeed : 3667.72 + 3647.92 + 3629.93 + 3621.99 = 14567.56 req/s
Nginx: 2459.93 + 1945.81 + 1935.54 + 1911.70 = 8252.98 req/s
lighttpd: 2341.23 + 1950.79 + 1834.44 + 1745.66 = 7872.12 req/s
With 8 ab clients, nginx and lighttpd still only able to deliver 7000-8000 req/s,
while LiteSpeed can deliver 24000 req/sLiteSpeed Web Acceleration Platform by https://www.litespeedtech.com
Apache drop-in replacement. Triple server capacity with 10X performance increases.
Ultimate web serving platform for WordPress, Magento and other web applications.
Turbo charging all WordPress sites hosted on your server with a single click!
-
01-22-2010, 05:52 PM #68Uptime Aficionado
- Join Date
- Mar 2009
- Location
- /usr/bin/perl
- Posts
- 971
-
01-22-2010, 06:01 PM #69Web Hosting Evangelist
- Join Date
- May 2009
- Location
- London, United Kingdom
- Posts
- 472
Yes, that's true.
██ KnownSRV.com - Privacy. Managed. Secure. Guaranteed!
██ Web Hosting | Dedicated Cloud VPS | Dedicated Server
██ YOUR Day and Night, Fully Managed Hosting Solutions with REAL 24/7 Support
-
01-22-2010, 07:50 PM #70Aspiring Evangelist
- Join Date
- Nov 2003
- Posts
- 350
After a little bit of tuning of LiteSpeed, a setup optimized for 1-CPU setup like lighttpd can deliver 7769.82 req/s with 30% CPU utilization
[root@centos-magic bin]# ab -n 100000 -c 100 http://localhost:8089/test.html
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Finished 100000 requests
Server Software: LiteSpeed
Server Hostname: localhost
Server Port: 8089
Document Path: /test.html
Document Length: 101 bytes
Concurrency Level: 100
Time taken for tests: 12.870314 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 33700000 bytes
HTML transferred: 10100000 bytes
Requests per second: 7769.82 [#/sec] (mean)
Time per request: 12.870 [ms] (mean)
Time per request: 0.129 [ms] (mean, across all concurrent requests)
Transfer rate: 2557.05 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 1.7 2 9
Processing: 3 10 1.4 10 22
Waiting: 1 4 1.7 5 15
Total: 3 12 2.1 12 26
Percentage of the requests served within a certain time (ms)
50% 12
66% 13
75% 14
80% 14
90% 14
95% 15
98% 16
99% 21
100% 26 (longest request)
[root@centos-magic bin]#
top - 17:50:01 up 9 days, 17:12, 3 users, load average: 0.30, 0.33, 0.18
Tasks: 179 total, 4 running, 175 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.6%us, 10.1%sy, 0.0%ni, 83.4%id, 0.0%wa, 0.0%hi, 3.9%si, 0.0%st
Mem: 18874368k total, 5484728k used, 13389640k free, 3229484k buffers
Swap: 1081336k total, 0k used, 1081336k free, 1512600k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
26010 root 25 0 74780 5428 2232 R 96.7 0.0 0:05.79 ab
25744 nobody 0 -19 32352 4448 380 R 34.9 0.0 0:18.93 lshttpd
25788 root 15 0 12740 1152 816 R 0.3 0.0 0:00.13 top
1 root 15 0 10348 676 572 S 0.0 0.0 0:00.24 init
2 root RT -5 0 0 0 S 0.0 0.0 0:01.12 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:00.23 ksoftirqd/0
4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
5 root 10 -5 0 0 0 S 0.0 0.0 0:00.06 events/0
6 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khelper
7 root 13 -5 0 0 0 S 0.0 0.0 0:00.00 kthread
9 root 10 -5 0 0 0 S 0.0 0.0 0:00.08 xenwatch
10 root 10 -5 0 0 0 S 0.0 0.0 0:00.01 xenbus
14 root RT -5 0 0 0 S 0.0 0.0 0:00.54 migration/1
15 root 34 19 0 0 0 S 0.0 0.0 0:00.05 ksoftirqd/1
LiteSpeed Web Acceleration Platform by https://www.litespeedtech.com
Apache drop-in replacement. Triple server capacity with 10X performance increases.
Ultimate web serving platform for WordPress, Magento and other web applications.
Turbo charging all WordPress sites hosted on your server with a single click!
-
01-22-2010, 07:59 PM #71Aspiring Evangelist
- Join Date
- Nov 2003
- Posts
- 350
Redone the 8 ab client test again, this time got:
3151.29 + 3148.92 + 3106.49 + 3102.41 + 3099.39 + 3182.69 + 3095.33 + 3041.24 = 24927.76
close to 25000 req/s
[root@centos-magic bin]# ab -n 100000 -c 100 http://localhost:8088/test.html & ab -n 100000 -c 100 http://localhost:8088/test.html & ab -n 100000 -c 100 http://localhost:8088/test.html & ab -n 100000 -c 100 http://localhost:8088/test.html & ab -n 100000 -c 100 http://localhost:8088/test.html & ab -n 100000 -c 100 http://localhost:8088/test.html & ab -n 100000 -c 100 http://localhost:8088/test.html & ab -n 100000 -c 100 http://localhost:8088/test.html &
[1] 26127
[2] 26128
[3] 26129
[4] 26130
[5] 26131
[6] 26132
[7] 26133
[8] 26134
[root@centos-magic bin]# This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Benchmarking localhost (be patient)
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Completed 10000 requests
Completed 10000 requests
Completed 10000 requests
Completed 10000 requests
Completed 10000 requests
Completed 10000 requests
Completed 10000 requests
Completed 10000 requests
Completed 20000 requests
Completed 20000 requests
Completed 20000 requests
Completed 20000 requests
Completed 20000 requests
Completed 20000 requests
Completed 20000 requests
Completed 20000 requests
Completed 30000 requests
Completed 30000 requests
Completed 30000 requests
Completed 30000 requests
Completed 30000 requests
Completed 30000 requests
Completed 30000 requests
Completed 30000 requests
Completed 40000 requests
Completed 40000 requests
Completed 40000 requests
Completed 40000 requests
Completed 40000 requests
Completed 40000 requests
Completed 40000 requests
Completed 40000 requests
Completed 50000 requests
Completed 50000 requests
Completed 50000 requests
Completed 50000 requests
Completed 50000 requests
Completed 50000 requests
Completed 50000 requests
Completed 50000 requests
Completed 60000 requests
Completed 60000 requests
Completed 60000 requests
Completed 60000 requests
Completed 60000 requests
Completed 60000 requests
Completed 60000 requests
Completed 60000 requests
Completed 70000 requests
Completed 70000 requests
Completed 70000 requests
Completed 70000 requests
Completed 70000 requests
Completed 70000 requests
Completed 70000 requests
Completed 70000 requests
Completed 80000 requests
Completed 80000 requests
Completed 80000 requests
Completed 80000 requests
Completed 80000 requests
Completed 80000 requests
Completed 80000 requests
Completed 80000 requests
Completed 90000 requests
Completed 90000 requests
Completed 90000 requests
Completed 90000 requests
Completed 90000 requests
Completed 90000 requests
Completed 90000 requests
Completed 90000 requests
Finished 100000 requests
Server Software: LiteSpeed
Server Hostname: localhost
Server Port: 8088
Document Path: /test.html
Document Length: 101 bytes
Concurrency Level: 100
Time taken for tests: 31.733071 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 33713143 bytes
HTML transferred: 10103939 bytes
Requests per second: 3151.29 [#/sec] (mean)
Time per request: 31.733 [ms] (mean)
Time per request: 0.317 [ms] (mean, across all concurrent requests)
Transfer rate: 1037.47 [Kbytes/sec] received
Finished 100000 requests
Server Software: LiteSpeed
Server Hostname: localhost
Server Port: 8088
Document Path: /test.html
Document Length: 101 bytes
Concurrency Level: 100
Time taken for tests: 31.756968 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 33700337 bytes
HTML transferred: 10100101 bytes
Requests per second: 3148.92 [#/sec] (mean)
Time per request: 31.757 [ms] (mean)
Time per request: 0.318 [ms] (mean, across all concurrent requests)
Transfer rate: 1036.31 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 5 52.2 4 3038
Processing: 1 25 13.2 25 776
Waiting: 0 11 12.5 11 759
Total: 1 31 53.9 29 3060
Percentage of the requests served within a certain time (ms)
50% 29
66% 32
75% 33
80% 34
90% 38
95% 42
98% 48
99% 54
100% 3060 (longest request)
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 6 60.3 4 3019
Processing: 7 24 12.7 24 954
Waiting: 0 11 11.8 10 937
Total: 8 31 61.6 29 3044
Percentage of the requests served within a certain time (ms)
50% 29
66% 32
75% 33
80% 34
90% 38
95% 43
98% 53
99% 63
100% 3044 (longest request)
Finished 100000 requests
Server Software: LiteSpeed
Server Hostname: localhost
Server Port: 8088
Document Path: /test.html
Document Length: 101 bytes
Concurrency Level: 100
Time taken for tests: 32.190657 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 33711121 bytes
HTML transferred: 10103333 bytes
Requests per second: 3106.49 [#/sec] (mean)
Time per request: 32.191 [ms] (mean)
Time per request: 0.322 [ms] (mean, across all concurrent requests)
Transfer rate: 1022.69 [Kbytes/sec] received
Finished 100000 requests
Server Software: LiteSpeed
Server Hostname: localhost
Server Port: 8088
Document Path: /test.html
Document Length: 101 bytes
Concurrency Level: 100
Time taken for tests: 32.233011 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 33700337 bytes
HTML transferred: 10100101 bytes
Requests per second: 3102.41 [#/sec] (mean)
Time per request: 32.233 [ms] (mean)
Time per request: 0.322 [ms] (mean, across all concurrent requests)
Transfer rate: 1021.00 [Kbytes/sec] received
Finished 100000 requests
Server Software: LiteSpeed
Server Hostname: localhost
Server Port: 8088
Document Path: /test.html
Document Length: 101 bytes
Concurrency Level: 100
Time taken for tests: 32.264385 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 33707414 bytes
HTML transferred: 10102222 bytes
Requests per second: 3099.39 [#/sec] (mean)
Time per request: 32.264 [ms] (mean)
Time per request: 0.323 [ms] (mean, across all concurrent requests)
Transfer rate: 1020.23 [Kbytes/sec] received
Finished 100000 requests
Server Software: LiteSpeed
Server Hostname: localhost
Server Port: 8088
Document Path: /test.html
Document Length: 101 bytes
Concurrency Level: 100
Time taken for tests: 31.419914 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 33702696 bytes
HTML transferred: 10100808 bytes
Requests per second: 3182.69 [#/sec] (mean)
Time per request: 31.420 [ms] (mean)
Time per request: 0.314 [ms] (mean, across all concurrent requests)
Transfer rate: 1047.49 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 5 57.1 4 3018
Processing: 2 25 14.1 25 1216
Waiting: 0 11 13.1 11 1203
Total: 2 31 58.8 29 3047
Percentage of the requests served within a certain time (ms)
50% 29
66% 32
75% 34
80% 35
90% 38
95% 42
98% 53
99% 64
100% 3047 (longest request)
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 5 58.8 4 3036
Processing: 1 25 15.3 25 1127
Waiting: 0 11 14.5 11 1105
Total: 1 31 60.9 29 3077
Percentage of the requests served within a certain time (ms)
50% 29
66% 32
75% 33
80% 34
90% 38
95% 42
98% 54
99% 67
100% 3077 (longest request)
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 5 49.1 4 3014
Processing: 1 25 22.3 24 1007
Waiting: 0 11 21.1 11 993
Total: 1 31 54.0 29 3041
Percentage of the requests served within a certain time (ms)
50% 29
66% 31
75% 33
80% 34
90% 38
95% 42
98% 51
99% 64
100% 3041 (longest request)
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 5 64.6 4 3017
Processing: 5 25 10.6 25 903
Waiting: 0 11 9.6 11 892
Total: 5 30 65.4 29 3047
Percentage of the requests served within a certain time (ms)
50% 29
66% 31
75% 33
80% 34
90% 37
95% 40
98% 48
99% 56
100% 3047 (longest request)
Finished 100000 requests
Server Software: LiteSpeed
Server Hostname: localhost
Server Port: 8088
Document Path: /test.html
Document Length: 101 bytes
Concurrency Level: 100
Time taken for tests: 32.306698 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 33707077 bytes
HTML transferred: 10102121 bytes
Requests per second: 3095.33 [#/sec] (mean)
Time per request: 32.307 [ms] (mean)
Time per request: 0.323 [ms] (mean, across all concurrent requests)
Transfer rate: 1018.89 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 5 33.3 4 3077
Processing: 6 26 11.1 25 1156
Waiting: 0 11 10.1 11 1141
Total: 7 31 35.2 30 3107
Percentage of the requests served within a certain time (ms)
50% 30
66% 32
75% 34
80% 35
90% 39
95% 44
98% 53
99% 60
100% 3107 (longest request)
Finished 100000 requests
Server Software: LiteSpeed
Server Hostname: localhost
Server Port: 8088
Document Path: /test.html
Document Length: 101 bytes
Concurrency Level: 100
Time taken for tests: 32.881358 seconds
Complete requests: 100000
Failed requests: 0
Write errors: 0
Total transferred: 33703033 bytes
HTML transferred: 10100909 bytes
Requests per second: 3041.24 [#/sec] (mean)
Time per request: 32.881 [ms] (mean)
Time per request: 0.329 [ms] (mean, across all concurrent requests)
Transfer rate: 1000.96 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 5 49.0 4 3017
Processing: 3 26 15.3 25 786
Waiting: 0 11 12.2 11 776
Total: 4 32 51.4 30 3043
Percentage of the requests served within a certain time (ms)
50% 30
66% 33
75% 34
80% 35
90% 39
95% 44
98% 56
99% 66
100% 3043 (longest request)
[1] Done ab -n 100000 -c 100 http://localhost:8088/test.html
[2] Done ab -n 100000 -c 100 http://localhost:8088/test.html
[3] Done ab -n 100000 -c 100 http://localhost:8088/test.html
[4] Done ab -n 100000 -c 100 http://localhost:8088/test.html
[5] Done ab -n 100000 -c 100 http://localhost:8088/test.html
[6] Done ab -n 100000 -c 100 http://localhost:8088/test.html
[7]- Done ab -n 100000 -c 100 http://localhost:8088/test.html
[8]+ Done ab -n 100000 -c 100 http://localhost:8088/test.html
[root@centos-magic bin]#
LiteSpeed Web Acceleration Platform by https://www.litespeedtech.com
Apache drop-in replacement. Triple server capacity with 10X performance increases.
Ultimate web serving platform for WordPress, Magento and other web applications.
Turbo charging all WordPress sites hosted on your server with a single click!
-
01-23-2010, 12:46 AM #72WHT Addict
- Join Date
- Jun 2007
- Posts
- 140
NGINX with some modifications... I couldn't use some optimizations due to the old kernel and gcc.
Code:[root@centos-magic nginx]# ab -n 100000 -c 100 127.0.0.1:8080/test.html This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0 Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright 2006 The Apache Software Foundation, http://www.apache.org/ Benchmarking 127.0.0.1 (be patient) Completed 10000 requests Completed 20000 requests Completed 30000 requests Completed 40000 requests Completed 50000 requests Completed 60000 requests Completed 70000 requests Completed 80000 requests Completed 90000 requests Finished 100000 requests Server Software: nginx/0.8.32 Server Hostname: 127.0.0.1 Server Port: 8080 Document Path: /test.html Document Length: 169 bytes Concurrency Level: 100 Time taken for tests: 12.413460 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Non-2xx responses: 100021 Total transferred: 31906699 bytes HTML transferred: 16903549 bytes Requests per second: 8055.77 [#/sec] (mean) Time per request: 12.413 [ms] (mean) Time per request: 0.124 [ms] (mean, across all concurrent requests) Transfer rate: 2510.02 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 1 1.4 1 9 Processing: 3 10 2.6 10 23 Waiting: 0 4 1.7 4 20 Total: 3 11 3.4 11 30 Percentage of the requests served within a certain time (ms) 50% 11 66% 12 75% 13 80% 13 90% 13 95% 19 98% 25 99% 26 100% 30 (longest request) [root@centos-magic nginx]#
-
01-23-2010, 12:56 AM #73Aspiring Evangelist
- Join Date
- Nov 2003
- Posts
- 350
should test against the same file for all servers.
/usr/local/lsws/DEFAULT/html/test.html
The file you use is larger, could put nginx in disadvantage situation.LiteSpeed Web Acceleration Platform by https://www.litespeedtech.com
Apache drop-in replacement. Triple server capacity with 10X performance increases.
Ultimate web serving platform for WordPress, Magento and other web applications.
Turbo charging all WordPress sites hosted on your server with a single click!
-
01-23-2010, 01:17 AM #74WHT Addict
- Join Date
- Jun 2007
- Posts
- 140
Rough average between three runs for requests per second was about 7900
Code:[root@centos-magic nginx]# ab -n 100000 -c 100 127.0.0.1:8080/test.html This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0 Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright 2006 The Apache Software Foundation, http://www.apache.org/ Benchmarking 127.0.0.1 (be patient) Completed 10000 requests Completed 20000 requests Completed 30000 requests Completed 40000 requests Completed 50000 requests Completed 60000 requests Completed 70000 requests Completed 80000 requests Completed 90000 requests Finished 100000 requests Server Software: nginx Server Hostname: 127.0.0.1 Server Port: 8080 Document Path: /test.html Document Length: 101 bytes Concurrency Level: 100 Time taken for tests: 12.754957 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 30502745 bytes HTML transferred: 10100909 bytes Requests per second: 7840.09 [#/sec] (mean) Time per request: 12.755 [ms] (mean) Time per request: 0.128 [ms] (mean, across all concurrent requests) Transfer rate: 2335.33 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 1 1.5 1 14 Processing: 3 10 3.0 10 23 Waiting: 0 4 1.9 4 15 Total: 3 12 3.8 11 28 Percentage of the requests served within a certain time (ms) 50% 11 66% 12 75% 13 80% 13 90% 16 95% 22 98% 25 99% 26 100% 28 (longest request) [root@centos-magic nginx]#
-
01-23-2010, 01:30 AM #75WHT Addict
- Join Date
- Jun 2007
- Posts
- 140
requests per second: 10580
Code:Benchmarking localhost (be patient) Completed 10000 requests Completed 10000 requests Completed 10000 requests Completed 20000 requests Completed 10000 requests Completed 20000 requests Completed 30000 requests Completed 20000 requests Completed 20000 requests Completed 30000 requests Completed 40000 requests Completed 30000 requests Completed 30000 requests Completed 40000 requests Completed 50000 requests Completed 40000 requests Completed 50000 requests Completed 50000 requests Completed 60000 requests Completed 40000 requests Completed 60000 requests Completed 60000 requests Completed 70000 requests Completed 70000 requests Completed 70000 requests Completed 80000 requests Completed 50000 requests Completed 80000 requests Completed 80000 requests Completed 90000 requests Completed 90000 requests Completed 90000 requests Completed 60000 requests Finished 100000 requests Server Software: nginx Server Hostname: localhost Server Port: 8080 Document Path: /test.html Document Length: 101 bytes Concurrency Level: 100 Time taken for tests: 36.87581 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 30500000 bytes HTML transferred: 10100000 bytes Requests per second: 2771.04 [#/sec] (mean) Time per request: 36.088 [ms] (mean) Time per request: 0.361 [ms] (mean, across all concurrent requests) Transfer rate: 825.35 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 15 262.7 0 21001 Processing: 0 16 201.7 12 27949 Waiting: 0 16 201.7 12 27948 Total: 3 32 366.1 12 30947 Percentage of the requests served within a certain time (ms) 50% 12 66% 12 75% 13 80% 14 90% 17 95% 18 98% 20 99% 22 100% 30947 (longest request) Finished 100000 requests Server Software: nginx Server Hostname: localhost Server Port: 8080 Document Path: /test.html Document Length: 101 bytes Concurrency Level: 100 Time taken for tests: 36.974393 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 30500000 bytes HTML transferred: 10100000 bytes Requests per second: 2704.57 [#/sec] (mean) Time per request: 36.974 [ms] (mean) Time per request: 0.370 [ms] (mean, across all concurrent requests) Transfer rate: 805.56 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 15 258.4 0 21001 Processing: 0 18 248.3 12 17653 Waiting: 0 18 248.3 12 17653 Total: 3 34 404.5 12 21022 Percentage of the requests served within a certain time (ms) 50% 12 66% 12 75% 13 80% 14 90% 17 95% 18 98% 20 99% 22 100% 21022 (longest request) Finished 100000 requests Server Software: nginx Server Hostname: localhost Server Port: 8080 Document Path: /test.html Document Length: 101 bytes Concurrency Level: 100 Time taken for tests: 37.106465 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 30500000 bytes HTML transferred: 10100000 bytes Requests per second: 2694.95 [#/sec] (mean) Time per request: 37.106 [ms] (mean) Time per request: 0.371 [ms] (mean, across all concurrent requests) Transfer rate: 802.69 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 19 326.4 0 21009 Processing: 0 15 158.5 12 15914 Waiting: 0 15 158.5 12 15914 Total: 3 35 394.4 12 24654 Percentage of the requests served within a certain time (ms) 50% 12 66% 12 75% 13 80% 14 90% 16 95% 18 98% 20 99% 22 100% 24654 (longest request) Completed 70000 requests Completed 80000 requests Completed 90000 requests Finished 100000 requests Server Software: nginx Server Hostname: localhost Server Port: 8080 Document Path: /test.html Document Length: 101 bytes Concurrency Level: 100 Time taken for tests: 41.339019 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 30503660 bytes HTML transferred: 10101212 bytes Requests per second: 2419.02 [#/sec] (mean) Time per request: 41.339 [ms] (mean) Time per request: 0.413 [ms] (mean, across all concurrent requests) Transfer rate: 720.58 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 17 348.9 0 21009 Processing: 0 15 261.8 12 27948 Waiting: 0 14 261.8 12 27947 Total: 2 33 468.2 12 30953 Percentage of the requests served within a certain time (ms) 50% 12 66% 12 75% 12 80% 13 90% 16 95% 18 98% 20 99% 21 100% 30953 (longest request) [1] Done ab -n 100000 -c 100 http://localhost:8080/test.html [2] Done ab -n 100000 -c 100 http://localhost:8080/test.html [3]- Done ab -n 100000 -c 100 http://localhost:8080/test.html [4]+ Done ab -n 100000 -c 100 http://localhost:8080/test.html [root@centos-magic nginx]#
Similar Threads
-
Apache vs Litespeed
By Alan108 in forum Web HostingReplies: 4Last Post: 10-08-2009, 09:54 PM -
LiteSpeed Vs Apache?
By leanfarrell in forum Hosting Security and TechnologyReplies: 11Last Post: 10-06-2009, 03:25 PM -
LiteSpeed vs Apache
By LadySDevil in forum Hosting Security and TechnologyReplies: 51Last Post: 07-21-2009, 12:24 AM -
LiteSpeed -> Apache
By goooh in forum Hosting Security and TechnologyReplies: 6Last Post: 07-13-2009, 12:26 AM -
apache vs litespeed
By linktome in forum Hosting Software and Control PanelsReplies: 1Last Post: 07-13-2008, 08:37 PM