Stefan Onken wrote:
Hello,
I am running a x86 gentoo box as a nfs server. As a filesystem I am
using XFS on a 3ware Raid system.
The 3ware systems seems to be quite quick, although access via NFS
seems to be very slow. Any ideas how I can improve speed ? I was
expected a speed only limited by the 100 Mbit network. Now, the
speed is so slow, that reading/writing at the same time is nearly
impossible.
Any ideas how to improve the speed ?
hdparm on the gentoo box machine:
backup3 ~ # hdparm -tT /dev/sdb
/dev/sdb:
Timing cached reads: 4108 MB in 2.00 seconds = 2054.34 MB/sec
Timing buffered disk reads: 232 MB in 3.01 seconds = 77.09 MB/sec
/etc/exports on the gentoo box:
/mnt/backup/ 192.168.1.0/24
(rw,no_root_squash,async,no_subtree_check)
I am not even able to run a bonnie benchmark on the client. It seems
to hang while doing rewriting. Running bonnie on the nfs server
gives a fast result.
/etc/fstab on the client:
192.168.1.3:/mnt/backup /mnt/backup nfs
rw,users,async 0
http://pastebin.com/m72ae9d47
Any ideas ?
I turned on tcp (vs. udp for nfs and I'm much happier. I have a mixed
cat5 (100Mbps) vs 802.11G(54Mbps) network. YMMV but it's worth a shot.
I'm streaming mp3s over it, my home directories and mythtv.
HTH
-eric
--
gentoo-user@lists.gentoo.org mailing list