Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
Subject: Re: NFS Problems? was Re: Anyone Home?
Date: Thu, 17 Jul 1997 20:15:31 -0600 (MDT)	[thread overview]
Message-ID: <988d63bed4e88f426c25b4ed4cb4c473.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.SOL.3.91.970718095407.2972A-100000@hydra>

Lo Sheng * Software Engineer * wrote:
> 
> On Thu, 17 Jul 1997, Greg Lindahl wrote:
> 
> > I've seen _performance_ complaints, mostly because Linux defaults to
> > 1k packet sizes and most admins don't know to increase it. But I
> > haven't seen complaints about bugs before.
> 
> mmm ... well, I, for one, don't know how to increase the size. Could you 
> share with me?

This is straight from 'man mount':

Mount options for nfs
       Instead of a textual option string, parsed by the  kernel,
       the  nfs  file  system  expects  a binary argument of type
       struct nfs_mount_data.  The program  mount  itself  parses
       the  following  options  of the form `tag=value', and puts
       them  in  the  structure  mentioned:   rsize=n,   wsize=n,
       timeo=n,  retrans=n,  acregmin=n,  acregmax=n, acdirmin=n,
       acdirmax=n, actimeo=n, retry=n, port=n, mountport=n, moun-
       thost=name,     mountprog=n,    mountvers=n,    nfsprog=n,
       nfsvers=n, namlen=n.  The option addr=n  is  accepted  but
       ignored.   Also  the  following  Boolean options, possibly
       preceded by no are recognized: bg, fg, soft,  hard,  intr,
       posix, cto, ac, tcp, udp.  For details, see nfs(5).

       Especially useful options include

       rsize=8192,wsize=8192
              This will make your nfs connection much faster than
              with the default buffer size of 1024.

       soft   This option allows the kernel to time  out  if  the
              nfs  server is not responding for some time, other-
              wise it will try forever. The time can be specified
              with timeo=time.  This option is useful if your nfs
              server  sometimes  doesn't  respond  or   will   be
              rebooted  while  some  process  tries to get a file
              from the server.

Actually mount manpage is chock-full of interesting and useful
options for various file systems.  Highly recommended reading material.

Good values for rsize and wsize may depend on your particular ethernet
card and also on a hardware on the other end, so you should experiment
a bit.  Normally the bigger, the merrier - up to some limit.

Linux is using 1k as a default because some cheap PC ether cards were
crashing with higher values (or so I was told).

  Michal

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1997-07-18  2:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.SOL.3.91.970718095407.2972A-100000@hydra>
1997-07-18  2:15 ` Michal Jaegermann [this message]
     [not found] <Pine.SOL.3.95.970718101439.5029A-100000@aries.els.url.es>
1997-07-18 10:00 ` NFS Problems? was Re: Anyone Home? T. S. Horsnell
     [not found] <199707180135.VAA03960@adder.cs.Virginia.EDU>
1997-07-18  1:54 ` Lo Sheng the Great
1997-07-18  1:35 Greg Lindahl
  -- strict thread matches above, loose matches on Subject: below --
1997-07-17 21:26 Peter Mardahl
1997-07-17 21:33 ` NFS Problems? was " Richard E. Robbins
1997-07-18  1:32   ` Gregory R. Warnes
1997-07-18  9:20   ` Alpha Mailing List
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox