LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > recommended production environment

Reply
 
Thread Tools Display Modes
  #1  
Old 03-22-2006, 05:08 PM
henpa henpa is offline
Member
 
Join Date: Mar 2006
Posts: 16
Default recommended production environment

I've been doing many benchmarks these last few days using different options for environments. I am testing this with a few vmware linux boxes on my Windows desktop. I know this doens't represent a production server, but I believe it does give me some indications about best possible performance configuration, for later deployment on a real hardware.

All benchmarks are done using "ab -c 10 -n 10000 http://localhost/hello" with a simple perl fcgi script. Both boxes have identical lsws std-2.1.12 configuration.

These are the best benchmarks I can possibly get:

debian sarge 3.1 (perl 5.8.4 installed)
with kernel 2.4.27 ~ 1500 reqs/seg
with kernel 2.6.8 ~ 700 reqs/seg

arch linux 0.7.1 (perl 5.8.8 installed)
with kernel 2.4.32 ~ 1150 reqs/seg
with kernel 2.6.15 ~ 600 reqs/seg

I have repeated these tests many, many times. And they tell me that LSWS performs much better on kernel 2.4 than kernel 2.6.

So, my questions are:

1) Does it make any sense of LSWS running slower on kernel 2.6? Can others confirm this? (I am running the ab benchmark util and lsws on the same linux server, would this cause lower performance hit on kernel 2.6?)

2) What is the lab environment on litespeedtech? Can I assume "Fedore Core 3 with kernel 2.6.10-1.760" as noted on the benchmark pages? If you tried a 2.4 kernel, would the benchmarks get higher?

3) Would glibc libraries, perl version and other packages also influence the benchmarks? If so, does any one have best version recommendations?


Thanks, Henrique.
Reply With Quote
  #2  
Old 03-22-2006, 05:24 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
It is hard to tell the real performance under vmware.
Our test shows that there is no big difference between linux kernel 2.4 & 2.6.

But we do find the benchmark result is much worse when ab in apache 2.0.x is used. So always use an "ab" from apache 1.3.x.

And we found linxu 2.6's poll implementation is not as good as that in 2.4, especially when you run the test tool in the same box. So for 2.6 kernel, "epoll" should be used instead of "poll".
Reply With Quote
  #3  
Old 03-22-2006, 06:37 PM
henpa henpa is offline
Member
 
Join Date: Mar 2006
Posts: 16
George, thanks for your reply. I changed it to "epoll", but I didn't notice much change, at least with my two linux boxes inside vmware. Maybe kernel 2.6 doesn't perform well with vmware drivers... Unfortunately, I don't have a "real" server available for testing at the moment.

I would love to see other people's experience with other distribution and kernel comparisons.


Thanks a lot for your help.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up a local environment palb Install/Configuration 24 07-20-2007 07:36 AM
Rake environment hosed - error on Rakefile clem_c_rock Ruby/Rails 1 06-04-2007 08:50 AM
A cautionary tale: Cache.reset to reset memcache at the end of your environment fantasydreaming Ruby/Rails 2 03-26-2007 12:04 PM
Custom Rails Environment gwhite Ruby/Rails 1 01-16-2007 07:49 PM
recommended rails performance tuning Tomh Ruby/Rails 2 11-23-2006 03:02 PM


All times are GMT -7. The time now is 09:01 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.