[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [ns] INITIAL CWND
Hi,
I set (WindowInit_ = 5) in my tcp simulation, and I do see at the start
of the simulation, cwnd indeed has the value of 5.
According to NS document(chapter 29.1.1), TCP reacts to packet lost by
setting ssthresh_ to max[current window size, 2] and initialize cwnd_
back to
windowInit_. So I expected cwnd to be initialized to 5 when it sees a
packet
drop. However, what I noticed from the simulation is TCP resets cwnd =1
instead
of cwnd=5. I'm fairly new to NS, so I'm not sure if there's something
wrong with the code.
I'd appreciate if anyone has an explanation as to why TCP resets cwnd to
1 instead of
the user specified WindowInit_ value.
Thank you.
Susan
-----Original Message-----
From: Tsironis Fotis [mailto:[email protected]]
Sent: Friday, September 14, 2001 6:41 AM
To: [email protected]
Subject: [ns] INITIAL CWND
Hi,
I set the values {1,2,4,8} to the "WindowInit_" variable. This var is
supposed to control the initial value for cnwd. However nothing happens
(cwnd always begins with initial value = 1).
Any suggestions??
Fotis
______________________________________________
COMPUTER UNIVERSITY
ENGINEERING and of
INFORMATICS PATRAS
DEPARTMENT
______________________________________________
CONTACT
via mail: [email protected]
______________________________________________