Bug #4551
Updated by Chavoosh Ghasemi about 6 years ago
I have ported catchunks and putchunks tools to ndnSIM and after running them by different bandwidths I just realized for small bandwidth the printSummary function prints an odd output, like the following one: `All segments have been received. Time elapsed: 591.6 milliseconds Total # of segments received: 9 Total size: 35.225kB Goodput: 476.335363 kbit/s Total # of packet loss events: 2 Packet loss rate: 0.222222 Total # of retransmitted segments: 10 Total # of received congestion marks: 0 RTT `RTT min/avg/max = 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546 70353751698604991057655128207624549009038932894407586850845513394230458323690322294816580855933212334827479782620414472316873817718091929988125040 4026184124858368.000/0.000/0.000 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000/0.000/0.000 ms` As we can see the value of minRTT is so big, and this is because we initialize minRTT with `numeric_limits<double>::max()` and apparently it does not change, so after calling printSummary function it prints out the max value of double type. Anyways, I am wondering **why minRTT does update**. BTW, You can see the above whole output in continue where it shows we have some packet loss, but all segments are received, successfully (i.e. 9 out of 9). `All segments have been received. Time elapsed: 591.6 milliseconds Total # of segments received: 9 Total size: 35.225kB Goodput: 476.335363 kbit/s Total # of packet loss events: 2 Packet loss rate: 0.222222 Total # of retransmitted segments: 10 Total # of received congestion marks: 0 RTT min/avg/max = 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000/0.000/0.000 ms`