netdev
[Top] [All Lists]

example showing how cwnd gets to one

To: <kuznet@xxxxxxxxxxxxx>, <werner@xxxxxxxxxxxxxxx>
Subject: example showing how cwnd gets to one
From: Cheng Jin <chengjin@xxxxxxxxxxxxxx>
Date: Sat, 18 Jan 2003 22:55:16 -0800 (PST)
Cc: "netdev@xxxxxxxxxxx" <netdev@xxxxxxxxxxx>
In-reply-to: <20030114010157.M1516@xxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
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

Attachment: example.tgz
Description: GNU Zip compressed data

<Prev in Thread] Current Thread [Next in Thread>