From: Peter Staubach <staubach@redhat.com>
To: "Talpey, Thomas" <Thomas.Talpey@netapp.com>
Cc: nfs@lists.sourceforge.net, Frank van Maarseveen <frankvm@frankvm.com>
Subject: Re: mount.nfs: chk_mountpoint()
Date: Thu, 30 Aug 2007 17:11:32 -0400 [thread overview]
Message-ID: <46D73284.4090309@redhat.com> (raw)
In-Reply-To: <EXNANE01okLQ8aZRhQd00000200@exnane01.hq.netapp.com>
Talpey, Thomas wrote:
> At 12:18 PM 8/30/2007, Chuck Lever wrote:
>
>> Peter Staubach wrote:
>>
>>> If the application on each client is going to need many mount
>>> points, then how does "bg" do anything but increase the number
>>> of concurrent mount requests coming from each client, thus
>>> increasing the load?
>>>
>> "bg" has an exponential backoff, so the load increase isn't terribly
>> bothersome. It's the "bg" recovery mechanism that's useful here for
>> getting all the mount requests to be successful in a nondeterministic
>> environment.
>>
>
> "bg" also tries synchronously before going into the background (and
> backing off). So, by itself "bg" does not generate a storm. It only
> slightly raises the mount traffic after a failure, by giving way to the
> next filesystem in line - which may well be on another server.
>
> Done right, "bg" is a reasonable approach, IMO.
I will belabor this just a little more and then move on.
Yes, if everything is working correctly, then the "bg" option
adds insignificant overhead and that is in the argument processing
for the mount command.
However, if it backgrounds, there can be multiple mounts
running at the same time. This could add up to quite a bit
for very many file systems.
And, why are they getting mounted? Probably not because they
are doing to needed immediately, but because they are being
statically mounted and the only way to do that is via fstab
at mount time.
All of these file systems are sitting, in the namespace,
waiting to cause problems for applications looking at the
namespace if the slightest problem occurs out on the network
or at one of the servers which was mounted from. They add
overhead to applications which do look at the namespace in
the meantime because they add to the number of file systems
that these applications need to keep track of.
I wish that I had a nickel for each time that I heard a
customer complain because some dead server caused his
application or the df command to hang and he wasn't
interested in that server. I'd be retired and typing this
from some fun location. :-)
Oh well, "bg" is a solution, but I think that there are better.
Thanx...
ps
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next prev parent reply other threads:[~2007-08-30 21:11 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-22 19:02 mount.nfs: chk_mountpoint() Chuck Lever
2007-08-23 12:50 ` Peter Staubach
2007-08-23 17:45 ` Chuck Lever
2007-08-23 18:22 ` Peter Staubach
2007-08-23 20:00 ` Chuck Lever
2007-08-23 20:12 ` Peter Staubach
2007-08-23 20:30 ` Chuck Lever
2007-08-23 20:49 ` Peter Staubach
2007-08-30 10:12 ` Frank van Maarseveen
2007-08-30 11:53 ` Peter Staubach
2007-08-30 16:01 ` Chuck Lever
2007-08-30 16:07 ` Peter Staubach
2007-08-30 16:18 ` Chuck Lever
2007-08-30 19:15 ` Talpey, Thomas
2007-08-30 21:11 ` Peter Staubach [this message]
2007-08-30 16:19 ` J. Bruce Fields
2007-08-30 16:24 ` Chuck Lever
2007-08-30 16:16 ` Frank van Maarseveen
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=46D73284.4090309@redhat.com \
--to=staubach@redhat.com \
--cc=Thomas.Talpey@netapp.com \
--cc=frankvm@frankvm.com \
--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.