I'm trying to calculate the queuing time on the relay nodes so as to chose a routing path in a less avg. queue time. My I get any one who works around? I'm using a ns2. Any response is appreciated!
How can I determine the number of packets waiting in a queue for a each and every individual relay nodes? That is suppose there are 2 nodes A and B in a given Network topology. Assuming that we assigned the queue length=50packets for each. Let a number of packets are sent to those two nodes. Here my question is how can I know the number of packets that are waiting in a queue in each nodes so that the next packet should have to be sent to a less queued node? Is there any mathematical formula to determine this?
for a node moving packet from receiving port to giving it out to link to next node,
Given
L: packet length (bits)
R: link bandwidth or rate (bps)
if packets arrive in bursts but periodically, for example, suppose n packets arrive simultaneously every (L/R)n seconds. Then the first packet transmitted has no queuing delay; the second packet transmitted has a queuing delay of L/R seconds; and more generally, the nth packet transmitted has a queuing delay of (n -1)L/R seconds.
Generally moving packet from the receiving port of a node A to the out going port of node A to the link going out to node B has four types of delay (total delay) in one way trip
Olawale E. Olasupo Thanks for your explanations. And my big issue here is how can I know the number of packets that are waiting in a queue in each nodes so that the next packet should have to be sent to a less queued node? Is there any mathematical formula to determine this?
Olawale E. Olasupo Thanks, I tried to refer the ns2 documentation but no explanation about this is there. Esp from where can I get arrival rate and service rate values if you have worked with them?