serious networking (em) performance (ggate and NFS)
problem
Matthew Dillon
dillon at apollo.backplane.com
Mon Nov 22 16:14:22 PST 2004
:Increasing the interrupt moderation frequency worked on the re driver,
:but it only made it marginally better. Even without moderation,
:however, I could lose packets without m_defrag. I suspect that there is
:something in the higher level layers that is causing the packet loss. I
:have no explanation why m_defrag makes such a big difference for me, but
:it does. I also have no idea why a 20Mbps UDP stream can lose data over
:gigE phy and not lose anything over 100BT... without the above mentioned
:changes that is.
It kinda sounds like the receiver's UDP buffer is not large enough to
handle the burst traffic. 100BT is a much slower transport and the
receiver (userland process) was likely able drain its buffer before
new packets arrived.
Use netstat -s to observe the drop statistics for udp on both the
sender and receiver sides. You may also be able to get some useful
information looking at the ip stats on both sides too.
Try bumping up net.inet.udp.recvspace and see if that helps.
In anycase, you should be able to figure out where the drops are occuring
by observing netstat -s output.
-Matt
Matthew Dillon
<dillon at backplane.com>
More information about the freebsd-current
mailing list