* pktgen 1.2 hangs in rh 2.4.20-18 smp
@ 2003-07-09 14:24 Kambo Lohan
0 siblings, 0 replies; only message in thread
From: Kambo Lohan @ 2003-07-09 14:24 UTC (permalink / raw)
To: linux-kernel
Pktgen has intermittent stalls playing about 770mbits/sec traffic through an
intel e1000 nic. We are using count = clone_skb=1000000, looping it with a
script. Each run takes 10 seconds assuming it doesnt hang. After putting
in some code diagnostic code, pktgen is hanging after all packets are sent
and it is looping waiting for the skb->users to get to 1. So you have to
hit control c to get it out of that loop. We got tired of that so we made
it go through the wait loop a max of 1000 times with a per loop mdelay(10)
and then automatically break out.
We ran it overnight and got 49 instances where it had to give up after
waiting 10 seconds for users to get to 1. Each time, skb->users was stuck
at 2. This is a dual p3 600.
I suppose we can work around this by simply making the test infinite and
break it when needed but the behavior was a little concerning...at least I
dont know if these skbs are ever being finally released...
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-07-09 14:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-09 14:24 pktgen 1.2 hangs in rh 2.4.20-18 smp Kambo Lohan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®