Professional Documents
Culture Documents
Many TCP
Many TCP
#
# To use many_tcp.tcl to investigate packet drop rates with larger
# initial windows:
# This runs two simulations, one with initial windows of one packet and
# one (-init-win 0) with initial windows as specified in the internet
# draft for larger initial windows, and for each simulation prints out
# the aggregate packet drop rate.
#
# RED, two-way traffic, single congested gateway.
set seed=12345
set params='-print-drop-rate 1 -debug 0 -trace-filename none'
set p1='-bottle-queue-length 50 -bottle-queue-method RED'
set p2='-client-arrival-rate 120 -bottle-bw 10Mb -ns-random-seed '$seed
set p3='-client-mouse-chance 90 -client-mouse-packets 10'
set p4='-client-bw 100Mb -node-number 100 -client-reverse-chance 10'
set p5='initial-client-count 0'