From: Peter Staubach <staubach@redhat.com>
To: Whoop Whouzer <tiredandnumb@gmail.com>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>,
Chuck Lever <chuck.lever@oracle.com>,
"J. Bruce Fields" <bfields@fieldses.org>,
"Muntz, Daniel" <Dan.Muntz@netapp.com>,
Peter Chacko <peterchacko35@gmail.com>,
linux-nfs@vger.kernel.org
Subject: Re: nfs client performance while server is down
Date: Wed, 27 Jan 2010 14:31:49 -0500 [thread overview]
Message-ID: <4B6094A5.6000309@redhat.com> (raw)
In-Reply-To: <d7f0b3a81001271125t6a4bd395mc77d04ef663094da@mail.gmail.com>
Whoop Whouzer wrote:
> I am not stating this is an NFS problem at all. I am not asking anybody to fix
> anything.
> I asked if this issue was by design. I was told it wasn't (as nfs is stateless).
> So, therefore I considered it as a bug (which I don't believe to
> reside in either nfs or nautilus). I am just trying to figure out
> where the problem lies.
>
There is a misconception here. NFS is not stateless. To
be accurate, the NFSv2 and NFSv3 protocols were defined in
such as to allow the NFS server to be stateless. The server
was not supposed to be required to remember anything about
what a client was doing from operation to the next. (In
reality, there are non-idempotent operations, ie. operations
which can not be done twice and get the same results, so it
is very helpful if the server remembers some state.)
NFS clients have always been _very_ stateful. They have to
know about all mounted file systems, open files, current
directories, etc.
The problem here is some application which is attempting to
touch all of the mounted file systems. When it tries to
touch one from a non-responsive NFS server, then it hangs.
This represents an architectural problem with the
application making an assumption that is okay and acceptable
to access all file systems which are currently mounted.
This assumption leads to situations such as you are observing.
This isn't new.
ps
> I am not talking about implementing "disconnected NFS" mode,
> synchronisation or anything like that. There is not something missing,
> there is something not working properly, somewhere, and I'm trying to
> find out where..
>
> On Wed, Jan 27, 2010 at 8:09 PM, Trond Myklebust
> <trond.myklebust@fys.uio.no> wrote:
>> So? I don't see why that would be an NFS problem.
>>
>> As far as I can see from this thread, you are basically asking us to fix
>> these broken applications by implementing a "disconnected NFS" mode.
>> While that may indeed be a cool thing to support, I haven't seen anybody
>> so far stepping up and saying that they have the time and resources to
>> work on it. Are you volunteering?
>>
>> Trond
>>
>> On Wed, 2010-01-27 at 19:47 +0100, Whoop Whouzer wrote:
>>> ok, but it's not just GNOME/nautilus behaviour. For one, I am
>>> experiencing problems with just about all applications that require
>>> (local) disk access. Furthermore, problems have also been reported
>>> with xfce/thunar and also with KDE.
>>>
>>> A bug for this issue has just been created for xfce/thunar:
>>> http://bugzilla.xfce.org/show_bug.cgi?id=6185
>>>
>>> On Wed, Jan 27, 2010 at 7:40 PM, Trond Myklebust
>>> <trond.myklebust@fys.uio.no> wrote:
>>>> On Wed, 2010-01-27 at 13:23 -0500, Chuck Lever wrote:
>>>>> On 01/26/2010 06:21 PM, J. Bruce Fields wrote:
>>>>>> I wonder if nautilus (or some library it uses) likes to regularly
>>>>>> "statfs" all the filesystems it knows about?
>>>>> The NFS client seems to like to send these periodically, but I've never
>>>>> looked into why. It's probably triggered by some cache timeout, and
>>>>> gathers recent server file system information.
>>>> No. It is entirely application driven. Furthermore, most of the statfs
>>>> data is uncached, since it should not be performance critical in any
>>>> sane application environment.
>>>>
>>>> IOW: I agree with Bruce that this is most likely GNOME or nautilus
>>>> triggering statfs calls. Indeed, when I do actually open a window on
>>>> some directory it also appears to display the free space.
>>>>
>>>> Trond
>>>>
>>>>
>>>>
>>
>>
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2010-01-27 19:32 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-23 15:45 nfs client performance while server is down Whoop Whouzer
[not found] ` <d7f0b3a81001230745h18dbb14fi42f28adff0c45294-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-23 15:57 ` Peter Chacko
2010-01-23 16:27 ` Whoop Whouzer
[not found] ` <d7f0b3a81001230827y52727993nf60210ae610643b7-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-24 21:34 ` Muntz, Daniel
[not found] ` <7A24DF798E223B4C9864E8F92E8C93EC0527810C-hX7t0kiaRRpT+ZUat5FNkAK/GNPrWCqfQQ4Iyu8u01E@public.gmane.org>
2010-01-24 22:03 ` Whoop Whouzer
2010-01-25 0:09 ` Whoop Whouzer
2010-01-25 16:48 ` Chuck Lever
2010-01-25 19:02 ` Whoop Whouzer
[not found] ` <d7f0b3a81001251102p5e631706jfd9f147a00487061-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-25 19:08 ` Chuck Lever
[not found] ` <d7f0b3a81001251138h30e25428o25db9bc8c0884636@mail.gmail.com>
[not found] ` <d7f0b3a81001251138h30e25428o25db9bc8c0884636-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-25 19:48 ` Whoop Whouzer
2010-01-25 21:01 ` Chuck Lever
2010-01-25 21:18 ` Whoop Whouzer
[not found] ` <d7f0b3a81001251318k42de9be2qe54f83bbd86cabb8-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-25 21:26 ` Chuck Lever
2010-01-25 23:03 ` Whoop Whouzer
2010-01-26 23:21 ` J. Bruce Fields
2010-01-27 0:40 ` Whoop Whouzer
2010-01-27 17:10 ` J. Bruce Fields
2010-01-27 18:23 ` Chuck Lever
2010-01-27 18:40 ` Trond Myklebust
2010-01-27 18:47 ` Whoop Whouzer
2010-01-27 19:09 ` Trond Myklebust
2010-01-27 19:25 ` Whoop Whouzer
2010-01-27 19:30 ` Ray Van Dolson
2010-01-27 19:31 ` Peter Staubach [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=4B6094A5.6000309@redhat.com \
--to=staubach@redhat.com \
--cc=Dan.Muntz@netapp.com \
--cc=bfields@fieldses.org \
--cc=chuck.lever@oracle.com \
--cc=linux-nfs@vger.kernel.org \
--cc=peterchacko35@gmail.com \
--cc=tiredandnumb@gmail.com \
--cc=trond.myklebust@fys.uio.no \
/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