Re: Kernel 2.6.xx - NFSv3 vs. Samba Data Transfer Semantics

From: Greg Banks
Date: Sat Aug 06 2005 - 21:53:29 EST


On Sat, Aug 06, 2005 at 10:34:55AM -0400, Justin Piszcz wrote:
> UDP/NFSv3:

Don't use UDP. It won't help you with this problem, but use TCP.

> UDP/Samba, Win2K->Linux box:
^^^
That would be a surprise.

> When NFS transfers are taking
> place, watching gkrellm, I see 64MB/s for a few seconds then it goes to 0
> as the disk (hda) continues to write for 3-4 seconds, this continues on
> and off.

It's instructive to watch the server's disk traffic on a graph with the
same timescale as the network traffic.

> I am using XFS filesystems on both Linux machines. The drives are 7200RPM
> Seagate HDDs with either 2MB or 8MB of cache.

With a single drive, your transfer rate is going to be disk limited
to probably 40-50 MB/s anyway.

> Are there any 'tweaks' or 'hacks' to make NFS behave more like Samba or

The 'async' export option. RTFM before you use it.

Greg.
--
Greg Banks, R&D Software Engineer, SGI Australian Software Group.
I don't speak for SGI.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/