Skip to contentSkip to conversation

pktgen and timers in 2.6

DISCUSSION Ben Greear 1 participant 1 message Feb 24, 2004

Subsystems (2)
lore
Share & tools
lore

Ben Greear

author
#0 lore raw

The pktgen module often wants to sleep for a very short amount of time (1ms, maybe even .01 ms) between sending packets....

Currently, it busy-spins to achieve this delay.

Would the real-time timers in 2.6 allow us to run pktgen off of timers instead so that we do not need to sleep or spin?

I have looked around, but I have not been able to find any docs on the new real-time timer features. Is there any documentation for how to use this in kernel modules?

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com