Queue

Eddie Kohler kohler at icir.org
Thu Nov 14 10:09:23 EST 2002


> Hi Eddie,
> I looked into it a bit more.Here is a brief sample of what I am trying.
> FromDevice(eth1)->Counter->Queue(10000)->DelayUnqueue(0.5)->Counter->ToHost
> now it is a gigabit link being driven at 100's of mbps. 
> Say I have 200Mbps at delays of 500ms. I notice that the first counter
> shows the correct rate but the second counter is showing a much lower
> rate. Specifically Delay Unqueue seems to be pulling packets much slower
> resulting in overflow of Queue.Any thoughts ?
> Adam

Hi Adam,

Hmm. Maybe your input packets do not have timestamp annotations set. Then
DelayUnqueue will delay each packet by DELAY *after that packet arrives at
the DelayUnqueue*. Which would lead to an output of one packet every DELAY
seconds.

Device drivers are supposed to set the packet's timestamp, but I believe
our polling e1000 driver does not. :(

Try putting a SetTimestamp() element before the Queue. Does that help?

Eddie




More information about the click mailing list