linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Jon Forrest <jlforrest@berkeley.edu>
Cc: Thomas Haynes <Thomas.Haynes@Sun.COM>, linux-nfs@vger.kernel.org
Subject: Re: To Automount or to Not Automount?
Date: Thu, 14 Jan 2010 17:07:21 -0500	[thread overview]
Message-ID: <1263506841.2809.68.camel@localhost> (raw)
In-Reply-To: <4B4F8965.8020705@berkeley.edu>

On Thu, 2010-01-14 at 13:15 -0800, Jon Forrest wrote: 
> One person whom I respect told me that static mounts
> result in more overhead on the server. I didn't
> understand this but I don't claim to be
> an NFS expert.

It depends upon your setup.

As Tom said, cluster bootup times can suffer if everybody is pounding
the server with static mount requests at the same time. However, once
that is done, there is usually very little overhead: if you have no
applications actually using the filesystem, then the client will
disconnect the TCP connection after ~5 minutes idle time (and on NFSv4,
it will stop renewing the NFSv4 leases). Once that is done, there is no
overhead whatsoever on the server.

However, one way in which static mounts can cause the server load to
increase is if you have applications whose behaviour is to follow active
mountpoints. For instance, the 'updatedb' daemon usually won't follow an
inactive automount point, but once the NFS filesystem is actually
mounted, it will traipse through, and index all the files it can find
there. Another application that often causes unnecessary traffic in the
static mount case is 'df'.

So before deciding on automount vs static mount, I'd advise you to do an
audit of your cluster nodes to see what applications are going to be
running and how their behaviour may cause the load to differ.

Cheers
  Trond


      reply	other threads:[~2010-01-14 22:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-14 20:00 To Automount or to Not Automount? Jon Forrest
2010-01-14 20:58 ` Thomas Haynes
     [not found]   ` <4B4F8575.1010505-xsfywfwIY+M@public.gmane.org>
2010-01-14 21:15     ` Jon Forrest
2010-01-14 22:07       ` Trond Myklebust [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=1263506841.2809.68.camel@localhost \
    --to=trond.myklebust@fys.uio.no \
    --cc=Thomas.Haynes@Sun.COM \
    --cc=jlforrest@berkeley.edu \
    --cc=linux-nfs@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).