Networking Forums

Networking Forums > Computer Networking > Linux Networking > Tuning for high volume web traffic

Reply
Thread Tools Display Modes

Tuning for high volume web traffic

 
 
Rodrick Brown
Guest
Posts: n/a

 
      11-13-2005, 01:52 AM
I'm trying to get the best performance out of a high volume web cluster
reading through some system tuning parameters I came up with the following,
can anyone comment or give me better recommendations to use?

Thanks, these servers each have 4GB of memory and 2 - 3.6GHz HT CPU's

net.core.rmem._max = 16777216
net.core.wmem_max = 16777216
net.core.rmem_defualt = 16777216
net.core.wmem_defualt = 16777216
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 87830 16777216
net.ipv4.tcp_max_syn_backlog = 4096
sys.net.core.netdev_max_backlog=2000

ifconfig eth0 txqueuelen 1024

--
Rodrick R. Brown
Senior IT Consultant
http://www.rodrickbrown.com
rodrick.brown[<@>]gmail.com

When in 1986 Apple bought a Cray X-MP and announced that they would use it
to design the next Apple Macintosh, Seymour Cray replied, "This is very
interesting because I am using an Apple Macintosh to design the Cray-2
supercomputer."


 
Reply With Quote
 
 
 
 
Michael Heiming
Guest
Posts: n/a

 
      11-13-2005, 07:18 AM
In comp.os.linux.misc Rodrick Brown <(E-Mail Removed)>:
> I'm trying to get the best performance out of a high volume web cluster
> reading through some system tuning parameters I came up with the following,
> can anyone comment or give me better recommendations to use?


> Thanks, these servers each have 4GB of memory and 2 - 3.6GHz HT CPU's


How much bandwidth to you have?

A system this powerful is able to saturate any usually available
bandwidth easily without any "performance tuning". Made some
tests (ab) on a system a bit slower sometime ago and it could
answer iirc about 17000 http requests/second to the test file
without any significant CPU usage and saturated the 100Mbit LAN
link completely.

I'd urge you to do some testing before suggesting any performance
enhancement, this isn't doze.

[..]

Good luck

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 189: SCSI's too wide.
 
Reply With Quote
 
John-Paul Stewart
Guest
Posts: n/a

 
      11-13-2005, 05:24 PM
Michael Heiming wrote:
> In comp.os.linux.misc Rodrick Brown <(E-Mail Removed)>:
>
>>I'm trying to get the best performance out of a high volume web cluster
>>reading through some system tuning parameters I came up with the following,
>>can anyone comment or give me better recommendations to use?

>
>
>>Thanks, these servers each have 4GB of memory and 2 - 3.6GHz HT CPU's

>
>
> How much bandwidth to you have?


Also, are the systems serving static content or dynamically generated
stuff? Static content (HTML files, JPEGs, etc.) requires very little in
terms of CPU and memory performance whereas dynamic content (Perl, PHP,
etc.) is a whole different ballgame (where optimizing the code can be of
greater importance than tuning the OS). If it's dynamic, does it use a
database and is the database on the same machine(s) or separate from the
webserver(s)?
 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bandwidth costs per GB for high volume website Fredje Linux Networking 1 12-31-2006 11:30 AM
Advice wanted: high volume bluetooth "hands free" mobile telephone device for someone who's hearing is fading... Ted R Broadband 7 10-25-2006 07:46 PM
What's causing my high ARP traffic??? Ed Flecko Windows Networking 4 12-14-2005 07:21 PM
High traffic on one AP hurts another Kevin Brown Wireless Internet 0 11-08-2005 02:25 AM
How do you monitor router traffic volume? Quarter Network Routers 2 02-04-2005 08:48 PM



1 2 3 4 5 6 7 8 9 10 11