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

[ns] Packet size



Hi ns-users,

In my simulation, I used Pareto traffic generator as follows:

# Attach Pareto traffic agents for N TCP connections
for {set i 0} {$i < $N} {incr i} {
        set p($i) [new Application/Traffic/Pareto]
        $p($i) attach-agent $tcp($i)
        $p($i) set packetSize_ 1500
        $p($i) set burst_time_ 500ms
        $p($i) set idle_time_ 500ms
        $p($i) set rate_ 100k
        $p($i) set shape_ 1.5
        $p($i) set fid_ 0
}

I set the packet size of the generator 1500 bytes.
However, I found the packet size for that source to be 1000 bytes in the
trace file.
Anyone can explain why this could happen?
Thanks in advance,

Yongmin choi