[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How to save in NS



hello,

today was my first day at ns..

i located ns on some other dept in my school and also ran some tcl
scripts from the tutorial.

i have understood the basics of tcl in setting up the nwtwork topology.

now my problem is as follows:

(1) Consider modifying TCP's congestion response. TCP does cwnd = cwnd/2
on a packet loss and does cwnd += 1/cwnd on successful transmission of a
packet during steady state. Consider the following modifications:

(a) cwnd = 3/4 cwnd,  cwnd += 1/(2*cwnd)


Use 'ns' to simulate new flavors of TCP and compare their performance
against TCPReno. Do the following experiments on a simple configuration
of two routers R1 and R2 connected with a bottleneck link of 1 Mbs
bandwidth and 4 senders connected to R1 and 4 receivers connected to 
R2, each of them have a BW of 1Mbs. Assume you use DropTail router
configuration.



my question is for this problem do i need to change the code of some file 
such as tcp.cc ?

or just modification of the parameter using tcl script would do.