Re: 2 Questions about Linux

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 2 Feb 1998 19:48:19 +0000 (GMT)


> But what is the overhead of doing this? I'd like not to impact the flow of data
> as much as possible (TCP driver). How much CPU can I expect that call to
> chew up?

On a PPro or Pentium its about 70 clocks or so - not good but not too bad.
If you are really serious put a hardware time stamper on the interrupt
line, and set the skb->stamp field in the driver. Been there, done that 8)

Alan