[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Variables in Queuemonitor Objects



Hi, 

My program monitors packets and bytes that have arrived 
on a link using parrivals_ and barrivals_. 
The result is (time, packets, bytes):

0 0 0
1 266 55860        #  1 packet = 210 bytes
2 462 118184       #  1 packet = 255.** bytes
3 741 180844       #  1 packet = 244.** bytes
4 1007 243216
5 1286 305876
6 1537 368354
7 1807 430752

I set packetSize_ to be 1024 (TCP and CBR), 
so 1 packet = 128 bytes. 

Could anyone please explain why the result gets 
different proportions?

I used "queue-sample-timeout" in the same program and got  
$meanBytesQ and $meanPktesQ, the values of Packets/Bytes
were also variouse, which were around 200. It might understandable, 
because it used integrator to do approximate computation, right?

Thank you!

--bc-

++++++++++++++++++++++++++++++++++++++++++++++++++++
Bing Chen   (702)895-1428      [email protected] 
Dep. of Electrical and Computer Engineering
University of Nevada, Las Vegas, NV  89154
++++++++++++++++++++++++++++++++++++++++++++++++++++