mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Eric Weigle <ehw@lanl.gov>
To: Akarapu Mahesh <mahesh_a6@hotmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: doubt on auto tuning in 2.4 kernels
Date: Wed, 13 Feb 2002 09:07:16 -0700	[thread overview]
Message-ID: <20020213160716.GB31597@lanl.gov> (raw)
In-Reply-To: <F2587EYg3BOWkSPPi4J0001ca43@hotmail.com>
In-Reply-To: <F2587EYg3BOWkSPPi4J0001ca43@hotmail.com>

> 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/
--------------------------------------------

      reply	other threads:[~2002-02-13 16:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-13  2:07 Akarapu Mahesh
2002-02-13 16:07 ` Eric Weigle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020213160716.GB31597@lanl.gov \
    --to=ehw@lanl.gov \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mahesh_a6@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®