> Attila Nagy wrote:
> > > > the "em" driver (if "gx" is already in the initial plan), because it
> > > > reportedly works better (for example I couldn't do NFS serving with UDP
> > > > packets bigger than the MTU with that, while the "em" driver works OK).
> > >
> > > It *does* frag packets bigger than the MTU, right?
> > 
> > netstat didn't show any errors regarding to that. If I used an NFS
> > readsize, smaller than the 1500 bytes MTU it worked (was slow, but
> > worked).
> > netstat's frag counters were increased.
> > I couldn't use tcpdump (I had no bpf support) to see what happens on the
> > wire...
> 
> Sending datagrams bigger than the MTU is a bad idea.
> 
> I would be real tempted to drop the packets and send "don't fragment"
> ICMP responses to beat up anyone who abused UDP by sending larger
> than the MTU.
> 
> I guess this is about Linux UDP NFS clients, in particular.

If this is the same "problem" nfs had all the years, then nobody is
violating the MTU. What was happening is this: NFS sends a big packet (for 
efficiency) and that gets fragmented by the ip layer and then sent as so
many back to back packets. If the card on the receiving could not receive
so many back to back packets and looses one or more, nfs will get stuck
retrying the same big packet and the same thing happening over and over.

John
-- 
John Hay -- [EMAIL PROTECTED] / [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to