LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-23-2008, 05:34 PM   #1
shaybery
Member
 
Registered: Jan 2008
Posts: 30

Rep: Reputation: 15
Any recommandation for tune the tcp\ip stack


There is any recommandation to improve the tcp\ip stack in redhat5.1, by tune any of it's parameters?

Thanks
 
Old 01-23-2008, 06:55 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by shaybery View Post
redhat5.1
If you mean "Red Hat Linux" (RHL) then you're SOL and you should upgrade ASAP. If you mean "Red Hat Enterprise Linux" (RHEL) then next time please use the right description. Could you post compelling reasons *why* you think you need to fiddle with a network stack that does a lot of autotuning?
 
Old 01-24-2008, 12:45 AM   #3
shaybery
Member
 
Registered: Jan 2008
Posts: 30

Original Poster
Rep: Reputation: 15
I have RHEL5.1

I am porting solaris10 server to Linux RHEL5.1.
In my solaris10 server we configured some tcp\ip for tuning, like :
ndd -set /dev/tcp tcp_ip_abort_interval 20000
ndd -set /dev/tcp tcp_time_wait_interval 10000
ndd -set /dev/tcp tcp_rexmit_interval_max 5000
ndd -set /dev/tcp tcp_rexmit_interval_initial 2000
ndd -set /dev/tcp tcp_fin_wait_2_flush_interval 20000
ndd -set /dev/tcp tcp_conn_req_max_q0 65536
ndd -set /dev/tcp tcp_conn_req_max_q 65536
ndd -set /dev/tcp tcp_time_wait_interval 15000
ndd -set /dev/arp arp_cleanup_interval 60000

So I am trying to understand if there are some recommended tunes for the tcp\ip stack in RHEL5.1, in order to do right porting.

thanks
 
Old 01-24-2008, 06:56 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
I'm sorry but I don't want to wade through the all of the soltuneparamref to find an explanation. These stacks AFAIK differ anyway so I doubt you'll find perfectly corresponding values. I'll redirect you to the ipsysctl tutorial instead where you can find the explanation for kernel IP stack tunables. Also if you use your favourite searchengine with terms like "Linux ip sysctl" or "linux network perf" or "Linux GigE perf" or "Linux congestion control" (Westwood, Vegas, BIC) you'll find some settings for tunables as well (also see: http://ipsysctl-tutorial.frozentux.n...TCPTUNINGGUIDE, http://www-didc.lbl.gov/TCP-tuning/linux.html, http://www.psc.edu/networking/perf_tune.html, http://www.onlamp.com/lpt/a/6324) and prolly searching LQ will turn up some as well. As I said before Linux does autotune a lot and a lot of these sysctls are related so be sure you understand what to tweak because it's easy to decrease performance.
Do some tests so you can check your tweaks against baseline results.
 
Old 01-26-2008, 04:51 PM   #5
shaybery
Member
 
Registered: Jan 2008
Posts: 30

Original Poster
Rep: Reputation: 15
thank for the links

thank for the links
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
TCP cannections in TCP stack hegdeshashi Linux - Networking 1 01-04-2006 07:24 PM
getting new tcp/ip stack on linux cdp Linux - Networking 7 06-29-2005 12:50 PM
TCP/IP stack source code tarazan Linux - Networking 3 05-11-2005 02:56 PM
tune TCP stack for HTTP connections naijaguy Linux - General 0 02-01-2005 06:42 PM
TCP/IP Stack on Linux? Rossak Linux - Networking 2 07-27-2003 06:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration