Man fstab & man nfs{d} & man mount and search for sync write options. Wsize
and rsize=8192 and wsize=8192 might work but I think they are deprecated.
Althought, async or sync might still be used. Use these options when mouting
your nfs share or make them permanent in your fstab file. Gentoo-wiki has a
good guide on this. I would have given you a good set of options but I'm not
able to access the inet.
> -----Original Message-----
> From: Stefan Onken [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 24, 2008 2:18 PM
> To: [email protected]
> Subject: [gentoo-user] NFS Server Tuning
>
> 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 ?
>
> --
> www.stonki.de: the more I see, the more I know.......
> www.proftpd.de: Deutsche ProFTPD Dokumentation
> www.krename.net: Der Batch Renamer für KDE
> www.kbarcode.net: Die Barcode Solution für KDE
> --
> [email protected] mailing list
--
[email protected] mailing list