* doubt on auto tuning in 2.4 kernels
@ 2002-02-13 2:07 Akarapu Mahesh
2002-02-13 16:07 ` Eric Weigle
0 siblings, 1 reply; 2+ messages in thread
From: Akarapu Mahesh @ 2002-02-13 2:07 UTC (permalink / raw)
To: linux-kernel
Hi,
Does anybody know if auto tuning can be turned off in 2.4 kernels. If yes
can some body tell me how to do so. Seems like Auto tuning of socket buffers
is overriding my large buffer settings.
Any help in this regard would be appreciated.
thanks
mahi
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: doubt on auto tuning in 2.4 kernels
2002-02-13 2:07 doubt on auto tuning in 2.4 kernels Akarapu Mahesh
@ 2002-02-13 16:07 ` Eric Weigle
0 siblings, 0 replies; 2+ messages in thread
From: Eric Weigle @ 2002-02-13 16:07 UTC (permalink / raw)
To: Akarapu Mahesh; +Cc: linux-kernel
> Hi,
> Does anybody know if auto tuning can be turned off in 2.4 kernels. If yes
> can some body tell me how to do so. Seems like Auto tuning of socket buffers
> is overriding my large buffer settings.
> Any help in this regard would be appreciated.
It can't be turned off. It is a way of managing non-swappable kernel memory
and if you are in memory pressure, then you may not get 'ideal' buffers.
There are a couple things you *can* do, though; take a look at
Documentation/networking/ip-sysctl.txt in the kernel source. In particular,
tcp_wmem and tcp_rmem. It's not a good idea to set min and max the
same, but if you make your default the 'ideal' and the min/max slightly
less/more you should get good results.
Also look at your settings in /proc/sys/net/core/[rw]mem_[max|default].
Here are a couple of tuning links I've found useful:
http://www.psc.edu/networking/perf_tune.html#Linux
http://www-didc.lbl.gov/tcp-wan.html
-Eric
--
--------------------------------------------
Eric H. Weigle CCS-1, RADIANT team
ehw@lanl.gov Los Alamos National Lab
(505) 665-4937 http://home.lanl.gov/ehw/
--------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-02-13 16:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-13 2:07 doubt on auto tuning in 2.4 kernels Akarapu Mahesh
2002-02-13 16:07 ` Eric Weigle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox