Page 1 of 4 1234 LastLast
Results 1 to 40 of 143
  1. #1
    Join Date
    Mar 2009
    Location
    /usr/bin/perl
    Posts
    971

    LiteSpeed Vs Apache Showdown

    It's my opinion that there are few recent, independent benchmarks comparing the performance of LiteSpeed and Apache on modern hardware. For that reason, I've challenged LiteSpeed to compare their product side-by-side with Apache on an 8 core intel Xeon 5520 system. More details on that available in this thread:

    http://www.webhostingtalk.com/showth...=918104&page=3

    But I need the help of the WHT community to decide how best to optimize apache. LiteSpeed will certainly know the in's and out's of their product well enough to portray it in the best possible light. I am by no means the world's foremost Apache expert, so I'm asking those of you who are familiar with it on a low-level, or have contributed to the project -- or are just veteran sysadmins -- to contribute your expertise and help me figure out how to give LiteSpeed a run for its money

    Also open for debate is what benchmarking software should be used. ab is one option that's been brought up, but I'd like to do it with at least two different tools.

    The results of the tests will be posted back in this thread.

    I'm a proponent of open source software, but I have nothing against LiteSpeed -- I'll be very impressed if it really does beat apache hands down like they say it does. May the best webserver win!
    Last edited by e-Sensibility; 01-12-2010 at 02:50 AM.
    Ask me about CloudCentrum (coming soon) -- The complete, turn-key cloud software solution

  2. #2
    Join Date
    Jun 2006
    Location
    NYC
    Posts
    1,446
    I'll state that Apache will sadly lose based on our own internal tests but we're probably not the definition of Apache *experts*.

    We tested with mod_fcgid / PHP 5 / Worker vs LiteSpeed's LSAPI PHP5 FCGI implementation.

    LiteSpeed was faster not by leaps and bounds but was faster. The issue we had was we simply ran Apache out of resources and it croaked =/

    We had much better results when testing LiteSpeed vs nginx - whereas nginx rocked yet still didn't fully beat out LiteSpeed when it come to dynamic content.

    I'll definitely follow this thread, I'm curious to see what you guys come up with.

    I would make sure to make the test valid, be sure to use Apache 2.2 | MPM | PHP 5.3.1
    FiberPeer.Com | | REAL DDoS Protection | Cloud Hosting | VPS | Dedicated Servers | High Bandwidth Hosting | 1Gbps-10Gbps Unmetered
    FiberPeer DDoS Mitigation | ethProxy Upgraded! | 14-Years Experience | Emergency 24/7 Support
    Visit us @ www.fiberpeer.com

  3. #3
    Join Date
    Jan 2010
    Posts
    11
    when test litespeed vs lighttpd?

  4. #4
    Join Date
    Oct 2007
    Posts
    4,009
    Quote Originally Posted by appvzcom View Post
    when test litespeed vs lighttpd?
    Well let's have this one step at a time.
    Aspiration Hosting - Cloud Web Hosting | Managed Cloud Server
    • United States • United Kingdom • Singapore • Australia •

    • Aspiration CDN • LiteMage Cache - Magento • LiteSpeed Cache - WordPress & XenForo •

  5. #5
    Join Date
    May 2009
    Posts
    426
    Hello,

    I could help you by optimizing lighttpd. Drop me a PM when you decide to compare lighttpd with some other web-server.

    Thanks
    Regards
    KnownSRV.com - Fast, Quality and Secure MANAGED VPS with fast SSD drives in h/w RAID10
    Full network and hardware customization possible - let's talk your needs. Optional 500gbps DDoS protection!
    █ PayPal, Credit Cards, Skrill, Payza, PerfectMoney, WebMoney and BitCoins accepted

  6. #6
    Join Date
    Mar 2009
    Location
    /usr/bin/perl
    Posts
    971
    Quote Originally Posted by SceneSRV View Post
    Hello,

    I could help you by optimizing lighttpd. Drop me a PM when you decide to compare lighttpd with some other web-server.

    Thanks
    Regards
    If you're willing to configure it then I don't see what harm could come of testing out lighttpd as well. Or nginx for that matter. But I'm not going to commit myself to doing that much work -- so if you want to see it tested, you have to do the configuration.

    But I'm primarily interested in seeing how apache does -- come on people, let's hear your arcane and effective optimization strategies.
    Ask me about CloudCentrum (coming soon) -- The complete, turn-key cloud software solution

  7. #7
    Join Date
    May 2009
    Posts
    426
    Quote Originally Posted by e-Sensibility View Post
    If you're willing to configure it then I don't see what harm could come of testing out lighttpd as well. Or nginx for that matter. But I'm not going to commit myself to doing that much work -- so if you want to see it tested, you have to do the configuration.

    But I'm primarily interested in seeing how apache does -- come on people, let's hear your arcane and effective optimization strategies.
    Hey,

    I will do it if you could provide a testing server for that purpose. I was using the LSWS web-server 2 years ago and then I switched to Lighttpd and I'm pretty sure I would get better results with Lighttpd than mistwang with LiteSpeed.

    It has to be tested on the same configuration/setup as LiteSpeed and only web-server has to be optimized.

    It would be great if someone could come up with Apache or nginx setup/optimization, I would like to see the newest results and I believe everyone else on the scene would like this.

    Regards
    KnownSRV.com - Fast, Quality and Secure MANAGED VPS with fast SSD drives in h/w RAID10
    Full network and hardware customization possible - let's talk your needs. Optional 500gbps DDoS protection!
    █ PayPal, Credit Cards, Skrill, Payza, PerfectMoney, WebMoney and BitCoins accepted

  8. #8
    I will do it if you could provide a testing server for that purpose. I was using the LSWS web-server 2 years ago and then I switched to Lighttpd and I'm pretty sure I would get better results with Lighttpd than mistwang with LiteSpeed.
    I will certainly take that challenge as well.
    Anyone would like to do it for nginx? Let's show down!

    I prediction will be LiteSpeed >> Nginx >> Lighttpd >> Apache, it is based on our past experience with those products.
    LiteSpeed Web Acceleration Platform by http://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!

  9. #9
    Join Date
    Oct 2008
    Posts
    533
    This is interesting, though I'm curious if anyone has a site/server busy enough for testing. Even then it would piss of a lot of site visitors when the site goes down for swapping webservers except the case of apache -> litespeed.
    Perhaps get a host that is willing to swap their heavily optimized apache + worker on a busy server with litespeed then compare the resource difference?
    Last edited by Scientist; 01-12-2010 at 03:31 PM.

  10. #10
    Also open for debate is what benchmarking software should be used. ab is one option that's been brought up, but I'd like to do it with at least two different tools.
    Following benchmarking tools are in my mind,

    1. ab
    2. httperf
    3. Siege
    4. curl-loader
    5. http_load

    I have experience with ab and httperf, both are single process, single thread, event driven, the performance is good, but I have to run multiple instances and add-up the results to benchmark more than one lshttpd process. in certain situation, one lshttpd process will outperform one "ab" or "httperf" process. Those tools are similar, the result is similar, so only need use one. "ab" is slightly easier to use. so, my vote is on "ab".

    I have no experience with other tools listed, but I have been interested in "Seige" for long time, this tool can be used to simulate real world load by providing a file containing a list of URL (access log file?). Not sure about its performance and whether it is multi-threaded or not. This one is the second one I would like to use.

    "curl-loader" is like "seige" which can be used to simulate real-world traffic from description on their web site, no experience, may not perform well if it uses libcurl.

    "http_load" is similar to "ab".
    LiteSpeed Web Acceleration Platform by http://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!

  11. #11
    Quote Originally Posted by Zsev View Post
    This is interesting, though I'm curious if anyone has a site/server busy enough for testing. Even then it would piss of a lot of site visitors when the site goes down for swapping webservers except the case of apache -> litespeed.
    Perhaps get a host that is willing to swap their heavily optimized apache + worker on a busy server with litespeed then compare the resource difference?
    e-Sensibility will offer a dual xeon 5520 server for this LiteSpeed vs Apache showdown as mentioned in another thread.
    LiteSpeed Web Acceleration Platform by http://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!

  12. #12
    Join Date
    Mar 2008
    Posts
    1,717
    I'm by no means an expert in optimizing Apache either, but I have a requests: please test Apache with both mpm_worker and mpm_event.
    I used to run the oldest commercial Mumble host.

  13. #13
    Join Date
    Mar 2009
    Location
    /usr/bin/perl
    Posts
    971
    Mistwang and ScenSRV -- PM me with the details of when you'll be able to setup your litespeed and lighttpd respectively. We've got to get this show on the road . . . won't have this machine sitting around forever

    As for the benchmarking tool, ab and siege sound find to me.
    Ask me about CloudCentrum (coming soon) -- The complete, turn-key cloud software solution

  14. #14
    Join Date
    Mar 2009
    Location
    /usr/bin/perl
    Posts
    971
    Also, I think that all of the configs should be posted in the end so people can draw their own conclusions about the results that are obtained -- so keep track of everything that you change.
    Ask me about CloudCentrum (coming soon) -- The complete, turn-key cloud software solution

  15. #15
    I will have our staff member to setup LiteSpeed, I will do some fine tuning if need. just PM me the root login.

    Also, we should define what we would like to test. Small static file? larger static file? Hello world PHP script?

    How about a real-world WordPress or vBulletin with simulated real-world load using "seige"?

    And it would be great if we as well as a third party member can cross verify the test results.
    LiteSpeed Web Acceleration Platform by http://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!

  16. #16
    Join Date
    Mar 2009
    Location
    /usr/bin/perl
    Posts
    971
    mistwang,

    PM sent.

    And yes, I'd be interested in doing all of the tests you mentioned. I'm most intrigued by the real-world simulation.

    As for third party verification, leave the configuration on there when you're done and anyone who wants to look at your handiwork will be welcome to -- they'll just have to pm me.

    A side note -- I've made an appeal on the apache user's mailing list for configuration help, so hopefully they'll come up with some interesting ways of leveling the playing field.
    Ask me about CloudCentrum (coming soon) -- The complete, turn-key cloud software solution

  17. #17
    I'm willing to provide a custom compiled nginx binary (or 'configure' options) as well as a config but I need to know what is going to be benchmarked in this test (fcgi/static). My vote goes to httperf or ab with another program for memory info and cpu info, also I wouldn't mind all programs to first have a trail run under perf (ingo's perf tool) to get in-depth statistics (the kernel needs to have performance counters).

  18. #18
    Join Date
    Mar 2009
    Location
    /usr/bin/perl
    Posts
    971
    Quote Originally Posted by nwmcsween View Post
    I'm willing to provide a custom compiled nginx binary (or 'configure' options) as well as a config but I need to know what is going to be benchmarked in this test (fcgi/static). My vote goes to httperf or ab with another program for memory info and cpu info, also I wouldn't mind all programs to first have a trail run under perf (ingo's perf tool) to get in-depth statistics (the kernel needs to have performance counters).
    So far I think mistwang has provided some good suggestions as to what content we should use.

    So:

    with ab we'll test:

    -static
    -large static
    -simple php (hello world or similar)

    And with siege we'll test

    -wordpress/joomla or similar under a "real-world" load simulation

    Perf also sounds interesting and worth a shot. Any other suggestions?
    Ask me about CloudCentrum (coming soon) -- The complete, turn-key cloud software solution

  19. #19
    Quote Originally Posted by e-Sensibility View Post
    So far I think mistwang has provided some good suggestions as to what content we should use.

    So:

    with ab we'll test:

    -static
    -large static
    -simple php (hello world or similar)

    And with siege we'll test

    -wordpress/joomla or similar under a "real-world" load simulation

    Perf also sounds interesting and worth a shot. Any other suggestions?
    Memory and CPU usage need to be accounted for since if sever x does 20,000 r/s @ 2% cpu usage while server y does 21,000 r/s @ 40% cpu usage the efficiency (which is a must in a data center) will greatly differ.

  20. #20
    Join Date
    May 2009
    Posts
    426
    Hey,

    Please PM me the root login.

    Thanks
    KnownSRV.com - Fast, Quality and Secure MANAGED VPS with fast SSD drives in h/w RAID10
    Full network and hardware customization possible - let's talk your needs. Optional 500gbps DDoS protection!
    █ PayPal, Credit Cards, Skrill, Payza, PerfectMoney, WebMoney and BitCoins accepted

  21. #21
    Quote Originally Posted by nwmcsween View Post
    Memory and CPU usage need to be accounted for since if sever x does 20,000 r/s @ 2% cpu usage while server y does 21,000 r/s @ 40% cpu usage the efficiency (which is a must in a data center) will greatly differ.
    Agree completely.

    Also, we should compare web server under similar configuration for similar feature set. For example, if .htaccess is enabled for Apache, it will slow down Apache dramatically, however, Nginx and lighttpd does not support .htaccess at all, so if we compare Apache/LiteSpeed with .htaccess enabled with lighttpd/nginx, it is not fair comparison. Same thing regarding access logging.
    LiteSpeed Web Acceleration Platform by http://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!

  22. #22
    Join Date
    May 2009
    Posts
    426
    I still haven't received the root login. Could someone update me regarding this, are we gonna do it or no?
    KnownSRV.com - Fast, Quality and Secure MANAGED VPS with fast SSD drives in h/w RAID10
    Full network and hardware customization possible - let's talk your needs. Optional 500gbps DDoS protection!
    █ PayPal, Credit Cards, Skrill, Payza, PerfectMoney, WebMoney and BitCoins accepted

  23. #23
    Join Date
    Mar 2009
    Location
    /usr/bin/perl
    Posts
    971
    SceneSRV, I think we should configure the webservers one at a time. LiteSpeed can go first, and then we can all take a look at the results. Next we'll configure Apache, run the benchmarks, and everyone can look at and confirm the results.

    All of us being on there at the same time adds in too many extraneous variables.

    mistwang -- since you guys have had the login for several days now, can you update us on progress?
    Ask me about CloudCentrum (coming soon) -- The complete, turn-key cloud software solution

  24. #24
    Join Date
    Aug 2001
    Posts
    4,028
    This is a pretty cool project you guys have going on. Subscribing.

  25. #25
    Join Date
    Dec 2009
    Posts
    128
    Is it easy to upgreade to lightspeed?

  26. #26
    Join Date
    Mar 2009
    Posts
    2,218
    Quote Originally Posted by e-Sensibility View Post
    It's my opinion that there are few recent, independent benchmarks comparing the performance of LiteSpeed and Apache on modern hardware. For that reason, I've challenged LiteSpeed to compare their product side-by-side with Apache on an 8 core intel Xeon 5520 system. More details on that available in this thread:

    http://www.webhostingtalk.com/showth...=918104&page=3

    But I need the help of the WHT community to decide how best to optimize apache. LiteSpeed will certainly know the in's and out's of their product well enough to portray it in the best possible light. I am by no means the world's foremost Apache expert, so I'm asking those of you who are familiar with it on a low-level, or have contributed to the project -- or are just veteran sysadmins -- to contribute your expertise and help me figure out how to give LiteSpeed a run for its money

    Also open for debate is what benchmarking software should be used. ab is one option that's been brought up, but I'd like to do it with at least two different tools.

    The results of the tests will be posted back in this thread.

    I'm a proponent of open source software, but I have nothing against LiteSpeed -- I'll be very impressed if it really does beat apache hands down like they say it does. May the best webserver win!
    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.)

  27. #27
    Join Date
    May 2009
    Posts
    426
    Quote Originally Posted by e-Sensibility View Post
    SceneSRV, I think we should configure the webservers one at a time. LiteSpeed can go first, and then we can all take a look at the results. Next we'll configure Apache, run the benchmarks, and everyone can look at and confirm the results.

    All of us being on there at the same time adds in too many extraneous variables.

    mistwang -- since you guys have had the login for several days now, can you update us on progress?
    alright, I just wanted to get an update regarding this. I will need a couple of hours to get Lighttpd installed/configured/optimized so contact me via PM when my turn comes up.
    KnownSRV.com - Fast, Quality and Secure MANAGED VPS with fast SSD drives in h/w RAID10
    Full network and hardware customization possible - let's talk your needs. Optional 500gbps DDoS protection!
    █ PayPal, Credit Cards, Skrill, Payza, PerfectMoney, WebMoney and BitCoins accepted

  28. #28
    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 disks
    Last edited by e-Sensibility; 01-15-2010 at 01:28 PM.
    Ask me about CloudCentrum (coming soon) -- The complete, turn-key cloud software solution

  29. #29
    Join Date
    Nov 2005
    Location
    Michigan, USA
    Posts
    3,872
    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.


  30. #30
    Quote Originally Posted by e-Sensibility View Post
    mistwang -- since you guys have had the login for several days now, can you update us on progress?
    Yeah, I have done some tests from local host, results to follow.
    LiteSpeed Web Acceleration Platform by http://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!

  31. #31
    Join Date
    Nov 2005
    Location
    Michigan, USA
    Posts
    3,872
    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.


  32. #32
    Join Date
    Mar 2009
    Location
    /usr/bin/perl
    Posts
    971
    Quote Originally Posted by devonblzx View Post
    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.
    It'll just be these two VMs running on the machine, so we shouldn't have to worry about that. The only time one VM would steal the CPU cycles of another would be if the CPU was overcommitted anyway, which it won't be, so I don't believe any complications should arise.
    Ask me about CloudCentrum (coming soon) -- The complete, turn-key cloud software solution

  33. #33
    Join Date
    Nov 2005
    Location
    Michigan, USA
    Posts
    3,872
    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?


  34. #34
    Join Date
    Mar 2009
    Location
    /usr/bin/perl
    Posts
    971
    Quote Originally Posted by devonblzx View Post
    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?
    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

  35. #35
    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:
    [[email protected] 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)
    
    top output:

    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:
    [[email protected] 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
    [[email protected] 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
    [[email protected] logs]#       
    
    
    top output:

    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              
    
    four ab clients: 3667.72 + 3647.92 + 3629.93 + 3621.99 = 14567.56 req/s

    Code:
    
    [[email protected] 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
    [[email protected] 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
    
    
    top output:

    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
    
    
    
    eight ab clients: 3064.87 + 3012.05 + 2988.05 + 2982.33 + 2985.39 + 2972.20 + 2970.28 + 2957.54 = 23932.71 req/s

    Code:
    
    [[email protected] 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
    [[email protected] 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
    [[email protected] logs]#     
    
    
    top output:

    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               
    
    
    Keepalive results to follow.
    LiteSpeed Web Acceleration Platform by http://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!

  36. #36

    LiteSpeed Keepalive results

    One ab client: 25147.30 req/s

    Code:
    
    [[email protected] 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)
    [[email protected] logs]#   
    
    
    
    top output:
    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
    
    two ab clients: 30247.52 + 29442.31 = 59689.83 req/s
    Code:
    
    
    [[email protected] 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
    [[email protected] 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
    [[email protected] logs]#
    top output:

    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
    
    
    Four ab clients: 28185.83 + 26768.55 + 23520.03 + 22960.78 = 101435.19 req/s

    Code:
    
    [[email protected] 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
    [[email protected] 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
    [[email protected] logs]#  
    
    
    top output:
    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           
    
    Eight ab clients: 15159.07 + 14953.75 + 14897.10 + 14711.02 + 14163.89 + 13713.78 + 13650.28 + 13488.36 = 101329.25 req/s

    Code:
    [[email protected] 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
    [[email protected] 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
    [[email protected] logs]#   
    
    
    top output:

    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 http://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!

  37. #37
    Join Date
    Mar 2009
    Location
    LAX, DAL, MIA, ATL, ORD
    Posts
    8,955
    Quote Originally Posted by mistwang View Post
    One ab client: 25147.30 req/s

    Code:
    
    [[email protected] 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)
    [[email protected] logs]#   
    
    
    
    top output:
    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
    
    two ab clients: 30247.52 + 29442.31 = 59689.83 req/s
    Code:
    
    
    [[email protected] 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
    [[email protected] 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
    [[email protected] logs]#
    top output:

    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
    
    
    Four ab clients: 28185.83 + 26768.55 + 23520.03 + 22960.78 = 101435.19 req/s

    Code:
    
    [[email protected] 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
    [[email protected] 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
    [[email protected] logs]#  
    
    
    top output:
    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           
    
    Eight ab clients: 15159.07 + 14953.75 + 14897.10 + 14711.02 + 14163.89 + 13713.78 + 13650.28 + 13488.36 = 101329.25 req/s

    Code:
    [[email protected] 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
    [[email protected] 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
    [[email protected] logs]#   
    
    
    top output:

    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               
    
    Nicely done :-) LiteSpeed is going to win...

  38. #38
    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

  39. #39
    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!

  40. #40
    Join Date
    Nov 2005
    Location
    Michigan, USA
    Posts
    3,872
    Quote Originally Posted by SharkSpace View Post
    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.

    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.


Page 1 of 4 1234 LastLast

Similar Threads

  1. Apache vs Litespeed
    By Alan108 in forum Web Hosting
    Replies: 4
    Last Post: 10-08-2009, 09:54 PM
  2. LiteSpeed Vs Apache?
    By leanfarrell in forum Hosting Security and Technology
    Replies: 11
    Last Post: 10-06-2009, 03:25 PM
  3. LiteSpeed vs Apache
    By LadySDevil in forum Hosting Security and Technology
    Replies: 51
    Last Post: 07-21-2009, 12:24 AM
  4. LiteSpeed -> Apache
    By goooh in forum Hosting Security and Technology
    Replies: 6
    Last Post: 07-13-2009, 12:26 AM
  5. apache vs litespeed
    By linktome in forum Hosting Software and Control Panels
    Replies: 1
    Last Post: 07-13-2008, 08:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •