NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/57160: NFS (over TCP) very slow in 10_BETA



I just noticed that if there is significant network traffic in background when
reading my mailbox, nfs is back at full speed.
I noticed this while I had a file download over ADSL.
A single ping has noticeable effect; a ping -i0.1 gives an appreciable
boost. 

Without background traffic reading a small (45 messages) mailbox takes 6 or 7
seconds. With a background ping, reading the same mailbox takes half the
time. With ping -i0.1 it's about 0.5s

For a large mailbox, with ping -i0.1 in background it takes about 15s.
With a
cat /dev/zero | ssh someremotehost "cat > /dev/null"
in background, this time is down to 4 or 5s, with is the speed I had with
NetBSD 9.x

Maybe the issue is related to my network adapter (like: RX interrupts are
sometime missed). It's a
[     1.032289] alc0 at pci2 dev 0 function 0: Atheros AR8161 PCIe Gigabit Ethernet
[     1.032289] alc0: interrupting at ioapic0 pin 16
[     1.032289] alc0: Ethernet address 94:de:80:21:be:c0
[     1.032289] atphy0 at alc0 phy 0: Atheros AR8035 10/100/1000 PHY, rev. 9
[     1.032289] atphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto

This driver got some changes between -9 and -10, I have not investigated yet.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index