* nfs3 30% faster than nfs4?
@ 2011-10-17 7:53 Harald Dunkel
2011-10-17 13:39 ` J. Bruce Fields
0 siblings, 1 reply; 2+ messages in thread
From: Harald Dunkel @ 2011-10-17 7:53 UTC (permalink / raw)
To: linux-nfs
Hi folks,
I did a brief test on a local nfs server: Extracting the
linux kernel sources on a nfs partition it seems that nfs3
is 30% faster than nfs4. For nfs3 I got 5.2MB/sec. Nfs4
gave me just 3.8MB/sec. The server was idle except for this
test.
Client and server were running 2.6.39 from the Debian backports
repository. I just changed the mount option on the client to
select nfs3 or nfs4.
I don't want to complain, but I did not expect this huge loss
in performance for moving to nfs4. Any helpful comment would be
highly appreciated.
Harri
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: nfs3 30% faster than nfs4?
2011-10-17 7:53 nfs3 30% faster than nfs4? Harald Dunkel
@ 2011-10-17 13:39 ` J. Bruce Fields
0 siblings, 0 replies; 2+ messages in thread
From: J. Bruce Fields @ 2011-10-17 13:39 UTC (permalink / raw)
To: Harald Dunkel; +Cc: linux-nfs
On Mon, Oct 17, 2011 at 09:53:37AM +0200, Harald Dunkel wrote:
> Hi folks,
>
> I did a brief test on a local nfs server: Extracting the
> linux kernel sources on a nfs partition it seems that nfs3
> is 30% faster than nfs4. For nfs3 I got 5.2MB/sec. Nfs4
> gave me just 3.8MB/sec. The server was idle except for this
> test.
>
> Client and server were running 2.6.39 from the Debian backports
> repository. I just changed the mount option on the client to
> select nfs3 or nfs4.
>
> I don't want to complain, but I did not expect this huge loss
> in performance for moving to nfs4. Any helpful comment would be
> highly appreciated.
It might be worth looking at /proc/self/mountstats and seeing if you can
figure out where the time's going in the v4 case. (Probably
open/close?)
That workload is unlikely to be bandwidth-limited so total time is
probably the better number to look at instead of bandwidth.
--b.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-17 13:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-17 7:53 nfs3 30% faster than nfs4? Harald Dunkel
2011-10-17 13:39 ` J. Bruce Fields
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).