Hi Alexey,
Sorry about the delay in getting you the example. I wanted to clean up
the output/code a little bit. I have attached the tar ball of the source
code of the simulator plus an example showing how cwnd goes from 200 to 1.
It's under 20% random packet loss. You might laugh because the loss rate
is "unrealistically" high, but on long latency paths, this can happen if
the bottleneck queue is not very large.
If you only care about ack/packets sent, please do a 'grep ">>>" file'
on the example file. I have included the TCP recovery state variable to
make things clear in the output. maize is the sender, and
blue is the receiver in the simulation. tcp_time_stamp in the simulation
is kept in rounds/windows of packets i.e., 0 correspondes to the first round
where first loss happens, instead of jiffies.
Thanks,
Cheng
Lab # 626 395 8820
example.tgz
Description: GNU Zip compressed data
|