Thursday, April 21, 2005

graph summary

1. split the figures in to two types: cwnd+seq and cut_event + cut_window_size
2. calcualte the loss rate for each scenario
3. draw the queue distribution and queue distribution for each packet train.

need to write a program to read queue.trace:
1. scanf("%c %lf %d %d %s %d %s %d %f %f %d %d", event, time, s, d, type, size, flags, flow, source, destination, seq, pktid), look at + - d events only.
2. calculate queue length; per packet loss rate for flow 1 or 2.
3. output one sample to per packet queue length; flow1's to per pakcet queue length or flow2's per flow 2 packet queue length.
4. find the last time the packet (with the same od pair) arrives. if the interval is smaller than (size+ack/c): take it as a burst. otherwise, flush the old record to sample and refresh the record.

0 Comments:

Post a Comment

<< Home