Subject: poor NFS/amd performance
To: None <port-i386@netbsd.org>
From: Simon J. Gerraty <sjg@crufty.net>
List: port-i386
Date: 08/18/2003 11:43:15
On Mon, 18 Aug 2003 10:51:27 -0700, "Simon J. Gerraty" writes:
>nn-6.4.19 built fine and seems to work - except that there is a delay
>of about a minute when moving from one group to the next.
Looks like an NFS or amd issue? ktrace shows it takes 31s for close
of ~/.newsrc.bak to return.
2559 nn 0.000766 RET write 1714/0x6b2
2559 nn 0.000626 CALL close(0x4)
2559 nn 31.668484 RET close 0
and then to close ~/.newsrc
2559 nn 0.000738 RET write 1714/0x6b2
2559 nn 0.000615 CALL close(0x4)
2559 nn 22.199333 RET close 0
~/ is mounted via amd.
The file is 362162 bytes. Network is 10baseT only
ep0 on client is a 3C509
ex0 on server is a 3c905B-TX 10/100
Both machines are running: NetBSD/i386 1.6.1_STABLE
I know I used to get better performance from this client (when it had
an even crappier NIC and was a server ;-) by limiting the NFS writes
to 1024. I don't see anything in amd.conf(5) or amd(8) to suggest how
that might be done.
Perhaps using TCP mounts would help?
--sjg