Skip site navigation (1)Skip section navigation (2)


| raw e-mail | index | archive | help
Come on, we want to handle 100's of kpps.  Something is very wrong if
we cannot handle 100 pps on one interface in one direction.  Other
interfaces and directions shouldn't be allowed to dominate so much
that anthing gets starved.

I would agree that a 5 second timeout is too short for 1 Mbps ethernet,
iff 1 Mbps NICs had rx rings with 512 entries :-), since 1 Mbps can
only handle 82 pps with 1518-byte packets.  The timeout was 2 seconds
for 10 Mbps ethernet in most drivers in FreeBSD-1 in 1994.

Drivers could easily have a bug like cleaning the tx ring without
adjusting the watchdog timer.

Did you see the effects for em under UP?  Under SMP, the race decrementing
the timer made it hard to tell what caused watchdog timeouts.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>