Rate Measurement!!
arvind
arvind_venkatesan at yahoo.com
Sun Feb 10 23:57:19 EST 2002
Hi,
I was using this simple code to do some profiling tests.
1. RatedSource(1234,10000000,10000000) -> AverageCounter() -> Discard();
reading the rate handler of the AverageCounter gave me a value 505468.
When I used the following code (with ToDevice instead of Discard)
2. RatedSource(1234,10000000,10000000) -> AverageCounter() -> ToDevice(eth0);
the read handler value for rate was 95264.
Since the 'rate' measures the arrival rate I expected both values to be the same.
Can anybody please explain the discrepancy???
Does ToDevice (by any chance) adjust the rate depending on how much can it
send out? In the second experiment sometimes I occassionally saw
this message : "ToDevice rejected a packet on eth0 !"
Inputs Please !!!
Thanks a Lot!!
-arvind
Arvind Venkatesan
Grad Student
CS Dept
RPI, Troy, NY, 12180
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://amsterdam.lcs.mit.edu/pipermail/click/attachments/20020210/cc237fc1/attachment.htm
More information about the click
mailing list