Today, I update my possion traffic generator[1] in ns3. Durung the test, I do not disable the traffic module, which is enable by default.
I test a a link with one way propagation delaly (100 ms) and maxmium buffer delay (200ms).
uint64_t linkBw = 3000000;
uint32_t msDelay = 100;
uint32_t msQDelay = 200;
It means the traced one way transmission delay should not exceed 300 milliseconds.
But in simulation, I found the traced delay is larget than that. Sme traced delay value is even larger than 3 seconds.
time sequence one way transmisison delay
0.102763 1 102
0.116576 2 109
0.122101 3 106
0.130389 4 106
0.135915 5 105
0.141440 6 105
0.166304 7 114
0.169067 8 117
0.171829 9 116
0.174592 10 118
...
29.283285 3520 1383
29.286049 3521 1385
29.288815 3522 1385
29.291580 3523 1382
29.299877 3524 1382
29.313704 3525 1392
29.321999 3526 1400
When I disable the traffic control module, the delay value falls in reasonable scope.
TrafficControlHelper tch;
tch.Uninstall (devices);
Such problem is first pointed out in[2].
I also make test on ns3-3.30. It seems such unsufferable delay in traffic control module is fixed.
[1] possion-traffic
[2] ns3-rmcat