Results 26 to 50 of 143
Thread: LiteSpeed Vs Apache Showdown
-
01-15-2010, 05:01 AM #26Web Hosting Master
- Join Date
- Mar 2009
- Posts
- 2,222
As a practical matter for running a web site, what I'd like to know is:
If I have a web site, will users get their pages faster with product X or product Y?
Steve Souder's book "High Performance Web Sites" has a number of sections about what takes the time to deliver a web page. The book is available online; I'd suggest using his section "Deconstructing 10 Top Sites" as a guide to generating representative web pages.
And I'd like to know the response times for the kind of loads I am likely to get on a web site; that is, what is the response time at:
1 page every 10 seconds?
1 page a second?
10 pages a second?
100 pages a second?
Beyond that, if it were possible:
I'd like to know the web page response times when a proportion of the items in the web page get a "not modifed" result (so the web server has to accept the request and determine if anything needs to be send, but only has to send the "not modified" response.)
It would be great if the test could reflect default settings in browsers (I believe there are typically a maximum of two connections at a time from a browser to a server.)
-
01-15-2010, 08:01 AM #27Web Hosting Evangelist
- Join Date
- May 2009
- Location
- London, United Kingdom
- Posts
- 472
██ 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-15-2010, 01:21 PM #28Uptime Aficionado
- Join Date
- Mar 2009
- Location
- /usr/bin/perl
- Posts
- 971
mistwang,
The apache mailing list convinced me that tests on localhost would not be valid, so if you've already done them I believe we should do them again in a new setup.
The new setup will include an additional 8 core 5520 client machine, and it will be connected to the webserver machine via a private VLAN (an internal one that will never leave the physical host machine . . . see below). This should provide some resource separation and give more accurate results.
For full disclosure I should mention that both of these will be virtual machines, as I don't have two spare physical ones at my disposal. I'm going to have to modify the machine that I originally gave you access to, mistwang. Any configuration that you've made, though, will be saved.
specs for these two VMs:
8 cores each
8 GB's DDR3 memory each
15K SAS virtual disksLast edited by e-Sensibility; 01-15-2010 at 01:28 PM.
Ask me about CloudCentrum (coming soon) -- The complete, turn-key cloud software solution
-
01-15-2010, 01:48 PM #29Web Hosting Master
- Join Date
- Nov 2005
- Posts
- 3,944
I haven't compared Litespeed, but personal comparison with nginx and apache showed relatively close speeds for static and dynamic but the issue came with CPU and memory usage. While nginx was only using 50% CPU, Apache would be using ~75% and I also noticed that PHP processes with apache+mod_fcgid used 1.5X the memory.
The thing I don't like about nginx though is the only way to run php processes under specific users is to spawn processes for each user at the bootup which can consume a lot of unnecessary resources.
-
01-15-2010, 02:26 PM #30Aspiring 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-15-2010, 02:31 PM #31Web Hosting Master
- Join Date
- Nov 2005
- Posts
- 3,944
The only problem with the tests being performed on virtual servers is that if they are not all run simultaneously then one test may have 100% cpu available and another test may only have 80% if another virtual server is using resources.
-
01-15-2010, 02:51 PM #32Uptime Aficionado
- Join Date
- Mar 2009
- Location
- /usr/bin/perl
- Posts
- 971
Ask me about CloudCentrum (coming soon) -- The complete, turn-key cloud software solution
-
01-15-2010, 02:57 PM #33Web Hosting Master
- Join Date
- Nov 2005
- Posts
- 3,944
Oh your hosting them on the same server? Wouldn't that technically be the same as running it on localhost then since it still isn't going outside the server?
-
01-15-2010, 03:07 PM #34Uptime Aficionado
- Join Date
- Mar 2009
- Location
- /usr/bin/perl
- Posts
- 971
No, because the client and server will be running on separate OS instances. This will better model a real relationship between a client/server because the server won't have to deal with overhead from the client (which will be quite considerable at this volume), and vice versa. It'll make it easier to see what is eating up memory, cpu cycles, etc -- things would be harder to disect if both the client and server were grabbing resources from the same pool. Also, the network will be a less (albeit not by much) artificial representation of an actual network, as the traffic will leave each operating system rather than remaining internal to a single OS instance.
Ask me about CloudCentrum (coming soon) -- The complete, turn-key cloud software solution
-
01-15-2010, 03:10 PM #35Aspiring Evangelist
- Join Date
- Nov 2003
- Posts
- 350
We have installed LiteSpeed Web Server 4.1RC2 with 8-CPU license. Access log is disable. remount "/" partition with "noatime". .htaccess is disabled.
Here below is the "ab" result from localhost.
One ab client, non-keepalive: 5878.81 req/s
Code:[root@centos-magic logs]# ab -n 100000 -c 100 http://localhost:8088/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: 8088 Document Path: /test.html Document Length: 101 bytes Concurrency Level: 100 Time taken for tests: 17.10258 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 33700000 bytes HTML transferred: 10100000 bytes Requests per second: 5878.81 [#/sec] (mean) Time per request: 17.010 [ms] (mean) Time per request: 0.170 [ms] (mean, across all concurrent requests) Transfer rate: 1934.71 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 7 4.6 7 23 Processing: 4 9 1.3 9 25 Waiting: 0 3 2.6 4 16 Total: 4 16 4.8 16 33 Percentage of the requests served within a certain time (ms) 50% 16 66% 19 75% 20 80% 21 90% 23 95% 24 98% 25 99% 25 100% 33 (longest request)
Code:top - 12:11:44 up 2 days, 11:33, 3 users, load average: 0.75, 2.39, 2.51 Tasks: 148 total, 6 running, 142 sleeping, 0 stopped, 0 zombie Cpu(s): 1.9%us, 9.1%sy, 0.0%ni, 84.3%id, 0.0%wa, 0.0%hi, 4.4%si, 0.3%st Mem: 18874368k total, 4817460k used, 14056908k free, 3217000k buffers Swap: 1081336k total, 0k used, 1081336k free, 924480k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 30717 root 25 0 74780 5088 2236 R 81.8 0.0 0:05.31 ab 29689 nobody 0 -19 33540 7380 380 S 16.0 0.0 2:18.14 lshttpd 29688 nobody 0 -19 32352 5536 376 R 10.6 0.0 1:58.53 lshttpd 29687 nobody 0 -19 32352 4988 376 R 4.7 0.0 1:44.14 lshttpd 29686 nobody 0 -19 32352 5880 376 S 4.3 0.0 1:33.85 lshttpd 29683 nobody 0 -19 32352 5652 376 S 2.0 0.0 1:15.17 lshttpd 29685 nobody 0 -19 32352 5420 376 S 2.0 0.0 1:27.62 lshttpd 29684 nobody 0 -19 33144 7032 380 S 1.3 0.0 1:19.69 lshttpd 29682 nobody 0 -19 32352 4772 376 R 1.0 0.0 1:11.81 lshttpd 29697 root 15 0 12740 1132 816 R 0.3 0.0 0:00.95 top 1 root 15 0 10348 644 548 S 0.0 0.0 0:00.20 init 2 root RT -5 0 0 0 S 0.0 0.0 0:00.45 migration/0 3 root 34 19 0 0 0 R 0.0 0.0 0:00.09 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.03 events/0
two ab client, non-keepalive: 4593.42 + 4561.92 = 9155.34 req/s
Code:[root@centos-magic logs]# ab -n 100000 -c 100 http://localhost:8088/test.html & ab -n 100000 -c 100 http://localhost:8088/test.html & [1] 30643 [2] 30644 [root@centos-magic logs]# 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 20000 requests Completed 20000 requests Completed 30000 requests Completed 30000 requests Completed 40000 requests Completed 40000 requests Completed 50000 requests Completed 50000 requests Completed 60000 requests Completed 60000 requests Completed 70000 requests Completed 70000 requests Completed 80000 requests Completed 80000 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: 21.770253 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 33728645 bytes HTML transferred: 10108585 bytes Requests per second: 4593.42 [#/sec] (mean) Time per request: 21.770 [ms] (mean) Time per request: 0.218 [ms] (mean, across all concurrent requests) Transfer rate: 1512.98 [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: 21.920573 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 33724938 bytes HTML transferred: 10107474 bytes Requests per second: 4561.92 [#/sec] (mean) Time per request: 21.921 [ms] (mean) Time per request: 0.219 [ms] (mean, across all concurrent requests) Transfer rate: 1502.42 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 7 5.9 8 28 Processing: 7 13 3.1 13 32 Waiting: 0 5 3.7 5 29 Total: 7 21 6.1 21 47 Percentage of the requests served within a certain time (ms) 50% 21 66% 24 75% 26 80% 27 90% 29 95% 31 98% 33 99% 35 100% 47 (longest request) Connection Times (ms) min mean[+/-sd] median max Connect: 0 6 5.2 5 24 Processing: 6 15 3.5 14 32 Waiting: 0 6 3.9 6 24 Total: 6 21 5.2 21 45 Percentage of the requests served within a certain time (ms) 50% 21 66% 23 75% 25 80% 26 90% 28 95% 30 98% 32 99% 34 100% 45 (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 [root@centos-magic logs]#
Code:top - 12:09:47 up 2 days, 11:31, 3 users, load average: 1.08, 3.08, 2.71 Tasks: 149 total, 5 running, 144 sleeping, 0 stopped, 0 zombie Cpu(s): 3.9%us, 15.9%sy, 0.0%ni, 72.2%id, 0.0%wa, 0.0%hi, 7.5%si, 0.4%st Mem: 18874368k total, 4821616k used, 14052752k free, 3216996k buffers Swap: 1081336k total, 0k used, 1081336k free, 924480k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 30643 root 21 0 74780 4924 2236 R 74.3 0.0 0:05.23 ab 30644 root 19 0 74780 4928 2236 R 71.3 0.0 0:05.03 ab 29689 nobody 0 -19 33540 7380 380 R 25.9 0.0 2:13.31 lshttpd 29688 nobody 0 -19 32352 5536 376 S 18.2 0.0 1:55.23 lshttpd 29687 nobody 0 -19 32352 4988 376 S 12.9 0.0 1:41.65 lshttpd 29686 nobody 0 -19 32352 5880 376 S 7.6 0.0 1:32.45 lshttpd 29684 nobody 0 -19 33144 7032 380 S 6.3 0.0 1:19.05 lshttpd 29685 nobody 0 -19 32352 5420 376 S 4.3 0.0 1:26.66 lshttpd 29682 nobody 0 -19 32352 4772 376 S 3.3 0.0 1:11.19 lshttpd 29683 nobody 0 -19 32352 5652 376 S 2.7 0.0 1:14.51 lshttpd 14 root RT -5 0 0 0 S 0.3 0.0 0:00.21 migration/1 1 root 15 0 10348 644 548 S 0.0 0.0 0:00.20 init 2 root RT -5 0 0 0 S 0.0 0.0 0:00.45 migration/0 3 root 34 19 0 0 0 S 0.0 0.0 0:00.09 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.03 events/0
Code:[root@centos-magic logs]# 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] 30330 [2] 30331 [3] 30332 [4] 30333 [root@centos-magic logs]# 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 20000 requests Completed 20000 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 50000 requests Completed 50000 requests Completed 50000 requests Completed 50000 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 80000 requests Completed 80000 requests Completed 80000 requests Completed 80000 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: 27.264889 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 33710784 bytes HTML transferred: 10103232 bytes Requests per second: 3667.72 [#/sec] (mean) Time per request: 27.265 [ms] (mean) Time per request: 0.273 [ms] (mean, across all concurrent requests) Transfer rate: 1207.41 [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: 27.412858 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 33706066 bytes HTML transferred: 10101818 bytes Requests per second: 3647.92 [#/sec] (mean) Time per request: 27.413 [ms] (mean) Time per request: 0.274 [ms] (mean, across all concurrent requests) Transfer rate: 1200.75 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 5 5.2 4 40 Processing: 2 21 5.7 21 49 Waiting: 0 9 4.6 9 38 Total: 4 26 7.6 27 63 Percentage of the requests served within a certain time (ms) 50% 27 66% 29 75% 31 80% 33 90% 36 95% 40 98% 44 99% 46 100% 63 (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: 27.548713 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 33702359 bytes HTML transferred: 10100707 bytes Requests per second: 3629.93 [#/sec] (mean) Time per request: 27.549 [ms] (mean) Time per request: 0.275 [ms] (mean, across all concurrent requests) Transfer rate: 1194.68 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 4 4.5 4 33 Processing: 3 21 5.5 22 58 Waiting: 0 10 4.4 10 36 Total: 5 26 7.1 27 76 Percentage of the requests served within a certain time (ms) 50% 27 66% 29 75% 31 80% 32 90% 36 95% 39 98% 42 99% 45 100% 76 (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: 27.609149 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 33700337 bytes HTML transferred: 10100101 bytes Requests per second: 3621.99 [#/sec] (mean) Time per request: 27.609 [ms] (mean) Time per request: 0.276 [ms] (mean, across all concurrent requests) Transfer rate: 1192.00 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 4 3.9 4 29 Processing: 2 22 5.2 22 54 Waiting: 0 10 4.0 10 33 Total: 3 26 6.7 27 65 Percentage of the requests served within a certain time (ms) 50% 27 66% 29 75% 31 80% 32 90% 35 95% 38 98% 41 99% 44 100% 65 (longest request) Connection Times (ms) min mean[+/-sd] median max Connect: 0 5 5.0 4 41 Processing: 5 21 5.5 21 52 Waiting: 0 9 5.4 9 42 Total: 5 27 7.3 27 65 Percentage of the requests served within a certain time (ms) 50% 27 66% 30 75% 32 80% 33 90% 36 95% 39 98% 43 99% 46 100% 65 (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
Code:top - 12:01:52 up 2 days, 11:23, 3 users, load average: 3.54, 2.68, 2.25 Tasks: 151 total, 8 running, 143 sleeping, 0 stopped, 0 zombie Cpu(s): 7.4%us, 30.1%sy, 0.0%ni, 45.6%id, 0.0%wa, 0.0%hi, 16.4%si, 0.6%st Mem: 18874368k total, 4832544k used, 14041824k free, 3216988k buffers Swap: 1081336k total, 0k used, 1081336k free, 924476k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 30332 root 25 0 75668 5512 2236 R 63.7 0.0 0:08.88 ab 30333 root 18 0 74780 5600 2236 R 61.7 0.0 0:08.64 ab 30330 root 25 0 74780 5612 2236 R 60.7 0.0 0:08.60 ab 30331 root 19 0 75668 5476 2236 R 59.7 0.0 0:08.58 ab 29689 nobody 0 -19 33540 7380 380 S 34.8 0.0 1:32.21 lshttpd 29688 nobody 0 -19 32352 5536 376 S 34.2 0.0 1:16.17 lshttpd 29687 nobody 0 -19 32352 4988 376 S 29.5 0.0 1:05.21 lshttpd 29685 nobody 0 -19 32352 5420 376 S 19.9 0.0 0:55.55 lshttpd 29686 nobody 0 -19 32352 5880 376 R 19.9 0.0 0:58.51 lshttpd 29683 nobody 0 -19 32352 5652 376 S 13.3 0.0 0:46.33 lshttpd 29684 nobody 0 -19 33144 7032 380 S 12.6 0.0 0:49.61 lshttpd 29682 nobody 0 -19 32352 4772 376 S 11.0 0.0 0:43.62 lshttpd 1 root 15 0 10348 644 548 S 0.0 0.0 0:00.20 init 2 root RT -5 0 0 0 S 0.0 0.0 0:00.44 migration/0 3 root 34 19 0 0 0 S 0.0 0.0 0:00.09 ksoftirqd/0
Code:[root@centos-magic logs]# 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] 30533 [2] 30534 [3] 30535 [4] 30536 [5] 30537 [6] 30538 [7] 30539 [8] 30540 [root@centos-magic logs]# 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/ 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 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright 2006 The Apache Software Foundation, http://www.apache.org/ Copyright 2006 The Apache Software Foundation, http://www.apache.org/ Copyright 2006 The Apache Software Foundation, http://www.apache.org/ Benchmarking localhost (be patient) 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) 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: 32.627812 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 33700337 bytes HTML transferred: 10100101 bytes Requests per second: 3064.87 [#/sec] (mean) Time per request: 32.628 [ms] (mean) Time per request: 0.326 [ms] (mean, across all concurrent requests) Transfer rate: 1008.65 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 5 49.6 4 3023 Processing: 7 26 12.8 25 1439 Waiting: 0 11 11.8 11 1424 Total: 9 31 51.2 30 3048 Percentage of the requests served within a certain time (ms) 50% 30 66% 32 75% 34 80% 35 90% 39 95% 43 98% 51 99% 63 100% 3048 (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: 33.199996 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 33707751 bytes HTML transferred: 10102323 bytes Requests per second: 3012.05 [#/sec] (mean) Time per request: 33.200 [ms] (mean) Time per request: 0.332 [ms] (mean, across all concurrent requests) Transfer rate: 991.48 [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: 33.466603 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 33709099 bytes HTML transferred: 10102727 bytes Requests per second: 2988.05 [#/sec] (mean) Time per request: 33.467 [ms] (mean) Time per request: 0.335 [ms] (mean, across all concurrent requests) Transfer rate: 983.64 [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: 33.530862 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 33708088 bytes HTML transferred: 10102424 bytes Requests per second: 2982.33 [#/sec] (mean) Time per request: 33.531 [ms] (mean) Time per request: 0.335 [ms] (mean, across all concurrent requests) Transfer rate: 981.72 [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: 33.496417 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 33706066 bytes HTML transferred: 10101818 bytes Requests per second: 2985.39 [#/sec] (mean) Time per request: 33.496 [ms] (mean) Time per request: 0.335 [ms] (mean, across all concurrent requests) Transfer rate: 982.67 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 5 46.7 4 3011 Processing: 2 26 15.6 26 1712 Waiting: 0 11 14.7 11 1698 Total: 2 32 49.3 30 3056 Percentage of the requests served within a certain time (ms) 50% 30 66% 33 75% 35 80% 36 90% 40 95% 43 98% 51 99% 61 100% 3056 (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: 33.645137 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 33701011 bytes HTML transferred: 10100303 bytes Requests per second: 2972.20 [#/sec] (mean) Time per request: 33.645 [ms] (mean) Time per request: 0.336 [ms] (mean, across all concurrent requests) Transfer rate: 978.18 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 6 54.0 4 3019 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: 33.666841 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 33711795 bytes HTML transferred: 10103535 bytes Requests per second: 2970.28 [#/sec] (mean) Time per request: 33.667 [ms] (mean) Time per request: 0.337 [ms] (mean, across all concurrent requests) Transfer rate: 977.85 [Kbytes/sec] received Processing: 7 26 14.3 26 1538 Waiting: 0 11 13.3 11 1517 Total: 8 32 55.9 31 3051 Percentage of the requests served within a certain time (ms) 50% 31 66% 33 75% 35 80% 36 90% 40 95% 44 98% 53 99% 67 100% 3051 (longest request) Connection Times (ms) min mean[+/-sd] median max Connect: 0 6 53.1 4 3032 Processing: 4 26 14.1 25 967 Waiting: 0 11 13.0 11 947 Total: 4 32 55.0 30 3059 Percentage of the requests served within a certain time (ms) 50% 30 66% 33 75% 35 80% 37 90% 41 95% 46 98% 58 99% 72 100% 3059 (longest request) Connection Times (ms) min mean[+/-sd] median max Connect: 0 5 43.7 4 3025 Processing: 2 27 16.4 26 1623 Waiting: 0 12 15.6 12 1609 Total: 2 32 46.8 31 3067 Percentage of the requests served within a certain time (ms) 50% 31 66% 33 75% 35 80% 37 90% 41 95% 45 98% 52 99% 62 100% 3067 (longest request) Connection Times (ms) min mean[+/-sd] median max Connect: 0 5 24.0 4 3057 Processing: 3 27 15.0 26 1169 Waiting: 0 12 13.8 11 1160 Total: 5 32 28.3 31 3091 Percentage of the requests served within a certain time (ms) 50% 31 66% 34 75% 36 80% 37 90% 41 95% 45 98% 57 99% 73 100% 3091 (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: 33.811893 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 33705392 bytes HTML transferred: 10101616 bytes Requests per second: 2957.54 [#/sec] (mean) Time per request: 33.812 [ms] (mean) Time per request: 0.338 [ms] (mean, across all concurrent requests) Transfer rate: 973.47 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 5 52.2 4 3053 Processing: 6 27 12.8 26 1174 Waiting: 0 12 12.1 11 1147 Total: 7 33 53.8 31 3085 Percentage of the requests served within a certain time (ms) 50% 31 66% 34 75% 35 80% 37 90% 41 95% 44 98% 51 99% 58 100% 3085 (longest request) Connection Times (ms) min mean[+/-sd] median max Connect: 0 5 47.2 4 3020 Processing: 5 27 21.5 25 1018 Waiting: 0 12 14.3 11 1003 Total: 5 32 52.1 30 3050 Percentage of the requests served within a certain time (ms) 50% 30 66% 33 75% 34 80% 36 90% 40 95% 44 98% 52 99% 63 100% 3050 (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 logs]#
Code:top - 12:04:58 up 2 days, 11:26, 3 users, load average: 3.60, 2.36, 2.18 Tasks: 155 total, 19 running, 136 sleeping, 0 stopped, 0 zombie Cpu(s): 13.2%us, 54.4%sy, 0.0%ni, 3.2%id, 0.0%wa, 0.0%hi, 29.2%si, 0.0%st Mem: 18874368k total, 4844332k used, 14030036k free, 3216988k buffers Swap: 1081336k total, 0k used, 1081336k free, 924480k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 30452 root 18 0 74780 4696 2236 R 57.9 0.0 0:04.95 ab 30453 root 18 0 74780 4708 2236 R 54.9 0.0 0:04.69 ab 30451 root 19 0 74780 4740 2236 R 54.3 0.0 0:04.94 ab 30458 root 25 0 74780 4696 2236 R 53.3 0.0 0:04.74 ab 29688 nobody 0 -19 32352 5536 376 D 53.0 0.0 1:24.76 lshttpd 30457 root 20 0 74780 4680 2236 R 52.3 0.0 0:04.69 ab 30455 root 19 0 74780 4700 2236 R 52.0 0.0 0:04.73 ab 30456 root 21 0 75668 4548 2236 R 51.6 0.0 0:04.71 ab 30454 root 25 0 75668 4580 2236 R 50.6 0.0 0:04.79 ab 29689 nobody 0 -19 33540 7380 380 D 49.0 0.0 1:41.21 lshttpd 29687 nobody 0 -19 32352 4988 376 R 48.3 0.0 1:12.92 lshttpd 29686 nobody 0 -19 32352 5880 376 D 44.7 0.0 1:05.68 lshttpd 29685 nobody 0 -19 32352 5420 376 S 43.7 0.0 1:01.98 lshttpd 29684 nobody 0 -19 33144 7032 380 R 40.4 0.0 0:55.37 lshttpd 29683 nobody 0 -19 32352 5652 376 S 36.4 0.0 0:51.61 lshttpd 29682 nobody 0 -19 32352 4772 376 R 35.7 0.0 0:49.05 lshttpd
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-15-2010, 03:36 PM #36Aspiring Evangelist
- Join Date
- Nov 2003
- Posts
- 350
LiteSpeed Keepalive results
One ab client: 25147.30 req/s
Code:[root@centos-magic logs]# ab -n 1000000 -c 100 -k http://localhost:8088/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 100000 requests Completed 200000 requests Completed 300000 requests Completed 400000 requests Completed 500000 requests Completed 600000 requests Completed 700000 requests Completed 800000 requests Completed 900000 requests Finished 1000000 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: 39.765701 seconds Complete requests: 1000000 Failed requests: 0 Write errors: 0 Keep-Alive requests: 999026 Total transferred: 373972190 bytes HTML transferred: 101002222 bytes Requests per second: 25147.30 [#/sec] (mean) Time per request: 3.977 [ms] (mean) Time per request: 0.040 [ms] (mean, across all concurrent requests) Transfer rate: 9183.97 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.1 0 16 Processing: 0 3 2.6 3 14 Waiting: 0 3 2.6 3 14 Total: 0 3 2.6 3 23 Percentage of the requests served within a certain time (ms) 50% 3 66% 4 75% 5 80% 5 90% 7 95% 8 98% 10 99% 11 100% 23 (longest request) [root@centos-magic logs]#
Code:top - 12:15:40 up 2 days, 11:37, 3 users, load average: 1.04, 1.38, 2.05 Tasks: 148 total, 4 running, 144 sleeping, 0 stopped, 0 zombie Cpu(s): 3.8%us, 7.9%sy, 0.0%ni, 85.4%id, 0.0%wa, 0.0%hi, 2.9%si, 0.1%st Mem: 18874368k total, 4823664k used, 14050704k free, 3217004k buffers Swap: 1081336k total, 0k used, 1081336k free, 924480k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 30862 root 25 0 107m 16m 2236 R 72.7 0.1 0:11.44 ab 29689 nobody 0 -19 33540 7380 380 R 27.0 0.0 2:21.43 lshttpd 29688 nobody 0 -19 32352 5536 376 S 7.3 0.0 2:03.50 lshttpd 29686 nobody 0 -19 32352 5880 376 S 6.7 0.0 1:34.56 lshttpd 29685 nobody 0 -19 32352 5420 376 S 2.3 0.0 1:28.40 lshttpd 29687 nobody 0 -19 32352 4988 376 S 2.0 0.0 1:45.69 lshttpd 1 root 15 0 10348 644 548 S 0.0 0.0 0:00.20 init 2 root RT -5 0 0 0 S 0.0 0.0 0:00.45 migration/0 3 root 34 19 0 0 0 S 0.0 0.0 0:00.09 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.03 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
Code:[root@centos-magic logs]# ab -n 1000000 -c 100 -k http://localhost:8088/test.html & ab -n 1000000 -c 100 -k http://localhost:8088/test.html & [1] 30907 [2] 30908 [root@centos-magic logs]# 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 100000 requests Completed 100000 requests Completed 200000 requests Completed 200000 requests Completed 300000 requests Completed 300000 requests Completed 400000 requests Completed 400000 requests Completed 500000 requests Completed 500000 requests Completed 600000 requests Completed 600000 requests Completed 700000 requests Completed 700000 requests Completed 800000 requests Completed 800000 requests Completed 900000 requests Completed 900000 requests Finished 1000000 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: 33.60564 seconds Complete requests: 1000000 Failed requests: 0 Write errors: 0 Keep-Alive requests: 999045 Total transferred: 373967283 bytes HTML transferred: 101000707 bytes Requests per second: 30247.52 [#/sec] (mean) Time per request: 3.306 [ms] (mean) Time per request: 0.033 [ms] (mean, across all concurrent requests) Transfer rate: 11046.46 [Kbytes/sec] received Finished 1000000 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: 33.964725 seconds Complete requests: 1000000 Failed requests: 0 Write errors: 0 Keep-Alive requests: 999046 Total transferred: 373965824 bytes HTML transferred: 101000303 bytes Requests per second: 29442.31 [#/sec] (mean) Time per request: 3.396 [ms] (mean) Time per request: 0.034 [ms] (mean, across all concurrent requests) Transfer rate: 10752.36 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.2 0 26 Processing: 0 2 2.1 3 25 Waiting: 0 2 2.0 3 25 Total: 0 2 2.1 3 30 Percentage of the requests served within a certain time (ms) 50% 3 66% 4 75% 4 80% 5 90% 5 95% 6 98% 6 99% 7 100% 30 (longest request) Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.1 0 16 Processing: 0 2 2.3 3 42 Waiting: 0 2 2.2 3 42 Total: 0 2 2.3 3 42 Percentage of the requests served within a certain time (ms) 50% 3 66% 4 75% 4 80% 5 90% 5 95% 6 98% 7 99% 9 100% 42 (longest request) [1]- Done ab -n 1000000 -c 100 -k http://localhost:8088/test.html [2]+ Done ab -n 1000000 -c 100 -k http://localhost:8088/test.html [root@centos-magic logs]#
Code:top - 12:17:13 up 2 days, 11:38, 3 users, load average: 1.08, 1.28, 1.94 Tasks: 149 total, 4 running, 145 sleeping, 0 stopped, 0 zombie Cpu(s): 10.6%us, 22.2%sy, 0.0%ni, 58.7%id, 0.0%wa, 0.0%hi, 8.2%si, 0.3%st Mem: 18874368k total, 4838480k used, 14035888k free, 3217004k buffers Swap: 1081336k total, 0k used, 1081336k free, 924480k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 30907 root 25 0 107m 16m 2236 R 99.7 0.1 0:11.18 ab 30908 root 25 0 107m 15m 2236 R 99.7 0.1 0:10.50 ab 29689 nobody 0 -19 33540 7380 380 R 58.8 0.0 2:38.97 lshttpd 29688 nobody 0 -19 32352 5536 376 S 50.9 0.0 2:08.05 lshttpd 29687 nobody 0 -19 32352 4988 376 S 13.3 0.0 1:47.78 lshttpd 29686 nobody 0 -19 32352 5880 376 S 0.7 0.0 1:36.61 lshttpd 1 root 15 0 10348 644 548 S 0.0 0.0 0:00.20 init 2 root RT -5 0 0 0 S 0.0 0.0 0:00.45 migration/0 3 root 34 19 0 0 0 S 0.0 0.0 0:00.09 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.03 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
Code:[root@centos-magic logs]# ab -n 1000000 -c 100 -k http://localhost:8088/test.html & ab -n 1000000 -c 100 -k http://localhost:8088/test.html & ab -n 1000000 -c 100 -k http://localhost:8088/test.html & ab -n 1000000 -c 100 -k http://localhost:8088/test.html & [1] 30939 [2] 30940 [3] 30941 [4] 30942 [root@centos-magic logs]# 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 100000 requests Completed 100000 requests Completed 100000 requests Completed 100000 requests Completed 200000 requests Completed 200000 requests Completed 200000 requests Completed 200000 requests Completed 300000 requests Completed 300000 requests Completed 300000 requests Completed 300000 requests Completed 400000 requests Completed 400000 requests Completed 400000 requests Completed 400000 requests Completed 500000 requests Completed 500000 requests Completed 500000 requests Completed 500000 requests Completed 600000 requests Completed 600000 requests Completed 700000 requests Completed 600000 requests Completed 600000 requests Completed 700000 requests Completed 800000 requests Completed 800000 requests Completed 700000 requests Completed 900000 requests Completed 700000 requests Completed 900000 requests Finished 1000000 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: 35.478820 seconds Complete requests: 1000000 Failed requests: 0 Write errors: 0 Keep-Alive requests: 999046 Total transferred: 373971808 bytes HTML transferred: 101001919 bytes Requests per second: 28185.83 [#/sec] (mean) Time per request: 3.548 [ms] (mean) Time per request: 0.035 [ms] (mean, across all concurrent requests) Transfer rate: 10293.63 [Kbytes/sec] received Completed 800000 requests Completed 800000 requests Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.1 0 21 Processing: 0 3 2.5 3 48 Waiting: 0 3 2.5 3 47 Total: 0 3 2.5 3 48 Percentage of the requests served within a certain time (ms) 50% 3 66% 4 75% 4 80% 5 90% 5 95% 6 98% 8 99% 11 100% 48 (longest request) Finished 1000000 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: 37.357267 seconds Complete requests: 1000000 Failed requests: 0 Write errors: 0 Keep-Alive requests: 999041 Total transferred: 373994811 bytes HTML transferred: 101008181 bytes Requests per second: 26768.55 [#/sec] (mean) Time per request: 3.736 [ms] (mean) Time per request: 0.037 [ms] (mean, across all concurrent requests) Transfer rate: 9776.65 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.1 0 21 Processing: 0 3 3.1 3 67 Waiting: 0 3 3.1 3 67 Total: 0 3 3.1 3 67 Percentage of the requests served within a certain time (ms) 50% 3 66% 4 75% 4 80% 5 90% 5 95% 7 98% 11 99% 15 100% 67 (longest request) Completed 900000 requests Completed 900000 requests Finished 1000000 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: 42.516951 seconds Complete requests: 1000000 Failed requests: 0 Write errors: 0 Keep-Alive requests: 999045 Total transferred: 373980747 bytes HTML transferred: 101004343 bytes Requests per second: 23520.03 [#/sec] (mean) Time per request: 4.252 [ms] (mean) Time per request: 0.043 [ms] (mean, across all concurrent requests) Transfer rate: 8589.87 [Kbytes/sec] received Finished 1000000 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: 43.552527 seconds Complete requests: 1000000 Failed requests: 0 Write errors: 0 Keep-Alive requests: 999047 Total transferred: 373990134 bytes HTML transferred: 101006868 bytes Requests per second: 22960.78 [#/sec] (mean) Time per request: 4.355 [ms] (mean) Time per request: 0.044 [ms] (mean, across all concurrent requests) Transfer rate: 8385.83 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.2 0 29 Processing: 0 3 3.8 3 81 Waiting: 0 3 3.8 3 81 Total: 0 3 3.8 3 81 Percentage of the requests served within a certain time (ms) 50% 3 66% 4 75% 5 80% 5 90% 6 95% 8 98% 14 99% 20 100% 81 (longest request) Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.2 0 23 Processing: 0 3 3.8 3 58 Waiting: 0 3 3.8 3 58 Total: 0 3 3.8 3 58 Percentage of the requests served within a certain time (ms) 50% 3 66% 4 75% 5 80% 5 90% 7 95% 9 98% 16 99% 21 100% 58 (longest request) [1] Done ab -n 1000000 -c 100 -k http://localhost:8088/test.html [2] Done ab -n 1000000 -c 100 -k http://localhost:8088/test.html [3]- Done ab -n 1000000 -c 100 -k http://localhost:8088/test.html [4]+ Done ab -n 1000000 -c 100 -k http://localhost:8088/test.html [root@centos-magic logs]#
Code:top - 12:18:35 up 2 days, 11:40, 3 users, load average: 2.99, 1.72, 2.04 Tasks: 151 total, 9 running, 142 sleeping, 0 stopped, 0 zombie Cpu(s): 16.3%us, 38.9%sy, 0.0%ni, 31.5%id, 0.0%wa, 0.0%hi, 13.0%si, 0.3%st Mem: 18874368k total, 4873300k used, 14001068k free, 3217008k buffers Swap: 1081336k total, 0k used, 1081336k free, 924480k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 30939 root 25 0 107m 17m 2236 R 88.1 0.1 0:11.70 ab 30940 root 25 0 107m 15m 2236 R 76.8 0.1 0:10.22 ab 30941 root 25 0 107m 17m 2236 R 72.5 0.1 0:12.12 ab 30942 root 25 0 107m 18m 2236 R 72.1 0.1 0:12.65 ab 29689 nobody 0 -19 33540 7380 380 R 64.5 0.0 2:58.99 lshttpd 29688 nobody 0 -19 32352 5536 376 R 61.2 0.0 2:27.85 lshttpd 29687 nobody 0 -19 32352 4988 376 R 50.2 0.0 1:58.85 lshttpd 29686 nobody 0 -19 32352 5880 376 R 38.9 0.0 1:41.26 lshttpd 29685 nobody 0 -19 32352 5420 376 S 17.6 0.0 1:31.88 lshttpd 29684 nobody 0 -19 33144 7032 380 S 5.7 0.0 1:21.85 lshttpd 29683 nobody 0 -19 32352 5652 376 S 1.3 0.0 1:17.09 lshttpd 29697 root 15 0 12740 1136 820 R 0.7 0.0 0:01.12 top 29682 nobody 0 -19 32352 4772 376 S 0.3 0.0 1:13.23 lshttpd 1 root 15 0 10348 644 548 S 0.0 0.0 0:00.20 init 2 root RT -5 0 0 0 S 0.0 0.0 0:00.45 migration/0 3 root 34 19 0 0 0 S 0.0 0.0 0:00.09 ksoftirqd/0
Code:[root@centos-magic logs]# ab -n 1000000 -c 100 -k http://localhost:8088/test.html & ab -n 1000000 -c 100 -k http://localhost:8088/test.html & ab -n 1000000 -c 100 -k http://localhost:8088/test.html & ab -n 1000000 -c 100 -k http://localhost:8088/test.html & ab -n 1000000 -c 100 -k http://localhost:8088/test.html & ab -n 1000000 -c 100 -k http://localhost:8088/test.html & ab -n 1000000 -c 100 -k http://localhost:8088/test.html & ab -n 1000000 -c 100 -k http://localhost:8088/test.html & [1] 31137 [2] 31138 [3] 31139 [4] 31140 [5] 31141 [6] 31142 [7] 31143 [8] 31144 [root@centos-magic logs]# 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 100000 requests Completed 100000 requests Completed 100000 requests Completed 100000 requests Completed 100000 requests Completed 100000 requests Completed 100000 requests Completed 100000 requests Completed 200000 requests Completed 200000 requests Completed 200000 requests Completed 200000 requests Completed 200000 requests Completed 200000 requests Completed 200000 requests Completed 200000 requests Completed 300000 requests Completed 300000 requests Completed 300000 requests Completed 300000 requests Completed 300000 requests Completed 300000 requests Completed 300000 requests Completed 300000 requests Completed 400000 requests Completed 400000 requests Completed 400000 requests Completed 400000 requests Completed 400000 requests Completed 400000 requests Completed 400000 requests Completed 400000 requests Completed 500000 requests Completed 500000 requests Completed 500000 requests Completed 500000 requests Completed 500000 requests Completed 500000 requests Completed 500000 requests Completed 600000 requests Completed 500000 requests Completed 600000 requests Completed 600000 requests Completed 600000 requests Completed 600000 requests Completed 600000 requests Completed 600000 requests Completed 700000 requests Completed 600000 requests Completed 700000 requests Completed 700000 requests Completed 700000 requests Completed 700000 requests Completed 700000 requests Completed 700000 requests Completed 800000 requests Completed 800000 requests Completed 700000 requests Completed 800000 requests Completed 800000 requests Completed 800000 requests Completed 800000 requests Completed 800000 requests Completed 800000 requests Completed 900000 requests Completed 900000 requests Completed 900000 requests Completed 900000 requests Finished 1000000 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: 65.967115 seconds Complete requests: 1000000 Failed requests: 0 Write errors: 0 Keep-Alive requests: 999050 Total transferred: 373969712 bytes HTML transferred: 101001313 bytes Requests per second: 15159.07 [#/sec] (mean) Time per request: 6.597 [ms] (mean) Time per request: 0.066 [ms] (mean, across all concurrent requests) Transfer rate: 5536.15 [Kbytes/sec] received Completed 900000 requests Finished 1000000 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: 66.872839 seconds Complete requests: 1000000 Failed requests: 0 Write errors: 0 Keep-Alive requests: 999047 Total transferred: 374001017 bytes HTML transferred: 101009797 bytes Requests per second: 14953.75 [#/sec] (mean) Time per request: 6.687 [ms] (mean) Time per request: 0.067 [ms] (mean, across all concurrent requests) Transfer rate: 5461.63 [Kbytes/sec] received Finished 1000000 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: 67.127166 seconds Complete requests: 1000000 Failed requests: 0 Write errors: 0 Keep-Alive requests: 999042 Total transferred: 373965302 bytes HTML transferred: 101000202 bytes Requests per second: 14897.10 [#/sec] (mean) Time per request: 6.713 [ms] (mean) Time per request: 0.067 [ms] (mean, across all concurrent requests) Transfer rate: 5440.42 [Kbytes/sec] received Completed 900000 requests Completed 900000 requests Finished 1000000 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: 67.976235 seconds Complete requests: 1000000 Failed requests: 0 Write errors: 0 Keep-Alive requests: 999047 Total transferred: 373969601 bytes HTML transferred: 101001313 bytes Requests per second: 14711.02 [#/sec] (mean) Time per request: 6.798 [ms] (mean) Time per request: 0.068 [ms] (mean, across all concurrent requests) Transfer rate: 5372.52 [Kbytes/sec] received Completed 900000 requests Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.3 0 131 Processing: 0 6 14.2 3 309 Waiting: 0 6 14.1 3 309 Total: 0 6 14.2 3 309 Percentage of the requests served within a certain time (ms) 50% 3 66% 5 75% 5 80% 6 90% 9 95% 17 98% 42 99% 75 100% 309 (longest request) Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.4 0 164 Processing: 0 6 15.8 3 473 Waiting: 0 6 15.8 3 473 Total: 0 6 15.8 3 473 Percentage of the requests served within a certain time (ms) 50% 3 66% 5 75% 5 80% 6 90% 9 95% 17 98% 43 99% 76 100% 473 (longest request) Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.3 0 183 Processing: 0 6 15.1 4 318 Waiting: 0 6 15.1 3 318 Total: 0 6 15.1 4 318 Percentage of the requests served within a certain time (ms) 50% 4 66% 5 75% 5 80% 6 90% 9 95% 17 98% 43 99% 73 100% 318 (longest request) Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.3 0 140 Processing: 0 6 15.4 3 462 Waiting: 0 6 15.3 3 462 Total: 0 6 15.4 3 462 Percentage of the requests served within a certain time (ms) 50% 3 66% 5 75% 5 80% 6 90% 10 95% 19 98% 42 99% 75 100% 462 (longest request) Finished 1000000 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: 70.602065 seconds Complete requests: 1000000 Failed requests: 0 Write errors: 0 Keep-Alive requests: 999042 Total transferred: 373966798 bytes HTML transferred: 101000606 bytes Requests per second: 14163.89 [#/sec] (mean) Time per request: 7.060 [ms] (mean) Time per request: 0.071 [ms] (mean, across all concurrent requests) Transfer rate: 5172.67 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.3 0 145 Processing: 0 6 17.8 3 486 Waiting: 0 6 17.8 3 485 Total: 0 6 17.8 3 486 Percentage of the requests served within a certain time (ms) 50% 3 66% 5 75% 5 80% 6 90% 10 95% 19 98% 48 99% 85 100% 486 (longest request) Finished 1000000 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: 72.919358 seconds Complete requests: 1000000 Failed requests: 0 Write errors: 0 Keep-Alive requests: 999049 Total transferred: 373996903 bytes HTML transferred: 101008686 bytes Requests per second: 13713.78 [#/sec] (mean) Time per request: 7.292 [ms] (mean) Time per request: 0.073 [ms] (mean, across all concurrent requests) Transfer rate: 5008.70 [Kbytes/sec] received Finished 1000000 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: 73.258588 seconds Complete requests: 1000000 Failed requests: 0 Write errors: 0 Keep-Alive requests: 999044 Total transferred: 373968742 bytes HTML transferred: 101001111 bytes Requests per second: 13650.28 [#/sec] (mean) Time per request: 7.326 [ms] (mean) Time per request: 0.073 [ms] (mean, across all concurrent requests) Transfer rate: 4985.12 [Kbytes/sec] received Finished 1000000 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: 74.138012 seconds Complete requests: 1000000 Failed requests: 0 Write errors: 0 Keep-Alive requests: 999039 Total transferred: 373968557 bytes HTML transferred: 101001111 bytes Requests per second: 13488.36 [#/sec] (mean) Time per request: 7.414 [ms] (mean) Time per request: 0.074 [ms] (mean, across all concurrent requests) Transfer rate: 4925.99 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.3 0 100 Processing: 0 6 15.2 4 488 Waiting: 0 6 15.1 4 488 Total: 0 6 15.2 4 488 Percentage of the requests served within a certain time (ms) 50% 4 66% 5 75% 6 80% 7 90% 11 95% 21 98% 48 99% 76 100% 488 (longest request) Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.3 0 118 Processing: 0 6 16.1 4 437 Waiting: 0 6 16.0 4 437 Total: 0 6 16.1 4 437 Percentage of the requests served within a certain time (ms) 50% 4 66% 5 75% 6 80% 7 90% 10 95% 21 98% 50 99% 82 100% 437 (longest request) Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.4 0 237 Processing: 0 6 16.3 4 306 Waiting: 0 6 16.3 4 306 Total: 0 6 16.3 4 306 Percentage of the requests served within a certain time (ms) 50% 4 66% 5 75% 6 80% 7 90% 11 95% 21 98% 49 99% 87 100% 306 (longest request) [1] Done ab -n 1000000 -c 100 -k http://localhost:8088/test.html [2] Done ab -n 1000000 -c 100 -k http://localhost:8088/test.html [3] Done ab -n 1000000 -c 100 -k http://localhost:8088/test.html [4] Done ab -n 1000000 -c 100 -k http://localhost:8088/test.html [5] Done ab -n 1000000 -c 100 -k http://localhost:8088/test.html [6] Done ab -n 1000000 -c 100 -k http://localhost:8088/test.html [7]- Done ab -n 1000000 -c 100 -k http://localhost:8088/test.html [8]+ Done ab -n 1000000 -c 100 -k http://localhost:8088/test.html [root@centos-magic logs]#
Code:top - 12:23:51 up 2 days, 11:45, 3 users, load average: 6.65, 3.86, 2.83 Tasks: 155 total, 15 running, 140 sleeping, 0 stopped, 0 zombie Cpu(s): 19.8%us, 50.5%sy, 0.0%ni, 12.9%id, 0.0%wa, 0.0%hi, 16.7%si, 0.1%st Mem: 18874368k total, 5007844k used, 13866524k free, 3217020k buffers Swap: 1081336k total, 0k used, 1081336k free, 924480k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 29687 nobody 0 -19 32352 5196 376 R 69.5 0.0 3:26.90 lshttpd 29688 nobody 0 -19 32352 5536 376 R 68.8 0.0 4:00.25 lshttpd 29689 nobody 0 -19 33540 7380 380 R 67.5 0.0 4:35.00 lshttpd 31143 root 25 0 107m 25m 2236 R 65.5 0.1 0:19.31 ab 31144 root 25 0 107m 27m 2236 R 63.2 0.1 0:20.43 ab 29686 nobody 0 -19 32352 5880 376 R 59.2 0.0 2:54.67 lshttpd 31138 root 25 0 107m 25m 2236 R 51.9 0.1 0:18.75 ab 31140 root 25 0 107m 25m 2236 R 50.5 0.1 0:18.52 ab 29685 nobody 0 -19 32352 5420 376 S 48.2 0.0 2:16.18 lshttpd 31141 root 25 0 107m 25m 2236 R 43.9 0.1 0:19.42 ab 31142 root 25 0 107m 23m 2236 R 33.9 0.1 0:16.51 ab 31137 root 25 0 107m 25m 2236 R 26.3 0.1 0:19.07 ab 31139 root 25 0 107m 24m 2236 R 25.9 0.1 0:17.92 ab 29684 nobody 0 -19 33144 7032 380 R 18.0 0.0 1:45.25 lshttpd 29683 nobody 0 -19 32352 5652 376 S 5.7 0.0 1:26.08 lshttpd 29682 nobody 0 -19 32352 4772 376 S 1.3 0.0 1:18.86 lshttpd
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-15-2010, 03:43 PM #37Web Hosting Master
- Join Date
- Mar 2009
- Location
- CA
- Posts
- 9,350
〓〓 RackNerd LLC - Introducing Infrastructure Stability
〓〓 Dedicated Servers, Private Cloud, DRaaS, Colocation, VPS, DDoS Mitigation, Shared & Reseller Hosting
〓〓 www.linkedin.com/in/dustincisneros/
〓〓 My fancy email dustin@racknerd.com
-
01-15-2010, 03:49 PM #38Uptime Aficionado
- Join Date
- Mar 2009
- Location
- /usr/bin/perl
- Posts
- 971
Why didn't you push it harder than that? A load of 8 would be a theoretical 100% cpu load in this configuration -- and obviously it could go a lot higher.
Last edited by e-Sensibility; 01-15-2010 at 03:55 PM.
Ask me about CloudCentrum (coming soon) -- The complete, turn-key cloud software solution
-
01-15-2010, 04:10 PM #39Web Hosting Master
- Join Date
- Feb 2005
- Posts
- 1,358
When doing these tests you are taking a free product and putting it up against a $100/m product (8 core license). So my question is wouldn't it be more cost effective just to upgrade your hardware instead of adding the monthly expense? $100/m is a lot of money and could take you from a 8 core server to a 16 core server (roughly $600 one time expense) and would make a huge difference.
Eleven2 Web Hosting - World-Wide Hosting, Done Right!
-
01-15-2010, 04:16 PM #40Web Hosting Master
- Join Date
- Nov 2005
- Posts
- 3,944
Yes agreed on that, but a 16-core server would also consume more power. I think alternative web servers are a good approach to going greener with hosting and using less power to reach the same goals. I have used nginx in the past and it worked great, never used Litespeed but it does look like a good solution with how it works. Nginx is a pain with modules/dynamic hosting.
-
01-15-2010, 04:17 PM #41Uptime Aficionado
- Join Date
- Mar 2009
- Location
- /usr/bin/perl
- Posts
- 971
-
01-15-2010, 04:53 PM #42Aspiring Evangelist
- Join Date
- Nov 2003
- Posts
- 350
LiteSpeed PHP benchmark results
I have compiled PHP 5.3.1 with LiteSpeed SAPI 5.1, the result is as following:
one ab client: 4805.54 req/s
Code:[root@centos-magic logs]# ab -n 100000 -c 100 http://localhost:8088/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: LiteSpeed Server Hostname: localhost Server Port: 8088 Document Path: /hello.php Document Length: 12 bytes Concurrency Level: 100 Time taken for tests: 20.809298 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 17600704 bytes HTML transferred: 1200048 bytes Requests per second: 4805.54 [#/sec] (mean) Time per request: 20.809 [ms] (mean) Time per request: 0.208 [ms] (mean, across all concurrent requests) Transfer rate: 825.98 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 2 2.3 3 21 Processing: 3 17 5.0 17 225 Waiting: 0 8 4.5 8 212 Total: 4 20 5.6 19 240 Percentage of the requests served within a certain time (ms) 50% 19 66% 21 75% 23 80% 24 90% 26 95% 28 98% 30 99% 32 100% 240 (longest request) [root@centos-magic logs]#
top output:
Code:top - 14:29:53 up 2 days, 13:51, 3 users, load average: 1.98, 0.88, 0.93 Tasks: 225 total, 15 running, 210 sleeping, 0 stopped, 0 zombie Cpu(s): 5.8%us, 11.4%sy, 0.0%ni, 77.7%id, 0.0%wa, 0.0%hi, 4.5%si, 0.7%st Mem: 18874368k total, 4879900k used, 13994468k free, 3217116k buffers Swap: 1081336k total, 0k used, 1081336k free, 926836k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 10570 root 25 0 75668 7104 2236 R 69.4 0.0 0:14.17 ab 29688 nobody 0 -19 32564 6344 428 S 12.9 0.0 6:48.15 lshttpd 29687 nobody 0 -19 32432 5628 424 R 11.3 0.0 5:43.55 lshttpd 29689 nobody 0 -19 34016 7888 420 S 10.3 0.0 7:42.32 lshttpd 29686 nobody 0 -19 32564 6376 428 R 6.0 0.0 4:36.27 lshttpd 29685 nobody 0 -19 32564 6388 428 S 3.7 0.0 3:29.01 lshttpd 10851 nobody 15 0 40432 3328 1184 S 2.0 0.0 0:00.06 lsphp5 10860 nobody 16 0 40432 3328 1184 R 2.0 0.0 0:00.06 lsphp5 10847 nobody 15 0 40432 3324 1184 R 1.7 0.0 0:00.05 lsphp5 10839 nobody 16 0 40432 3328 1184 S 1.3 0.0 0:00.04 lsphp5 10848 nobody 15 0 40432 3328 1184 S 1.3 0.0 0:00.04 lsphp5 10854 nobody 16 0 40432 3328 1184 R 1.3 0.0 0:00.04 lsphp5 10864 nobody 15 0 40432 3324 1184 S 1.3 0.0 0:00.04 lsphp5 29684 nobody 0 -19 33884 7752 428 S 1.3 0.0 2:36.98 lshttpd 10837 nobody 15 0 40432 3328 1184 S 1.0 0.0 0:00.03 lsphp5 10855 nobody 15 0 40432 3324 1184 S 1.0 0.0 0:00.03 lsphp5 10862 nobody 16 0 40432 3324 1184 S 1.0 0.0 0:00.03 lsphp5 10865 nobody 16 0 40432 3328 1184 R 1.0 0.0 0:00.03 lsphp5 10788 nobody 15 0 40432 3328 1184 S 0.7 0.0 0:00.02 lsphp5 10853 nobody 15 0 40432 3328 1184 S 0.7 0.0 0:00.02 lsphp5 10858 nobody 15 0 40432 3324 1184 S 0.7 0.0 0:00.02 lsphp5 10859 nobody 15 0 40432 3324 1184 S 0.7 0.0 0:00.02 lsphp5 10875 nobody 15 0 40432 3324 1184 S 0.7 0.0 0:00.02 lsphp5
two ab clients: 3685.25 + 3663.14 = 7348.39 req/s
Code:[root@centos-magic logs]# ab -n 100000 -c 100 http://localhost:8088/hello.php & ab -n 100000 -c 100 http://localhost:8088/hello.php & [1] 9917 [2] 9918 [root@centos-magic logs]# 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/ 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) Benchmarking localhost (be patient) Completed 10000 requests Completed 10000 requests Completed 20000 requests Completed 20000 requests Completed 30000 requests Completed 30000 requests Completed 40000 requests Completed 40000 requests Completed 50000 requests Completed 50000 requests Completed 60000 requests Completed 60000 requests Completed 70000 requests Completed 70000 requests Completed 80000 requests Completed 80000 requests Completed 90000 requests Completed 90000 requests Finished 100000 requests Server Software: LiteSpeed Server Hostname: localhost Server Port: 8088 Document Path: /hello.php Document Length: 12 bytes Concurrency Level: 100 Time taken for tests: 27.135233 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 17601232 bytes HTML transferred: 1200084 bytes Requests per second: 3685.25 [#/sec] (mean) Time per request: 27.135 [ms] (mean) Time per request: 0.271 [ms] (mean, across all concurrent requests) Transfer rate: 633.42 [Kbytes/sec] received Finished 100000 requests Server Software: LiteSpeed Server Hostname: localhost Server Port: 8088 Document Path: /hello.php Document Length: 12 bytes Concurrency Level: 100 Time taken for tests: 27.299019 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 17601232 bytes HTML transferred: 1200084 bytes Requests per second: 3663.14 [#/sec] (mean) Time per request: 27.299 [ms] (mean) Time per request: 0.273 [ms] (mean, across all concurrent requests) Transfer rate: 629.62 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 4 3.7 4 36 Processing: 5 22 5.5 22 211 Waiting: 0 10 4.4 10 190 Total: 8 26 6.6 26 213 Percentage of the requests served within a certain time (ms) 50% 26 66% 28 75% 30 80% 32 90% 35 95% 38 98% 42 99% 45 100% 213 (longest request) Connection Times (ms) min mean[+/-sd] median max Connect: 0 4 3.5 4 35 Processing: 5 22 5.4 22 221 Waiting: 0 10 4.2 10 201 Total: 6 26 6.5 26 225 Percentage of the requests served within a certain time (ms) 50% 26 66% 29 75% 30 80% 32 90% 35 95% 38 98% 42 99% 45 100% 225 (longest request) [1]- Done ab -n 100000 -c 100 http://localhost:8088/hello.php [2]+ Done ab -n 100000 -c 100 http://localhost:8088/hello.php [root@centos-magic logs]#
Code:top - 14:22:53 up 2 days, 13:44, 3 users, load average: 2.53, 0.83, 0.96 Tasks: 226 total, 14 running, 212 sleeping, 0 stopped, 0 zombie Cpu(s): 12.0%us, 24.9%sy, 0.0%ni, 54.0%id, 0.0%wa, 0.0%hi, 8.5%si, 0.7%st Mem: 18874368k total, 4885096k used, 13989272k free, 3217104k buffers Swap: 1081336k total, 0k used, 1081336k free, 926720k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 9918 root 25 0 74780 5780 2236 R 62.5 0.0 0:09.13 ab 9917 root 25 0 74780 5772 2236 R 56.5 0.0 0:08.75 ab 29689 nobody 0 -19 34016 7888 420 S 31.1 0.0 7:35.57 lshttpd 29688 nobody 0 -19 32564 6344 428 R 30.4 0.0 6:42.40 lshttpd 29687 nobody 0 -19 32432 5628 424 R 19.2 0.0 5:38.93 lshttpd 29686 nobody 0 -19 32564 6376 428 R 12.9 0.0 4:33.18 lshttpd 29685 nobody 0 -19 32564 6388 428 S 11.2 0.0 3:27.12 lshttpd 29684 nobody 0 -19 33884 7752 428 S 6.3 0.0 2:35.96 lshttpd 29683 nobody 0 -19 32432 6100 424 S 5.3 0.0 2:06.94 lshttpd 29682 nobody 0 -19 32432 5164 424 S 4.3 0.0 1:54.40 lshttpd 10118 nobody 16 0 40432 3324 1184 S 2.6 0.0 0:00.08 lsphp5 10071 nobody 15 0 40432 3324 1184 S 2.3 0.0 0:00.10 lsphp5 10115 nobody 17 0 40432 3324 1184 S 2.3 0.0 0:00.07 lsphp5 10122 nobody 15 0 40432 3324 1184 S 2.0 0.0 0:00.06 lsphp5 10126 nobody 17 0 40432 3324 1184 S 2.0 0.0 0:00.06 lsphp5 10072 nobody 15 0 40432 3328 1184 S 1.7 0.0 0:00.06 lsphp5 9365 nobody 15 0 40432 3324 1184 S 1.3 0.0 0:00.10 lsphp5 10113 nobody 15 0 40432 3324 1184 S 1.3 0.0 0:00.04 lsphp5 10117 nobody 15 0 40432 3324 1184 R 1.3 0.0 0:00.04 lsphp5 10121 nobody 16 0 40432 3324 1184 S 1.3 0.0 0:00.04 lsphp5 10124 nobody 15 0 40432 3324 1184 S 1.3 0.0 0:00.04 lsphp5 10125 nobody 16 0 40432 3324 1184 S 1.3 0.0 0:00.04 lsphp5 10074 nobody 15 0 40432 3328 1184 S 1.0 0.0 0:00.03 lsphp5
Code:[root@centos-magic logs]# ab -n 100000 -c 100 http://localhost:8088/hello.php & ab -n 100000 -c 100 http://localhost:8088/hello.php & ab -n 100000 -c 100 http://localhost:8088/hello.php & ab -n 100000 -c 100 http://localhost:8088/hello.php & [1] 7704 [2] 7705 [3] 7706 [4] 7707 [root@centos-magic logs]# 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 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) 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 30000 requests Completed 30000 requests Completed 30000 requests Completed 30000 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 60000 requests Completed 60000 requests Completed 60000 requests Completed 60000 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 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: /hello.php Document Length: 12 bytes Concurrency Level: 100 Time taken for tests: 37.72382 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 17604224 bytes HTML transferred: 1200288 bytes Requests per second: 2697.43 [#/sec] (mean) Time per request: 37.072 [ms] (mean) Time per request: 0.371 [ms] (mean, across all concurrent requests) Transfer rate: 463.71 [Kbytes/sec] received Finished 100000 requests Server Software: LiteSpeed Server Hostname: localhost Server Port: 8088 Document Path: /hello.php Document Length: 12 bytes Concurrency Level: 100 Time taken for tests: 37.257054 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 17602288 bytes HTML transferred: 1200156 bytes Requests per second: 2684.06 [#/sec] (mean) Time per request: 37.257 [ms] (mean) Time per request: 0.373 [ms] (mean, across all concurrent requests) Transfer rate: 461.36 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 5 5.4 4 65 Processing: 11 30 11.4 28 184 Waiting: 0 14 7.6 13 168 Total: 13 36 13.2 33 194 Percentage of the requests served within a certain time (ms) 50% 33 66% 39 75% 43 80% 45 90% 54 95% 63 98% 74 99% 80 100% 194 (longest request) Connection Times (ms) min mean[+/-sd] median max Connect: 0 5 5.6 4 125 Processing: 11 31 12.2 28 273 Waiting: 0 14 8.2 13 243 Total: 12 36 14.1 33 274 Percentage of the requests served within a certain time (ms) 50% 33 66% 38 75% 42 80% 45 90% 54 95% 63 98% 75 99% 85 100% 274 (longest request) Finished 100000 requests Server Software: LiteSpeed Server Hostname: localhost Server Port: 8088 Document Path: /hello.php Document Length: 12 bytes Concurrency Level: 100 Time taken for tests: 37.984287 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 17604400 bytes HTML transferred: 1200300 bytes Requests per second: 2632.67 [#/sec] (mean) Time per request: 37.984 [ms] (mean) Time per request: 0.380 [ms] (mean, across all concurrent requests) Transfer rate: 452.58 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 5 6.0 5 89 Processing: 7 31 13.2 28 243 Waiting: 0 15 8.4 13 227 Total: 7 37 15.5 34 245 Percentage of the requests served within a certain time (ms) 50% 34 66% 39 75% 43 80% 46 90% 57 95% 67 98% 82 99% 93 100% 245 (longest request) Finished 100000 requests Server Software: LiteSpeed Server Hostname: localhost Server Port: 8088 Document Path: /hello.php Document Length: 12 bytes Concurrency Level: 100 Time taken for tests: 38.377448 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 17605632 bytes HTML transferred: 1200384 bytes Requests per second: 2605.70 [#/sec] (mean) Time per request: 38.377 [ms] (mean) Time per request: 0.384 [ms] (mean, across all concurrent requests) Transfer rate: 448.00 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 5 5.7 5 67 Processing: 2 31 12.9 29 256 Waiting: 0 15 8.3 13 227 Total: 2 37 14.9 34 260 Percentage of the requests served within a certain time (ms) 50% 34 66% 40 75% 44 80% 47 90% 58 95% 68 98% 80 99% 88 100% 260 (longest request) [1] Done ab -n 100000 -c 100 http://localhost:8088/hello.php [2] Done ab -n 100000 -c 100 http://localhost:8088/hello.php [3]- Done ab -n 100000 -c 100 http://localhost:8088/hello.php [4]+ Done ab -n 100000 -c 100 http://localhost:8088/hello.php
Code:top - 14:01:06 up 2 days, 13:22, 3 users, load average: 9.79, 3.83, 2.55 Tasks: 260 total, 29 running, 231 sleeping, 0 stopped, 0 zombie Cpu(s): 20.7%us, 44.4%sy, 0.0%ni, 18.8%id, 0.0%wa, 0.0%hi, 15.9%si, 0.2%st Mem: 18874368k total, 4908256k used, 13966112k free, 3217088k buffers Swap: 1081336k total, 0k used, 1081336k free, 926340k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 29688 nobody 0 -19 32564 6344 428 R 53.0 0.0 6:20.46 lshttpd 7704 root 18 0 74780 5424 2236 R 52.6 0.0 0:08.55 ab 29689 nobody 0 -19 34016 7888 420 R 52.3 0.0 7:10.38 lshttpd 7705 root 18 0 74780 5312 2236 R 51.0 0.0 0:08.00 ab 7707 root 20 0 75668 5296 2236 R 50.6 0.0 0:08.15 ab 29687 nobody 0 -19 32432 5628 424 S 42.0 0.0 5:21.42 lshttpd 7706 root 18 0 74780 5268 2236 R 40.4 0.0 0:07.75 ab 29686 nobody 0 -19 32564 6376 428 R 25.8 0.0 4:20.89 lshttpd 29685 nobody 0 -19 32564 6320 428 D 23.8 0.0 3:18.53 lshttpd 29683 nobody 0 -19 32432 6100 424 S 17.5 0.0 2:01.95 lshttpd 29682 nobody 0 -19 32432 5164 424 S 15.2 0.0 1:50.18 lshttpd 29684 nobody 0 -19 33884 7752 428 S 13.6 0.0 2:29.93 lshttpd 8044 nobody 16 0 40432 3328 1184 S 3.6 0.0 0:00.12 lsphp5 8065 nobody 15 0 40432 3328 1184 S 3.0 0.0 0:00.09 lsphp5 7924 nobody 15 0 40432 3328 1184 S 2.6 0.0 0:00.08 lsphp5 7929 nobody 15 0 40432 3328 1184 S 2.6 0.0 0:00.08 lsphp5 8021 nobody 15 0 40432 3328 1184 S 2.6 0.0 0:00.09 lsphp5 8047 nobody 16 0 40432 3328 1184 R 2.6 0.0 0:00.08 lsphp5 8063 nobody 15 0 40432 3328 1184 R 2.6 0.0 0:00.08 lsphp5 8068 nobody 16 0 40432 3324 1184 S 2.6 0.0 0:00.08 lsphp5 8069 nobody 16 0 40432 3324 1184 R 2.6 0.0 0:00.08 lsphp5 8070 nobody 15 0 40432 3324 1184 S 2.6 0.0 0:00.08 lsphp5 8088 nobody 15 0 40432 3324 1184 S 2.6 0.0 0:00.08 lsphp5 7925 nobody 16 0 40432 3328 1184 S 2.3 0.0 0:00.08 lsphp5 7960 nobody 16 0 40432 3324 1184 S 2.3 0.0 0:00.09 lsphp5
Code:[root@centos-magic logs]# ab -n 100000 -c 100 http://localhost:8088/hello.php & ab -n 100000 -c 100 http://localhost:8088/hello.php & ab -n 100000 -c 100 http://localhost:8088/hello.php & ab -n 100000 -c 100 http://localhost:8088/hello.php & ab -n 100000 -c 100 http://localhost:8088/hello.php & ab -n 100000 -c 100 http://localhost:8088/hello.php & ab -n 100000 -c 100 http://localhost:8088/hello.php & ab -n 100000 -c 100 http://localhost:8088/hello.php & [1] 3273 [2] 3274 [3] 3275 [4] 3276 [5] 3277 [6] 3278 [7] 3279 [8] 3280 [root@centos-magic logs]# 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/ 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 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright 2006 The Apache Software Foundation, http://www.apache.org/ Copyright 2006 The Apache Software Foundation, http://www.apache.org/ Benchmarking localhost (be patient) 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) 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 10000 requests Completed 30000 requests Completed 30000 requests Completed 30000 requests Completed 30000 requests Completed 30000 requests Completed 20000 requests Completed 30000 requests Completed 40000 requests Completed 40000 requests Completed 30000 requests Completed 40000 requests Completed 40000 requests Completed 30000 requests Completed 50000 requests Completed 40000 requests Completed 50000 requests Completed 50000 requests Completed 40000 requests Completed 50000 requests Completed 40000 requests Completed 60000 requests Completed 50000 requests Completed 40000 requests Completed 60000 requests Completed 60000 requests Completed 50000 requests Completed 60000 requests Completed 50000 requests Completed 70000 requests Completed 50000 requests Completed 70000 requests Completed 60000 requests Completed 60000 requests Completed 70000 requests Completed 60000 requests Completed 70000 requests Completed 80000 requests Completed 70000 requests Completed 60000 requests Completed 70000 requests Completed 80000 requests Completed 80000 requests Completed 80000 requests Completed 90000 requests Completed 70000 requests Completed 80000 requests Completed 80000 requests Completed 70000 requests Completed 90000 requests Completed 80000 requests Completed 90000 requests Finished 100000 requests Server Software: LiteSpeed Server Hostname: localhost Server Port: 8088 Document Path: /hello.php Document Length: 12 bytes Concurrency Level: 100 Time taken for tests: 61.281867 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 17601584 bytes HTML transferred: 1200108 bytes Requests per second: 1631.80 [#/sec] (mean) Time per request: 61.282 [ms] (mean) Time per request: 0.613 [ms] (mean, across all concurrent requests) Transfer rate: 280.49 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 9 17.4 6 3070 Processing: 0 51 38.5 41 550 Waiting: 0 24 24.6 18 518 Total: 0 60 43.9 49 3096 Percentage of the requests served within a certain time (ms) 50% 49 66% 61 75% 70 80% 77 90% 101 95% 126 98% 187 99% 257 100% 3096 (longest request) Completed 90000 requests Finished 100000 requests Server Software: LiteSpeed Server Hostname: localhost Server Port: 8088 Document Path: /hello.php Document Length: 12 bytes Concurrency Level: 100 Time taken for tests: 63.89917 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 17601232 bytes HTML transferred: 1200084 bytes Requests per second: 1585.04 [#/sec] (mean) Time per request: 63.090 [ms] (mean) Time per request: 0.631 [ms] (mean, across all concurrent requests) Transfer rate: 272.44 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 9 21.8 6 3015 Processing: 3 53 50.4 40 781 Waiting: 0 25 32.0 18 732 Total: 3 62 56.8 48 3041 Percentage of the requests served within a certain time (ms) 50% 48 66% 60 75% 69 80% 76 90% 100 95% 138 98% 225 99% 282 100% 3041 (longest request) Completed 80000 requests Completed 90000 requests Completed 90000 requests Completed 90000 requests Finished 100000 requests Server Software: LiteSpeed Server Hostname: localhost Server Port: 8088 Document Path: /hello.php Document Length: 12 bytes Concurrency Level: 100 Time taken for tests: 66.392290 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 17605104 bytes HTML transferred: 1200348 bytes Requests per second: 1506.20 [#/sec] (mean) Time per request: 66.392 [ms] (mean) Time per request: 0.664 [ms] (mean, across all concurrent requests) Transfer rate: 258.95 [Kbytes/sec] received Finished 100000 requests Server Software: LiteSpeed Server Hostname: localhost Server Port: 8088 Document Path: /hello.php Document Length: 12 bytes Concurrency Level: 100 Time taken for tests: 67.271117 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 17604048 bytes HTML transferred: 1200276 bytes Requests per second: 1486.52 [#/sec] (mean) Time per request: 67.271 [ms] (mean) Time per request: 0.673 [ms] (mean, across all concurrent requests) Transfer rate: 255.55 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 11 45.8 6 3174 Processing: 10 54 59.6 40 938 Waiting: 0 25 38.1 18 834 Total: 11 65 77.4 49 3244 Percentage of the requests served within a certain time (ms) 50% 49 66% 59 75% 68 80% 75 90% 101 95% 150 98% 271 99% 375 100% 3244 (longest request) Connection Times (ms) min mean[+/-sd] median max Connect: 0 10 26.3 6 3007 Processing: 1 56 57.6 40 650 Waiting: 0 27 38.4 18 539 Total: 1 66 66.0 47 3052 Percentage of the requests served within a certain time (ms) 50% 47 66% 58 75% 68 80% 77 90% 112 95% 182 98% 315 99% 381 100% 3052 (longest request) Finished 100000 requests Server Software: LiteSpeed Server Hostname: localhost Server Port: 8088 Document Path: /hello.php Document Length: 12 bytes Concurrency Level: 100 Time taken for tests: 68.423239 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 17600528 bytes HTML transferred: 1200036 bytes Requests per second: 1461.49 [#/sec] (mean) Time per request: 68.423 [ms] (mean) Time per request: 0.684 [ms] (mean, across all concurrent requests) Transfer rate: 251.20 [Kbytes/sec] received Completed 90000 requests Connection Times (ms) min mean[+/-sd] median max Connect: 0 10 28.5 6 709 Processing: 0 57 69.2 41 1401 Waiting: 0 27 42.8 18 777 Total: 0 67 80.5 48 1429 Percentage of the requests served within a certain time (ms) 50% 48 66% 60 75% 70 80% 78 90% 108 95% 172 98% 294 99% 435 100% 1429 (longest request) Finished 100000 requests Server Software: LiteSpeed Server Hostname: localhost Server Port: 8088 Document Path: /hello.php Document Length: 12 bytes Concurrency Level: 100 Time taken for tests: 68.871251 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 17602816 bytes HTML transferred: 1200192 bytes Requests per second: 1451.98 [#/sec] (mean) Time per request: 68.871 [ms] (mean) Time per request: 0.689 [ms] (mean, across all concurrent requests) Transfer rate: 249.60 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 9 22.1 6 882 Processing: 0 58 74.6 40 1107 Waiting: 0 27 49.4 18 1084 Total: 0 68 80.6 48 1309 Percentage of the requests served within a certain time (ms) 50% 48 66% 59 75% 69 80% 77 90% 107 95% 173 98% 337 99% 440 100% 1309 (longest request) Finished 100000 requests Server Software: LiteSpeed Server Hostname: localhost Server Port: 8088 Document Path: /hello.php Document Length: 12 bytes Concurrency Level: 100 Time taken for tests: 69.514310 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 17604576 bytes HTML transferred: 1200312 bytes Requests per second: 1438.55 [#/sec] (mean) Time per request: 69.514 [ms] (mean) Time per request: 0.695 [ms] (mean, across all concurrent requests) Transfer rate: 247.30 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 11 51.5 6 3028 Processing: 10 57 69.8 39 1263 Waiting: 0 27 46.1 18 1017 Total: 10 68 90.1 47 3070 Percentage of the requests served within a certain time (ms) 50% 47 66% 58 75% 68 80% 76 90% 108 95% 185 98% 324 99% 460 100% 3070 (longest request) Finished 100000 requests Server Software: LiteSpeed Server Hostname: localhost Server Port: 8088 Document Path: /hello.php Document Length: 12 bytes Concurrency Level: 100 Time taken for tests: 70.869146 seconds Complete requests: 100000 Failed requests: 0 Write errors: 0 Total transferred: 17604928 bytes HTML transferred: 1200336 bytes Requests per second: 1411.05 [#/sec] (mean) Time per request: 70.869 [ms] (mean) Time per request: 0.709 [ms] (mean, across all concurrent requests) Transfer rate: 242.59 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 10 28.4 5 705 Processing: 5 59 74.8 39 991 Waiting: 0 28 47.9 17 766 Total: 7 70 82.8 46 999 Percentage of the requests served within a certain time (ms) 50% 46 66% 58 75% 69 80% 78 90% 124 95% 221 98% 379 99% 463 100% 999 (longest request) [1] Done ab -n 100000 -c 100 http://localhost:8088/hello.php [2] Done ab -n 100000 -c 100 http://localhost:8088/hello.php [3] Done ab -n 100000 -c 100 http://localhost:8088/hello.php [4] Done ab -n 100000 -c 100 http://localhost:8088/hello.php [5] Done ab -n 100000 -c 100 http://localhost:8088/hello.php [6] Done ab -n 100000 -c 100 http://localhost:8088/hello.php [7]- Done ab -n 100000 -c 100 http://localhost:8088/hello.php [8]+ Done ab -n 100000 -c 100 http://localhost:8088/hello.php [root@centos-magic logs]#
Code:top - 13:41:44 up 2 days, 13:03, 3 users, load average: 19.70, 7.22, 2.75 Tasks: 298 total, 28 running, 270 sleeping, 0 stopped, 0 zombie Cpu(s): 25.8%us, 53.6%sy, 0.0%ni, 3.2%id, 0.0%wa, 0.0%hi, 17.4%si, 0.0%st Mem: 18874368k total, 4947588k used, 13926780k free, 3217084k buffers Swap: 1081336k total, 0k used, 1081336k free, 925432k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 29689 nobody 0 -19 34016 7856 420 R 62.2 0.0 6:03.99 lshttpd 29688 nobody 0 -19 32564 6344 428 S 53.4 0.0 5:20.94 lshttpd 29687 nobody 0 -19 32432 5604 424 R 50.8 0.0 4:33.61 lshttpd 3273 root 18 0 74780 6124 2236 R 46.2 0.0 0:12.40 ab 3279 root 19 0 75668 6196 2236 R 35.8 0.0 0:13.18 ab 29686 nobody 0 -19 32432 6292 424 S 34.2 0.0 3:46.22 lshttpd 3280 root 18 0 74780 5876 2236 R 33.8 0.0 0:11.25 ab 3276 root 18 0 74780 6440 2236 R 30.6 0.0 0:13.82 ab 3277 root 18 0 74780 6576 2236 R 27.0 0.0 0:14.28 ab 29685 nobody 0 -19 32564 6320 428 S 26.7 0.0 2:52.43 lshttpd 3278 root 25 0 74780 6072 2236 R 25.7 0.0 0:11.86 ab 3275 root 18 0 74780 5744 2236 R 22.5 0.0 0:10.51 ab 29684 nobody 0 -19 33884 7752 428 S 20.8 0.0 2:08.80 lshttpd 29683 nobody 0 -19 32432 6064 424 R 17.2 0.0 1:44.46 lshttpd 29682 nobody 0 -19 32432 5164 424 S 16.6 0.0 1:33.67 lshttpd 3274 root 19 0 74780 6516 2236 R 12.7 0.0 0:14.45 ab 4360 nobody 15 0 40432 3328 1184 S 3.6 0.0 0:00.11 lsphp5 4489 nobody 16 0 40432 3324 1184 S 3.3 0.0 0:00.10 lsphp5 4538 nobody 15 0 40432 3324 1184 S 3.3 0.0 0:00.10 lsphp5 4484 nobody 16 0 40432 3324 1184 S 2.9 0.0 0:00.09 lsphp5 3987 nobody 15 0 40432 3324 1184 S 2.6 0.0 0:00.10 lsphp5 4371 nobody 16 0 40432 3328 1184 S 2.6 0.0 0:00.08 lsphp5 4466 nobody 15 0 40432 3328 1184 S 2.6 0.0 0:00.08 lsphp5 4481 nobody 16 0 40432 3324 1184 S 2.6 0.0 0:00.08 lsphp5 4482 nobody 16 0 40432 3324 1184 S 2.6 0.0 0:00.08 lsphp5 4504 nobody 15 0 40432 3328 1184 S 2.6 0.0 0:00.08 lsphp5
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-15-2010, 04:58 PM #43Web Hosting Master
- Join Date
- Nov 2005
- Posts
- 3,944
What script is that? Is it just
Code:<?php echo("Hello World!"); ?>
-
01-15-2010, 05:05 PM #44Aspiring 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-15-2010, 05:06 PM #45Aspiring 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-15-2010, 05:07 PM #46Temporarily Suspended
- Join Date
- Dec 2009
- Posts
- 122
Test it with the site with a couple of images and see how it goes. 90% of sites today are like this.
-
01-15-2010, 05:07 PM #47Aspiring Evangelist
- Join Date
- Nov 2003
- Posts
- 350
I think I am done with my part for now.
Who's next?!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-15-2010, 05:25 PM #48Web Hosting Evangelist
- Join Date
- May 2009
- Location
- London, United Kingdom
- Posts
- 472
I could do it as soon as e-Sensibility provides the root login as I have only a couple of production servers and I wouldn't want to test it there as it could cause the downtimes for sites which I'm hosting there.
██ 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-15-2010, 05:28 PM #49Uptime Aficionado
- Join Date
- Mar 2009
- Location
- /usr/bin/perl
- Posts
- 971
mistwang -- would you be willing to do it again with separate client/server machines? For now we'll move on to SceneSRV (as soon as I get the second machine setup) . . . but I want to be consistent.
I probably won't get around to setting up the second server until this evening as I have real work to do right nowAsk me about CloudCentrum (coming soon) -- The complete, turn-key cloud software solution
-
01-15-2010, 05:33 PM #50Aspiring 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!
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