Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jul 2010 11:06:49 -0400 (EDT)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        "Rick C. Petty" <rick-freebsd2009@kiwi-computer.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Why is NFSv4 so slow?
Message-ID:  <Pine.GSO.4.63.1007011102400.19651@muncher.cs.uoguelph.ca>
In-Reply-To: <20100628153527.GB53315@kay.kiwi-computer.com>
References:  <20100627221607.GA31646@kay.kiwi-computer.com> <Pine.GSO.4.63.1006271949220.3233@muncher.cs.uoguelph.ca> <20100628031401.GA45282@kay.kiwi-computer.com> <20100628034741.GA45748@kay.kiwi-computer.com> <Pine.GSO.4.63.1006280032180.2680@muncher.cs.uoguelph.ca> <20100628153527.GB53315@kay.kiwi-computer.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 28 Jun 2010, Rick C. Petty wrote:

> On Mon, Jun 28, 2010 at 12:35:14AM -0400, Rick Macklem wrote:
>>
>> Being stuck in "newnfsreq" means that it is trying to establish a TCP
>> connection with the server (again smells like some networking issue).
>> <snip>
>> Disabling delegations is the next step. (They aren't
>> required for correct behaviour and are disabled by default because
>> they are the "greenest" part of the implementation.)
>
> After disabling delegations, I was able to build world and kernel on two
> different clients, and my port build problems went away as well.
>
I was able to reproduce a problem when delegations are enabled and the
"rdirplus" option was used on a mount. Since I haven't done non-trivial
testing with "rdirplus" set, but have done quite a bit with delegations
enabled for mounts without "rdirplus", I suspect the problem is related
to using "rdirplus" on NFSv4 mounts.

So, I'd recommend against using "rdirplus" on NFSv4 mounts until the
problem gets resolved.

You could try re-enabling delegations and the try mounts without 
"rdirplus" and see if the problems during builds still show up?

Thanks for your help with testing, rick




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.63.1007011102400.19651>