Hi all,

I've noticed a very weird phenomenon with ping which I can't explain.

I have two machines with 2 NICs.
When I started a ping -f with larger packet size (-s 3052) with NIC 1
and simultaneously hammered NIC 2 with UDP using ttcp, I got duplicate
ping replies (on NIC 1, of course). Not many: only about 1 in 10000 to
100000, but still, I can't explain it.
Since I had a similar problem a while back with another driver I
developed (for OS X) and that turned out to be due to lost interrupts
and my ISR not terminating quickly enough, I decided to limit the number
of iterations of my ISR to 3.
That improved the situation somewhat: I now only get 1 duplicate ping in
1E8.
The real kicker is: I see this effect when my driver is the one doing
the UDP receive. The ping duplicates also happen with other card
drivers, so it's not a simple transmit/receive ring problem with my
driver. When I use a different card driver to do the UDP receives, the
effect goes away.

It seems like the receive interrupt activity on my driver affects the
ping replies of the _other_ drivers.

Does anyone have any idea what could be going on?

Cheers,

Gerald

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to