Subject: Re: Bad NFS performance
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Dominik Westner <westner@absurd.dnsalias.org>
List: tech-perform
Date: 05/06/2001 15:11:58
Actually there seems to be some difference between  the raid and an 
internal disk.
While the internal disk is locally much slower it performs better 
through NFS compared to the raid.

Internal disk local performance:
boo#  dd bs=1024k count=32 if=/dev/zero of=tmpfile
32+0 records in
32+0 records out
33554432 bytes transferred in 7 secs (4793490 bytes/sec)
boo#
boo# dd bs=1024k count=32 of=/dev/null if=tmpfile
32+0 records in
32+0 records out
33554432 bytes transferred in 1 secs (33554432 bytes/sec)


Internal disk NFS performance:
[icebox:/tmp/boo/tmp] root# dd bs=1024k count=32 if=/dev/zero of=tmpfile2
32+0 records in
32+0 records out
33554432 bytes transferred in 26 secs (1290555 bytes/sec)
[icebox:/tmp/boo/tmp] root# dd bs=1024k count=32 of=/dev/null if=tmpfile2
32+0 records in
32+0 records out
33554432 bytes transferred in 1 secs (33554432 bytes/sec)

Is there a way to make the raid perform better through NFS? I mean for 
NetBSD it's just some scsi device. I don't see how this could be tuned.


many thanks

Dominik