Chapter 5 Advanced Configurations
wadd ns tcpProfile name
wsh ns tcpProfile
Example
add ns tcpProfile tcp_profile1
Parameters for creating a TCP profile
name (Name*)
The name for a TCP profile. A TCP profile name can be from 1 to 127 characters and must begin with a letter, a number, or the underscore symbol (_). Other characters allowed after the first character in a name are the hyphen
WS (Window Scaling)
Enable or disable window scaling. Possible values: ENABLED, DISABLED. Default:
DISABLED.
WSVal (Factor)
The factor used to calculate the new window size. Possible values: 0 to 8. Default: 4.
maxBurst (Maximum Burst Limit)
The maximum number of TCP segments allowed in a burst. Minimum value: 2.
Maximum value: 10. Default: 6.
initialCwnd (Initial Congestion Window Size)
The initial maximum upper limit on the number of TCP packets that can be outstanding on the TCP link to the server. Minimum value: 2. Maximum value: 6. Default: 4.
delayedAck (TCP Delayed ACK Time-out (msec))
The
value: 200. Default: 300.
oooQSize (Maximum ooo Packet Queue Size)
The maximum size of
infinite). Maximum value: 512. Default: 64.
maxPktPerMss (Maximum Packets Per MSS)
The maximum number of TCP packets allowed per maximum segment size (MSS). Minimum value: 0. Maximum value: 1460. Default: 0 Means that no maximum is set.)
140