All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom McNeal <trmcneal@attbi.com>
To: David Dougall <davidd@et.byu.edu>
Cc: nfs@lists.sourceforge.net
Subject: Re: Performance tuning
Date: Wed, 10 Jul 2002 14:04:38 -0700	[thread overview]
Message-ID: <3D2CA166.CD962038@attbi.com> (raw)
In-Reply-To: Pine.LNX.4.33.0207100905100.27879-100000@lewis.et.byu.edu

Hi -

I gleaned that tuning info from the SPECsfs and SPECweb99 
benchmarks, and documented it on the Mission Critical Linux
servers that are still kept on line:
http://www.missioncriticallinux.com/orph/ServerNotes.pdf

The latest howtos, which have been getting updated over the 
last few months, and are just about ready to go, contain an
updated discussion about [rw]mem_*, where I use the same examples,
but note that they apply to both read and write parameters.

As for limits, my paper notes much higher values than I was 
really willing to state in the howto.  Note that benchmarks are
often not real-world environments (I should probably remove the
"often" qualifier), so be sure to treat these suggestions with
a bit of skepticism.

I also corrected the fragmentation part to refer to all kernels.
The main thing to look for is MTU, plus the number of reassambly
failures noted as "reasmfails" in /proc/net/snmp, especially when
you start using 32K in udp (which is probably not the best idea).

Regards -

Tom


David Dougall wrote:
> 
> Looking through the nfs-howto chapter 5 "Optimizing NFS Performance", I
> found a few ambiguous statements and was wondering if I could get some
> clarification.
> There is a suggestion to increase rmem_default and rmem_max in
> /proc/sys/net/core to "at least 256k".  What is the limit on that?  If I
> have a server withs gobs of memory, how high can I increase that to still
> get performance improvements.  Are there some statistics I can use to
> measure if increases in this are helping.  Also, should I also increase
> wmem_default and wmem_max.  It makes no mention of that in the howto.
> 
> With respect to Overflow of fragmented packets, it mentions the 2.2
> kernel, but never mentions the 2.4.  Is it the same?  If so, it might be
> nice to clear that up in the howto.  It also states that there is no ideal
> value for this.  Any suggestions for specific traffic patterns?
> 
> Thanks
> --David Dougall
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Two, two, TWO treats in one.
> http://thinkgeek.com/sf
> _______________________________________________
> NFS maillist  -  NFS@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs

--
------------------------------------------------------------
Tom McNeal       trmcneal@attbi.com     (650)906-0761 (cell) 
------------------------------------------------------------


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Two, two, TWO treats in one.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  reply	other threads:[~2002-07-10 21:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-10 15:15 Performance tuning David Dougall
2002-07-10 21:04 ` Tom McNeal [this message]
2002-07-10 21:17   ` Trond Myklebust
  -- strict thread matches above, loose matches on Subject: below --
2004-05-20 12:05 Performance Tuning john weber
2004-05-20 13:00 ` Richard B. Johnson
2004-05-20 16:42 ` Valdis.Kletnieks
2004-05-20 16:49   ` Prakash K. Cheemplavam
2004-05-20 18:39 ` cliff white
2004-05-20 18:51 ` Tim Bird
2004-05-21 14:56 ` Bill Davidsen
2005-08-29  5:17 How can execute .cpp program with gcc command kranthi
2005-08-30  4:46 ` Performance tuning Vikas

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=3D2CA166.CD962038@attbi.com \
    --to=trmcneal@attbi.com \
    --cc=davidd@et.byu.edu \
    --cc=nfs@lists.sourceforge.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.