[CentOS] Slow NFS writes
Craig White
craigwhite at azapple.com
Mon Oct 20 17:49:16 UTC 2008
On Mon, 2008-10-20 at 13:21 -0400, Joshua Baker-LePain wrote:
> On Sat, 18 Oct 2008 at 11:21pm, Craig White wrote
>
> > Server, CentOS 5.2 and updated earlier today, just installed a week ago.
> >
> > Client, Macintosh G4, OS X 10.4.11
> *snip*
> > Copy To Win2K AFP SMB NFS
> > 1m40.053s 0m22.566s 0m23.817s 2m11.849s
> >
> > Copy From Win2K AFP SMB NFS
> > 1m34.478s 0m20.709s 0m20.823s 0m23.487s
> >
> Do you have any Linux clients to test with? That way you could determine
> whether the problem is on the server or the client side. ISTR hearing bad
> things about Apple's NFS implementation (shocking, I know). You also want
> to test with larger files (at least 2x RAM of the server or client,
> whichever is larger) to make sure you're not just seeing cache effects.
----
I was using a 648 Gb 'PSD' file which surely is beyond caching.
You definitely were correct in your assertion and stupid me should have
tested it from another Linux box.
$ time cp BackgroundGraphic.psd /home/filesystems/srv-adv/
real 0m18.547s
user 0m0.015s
sys 0m3.306s
so the problem isn't NFS slow writes...it's slow NFS writes from
Macintosh client ;-(
I'll play around a bit more but it's clear that no matter what I do, NFS
writes will never be faster than AFP or SMB from a Macintosh so given
the extra pain of setup, it's never going to happen.
Thanks
Craig
More information about the CentOS
mailing list