NFS Still broken in 2.6.x?
From: Bryan Fink
Date: Thu Feb 23 2006 - 15:33:11 EST
Hi All. I'm running into a bit of trouble with NFS on 2.6. I see that
at least Trond thought, mid-January, that "The readahead algorithm has
been broken in 2.6.x for at least the past 6 months." (
http://www.ussg.iu.edu/hypermail/linux/kernel/0601.2/0559.html) Anyone
know if that has been fixed?
Basically, the problem I'm having is that downloads from an NFS server
using kernel 2.6 are no more than half as fast as the same from a
server using kernel 2.4. Write speed (uploading) seems to be about the
same, but reading is slow.
I'm using tcp as my protocol, at the suggestion of many posts, but
flipping over to udp doesn't seem to make any difference. I'm using
version 3, although I did switch to 2 just to check (it's no better,
usually slower). My read size is 32768 and my write size is 8192.
Decreasing the read size only slows down the transfers. Increasing
write size has no effect.
As for hardware, both machines are dual AMD Opterons, 100Mbps ethernet,
and the NFS is serving space on a RAID array. The 2.4 (2.4.21 to be
exact) kernel is running under SuSE 9.0, and the 2.6 (2.6.15 to be
exact) kernel is running under SuSE 10.0. I saw the same speed drop
when attempting to upgrade to SuSE 9.3. I stayed with 9.0 in hopes
that the problem would be fixed in the future.
Anyone have any ideas?
-Bryan
-
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/