Project

General

Profile

Actions

Feature #4406

closed

ndncatchunks: include RTT stats in final summary

Added by Anonymous over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Start date:
Due date:
% Done:

100%

Estimated time:

Description

The summary of the AIMD pipeline should include a line about minRTT, avgRTT, and maxRTT.

This would make it much easier to compare the performance of two runs in terms of RTT.


Related issues 1 (0 open1 closed)

Related to ndn-tools - Feature #3689: chunks: add flexible loggingDuplicate

Actions
Actions #1

Updated by Davide Pesavento over 6 years ago

  • Tracker changed from Task to Feature
  • Subject changed from ndncatchunks: Include RTT measurements in summary to ndncatchunks: include RTT stats in final summary
  • Start date deleted (12/20/2017)
Actions #2

Updated by Anonymous over 6 years ago

Maybe we can include in this change an additional option to only printing the final summary, but not a line for each packet. This would speed up performance.

Actions #3

Updated by Anonymous over 6 years ago

  • Status changed from New to Code review
  • Assignee set to Chavoosh Ghasemi
Actions #4

Updated by Anonymous over 6 years ago

Actions #5

Updated by Junxiao Shi over 6 years ago

Change 4399,7 test log:

$ head -c10000000 /dev/zero | ndnputchunks /A
Loading input ...
Created 2273 chunks for prefix /A
Data published with name: /A/%FD%00%00%01%60%DB%89%3B%CE

$ ndncatchunks -v /A > /dev/null
(omitted)
All segments have been received.
Time elapsed: 1446.99 milliseconds
Total # of segments received: 2273
Total size: 10000kB
Goodput: 55.287219 Mbit/s
Total # of packet loss events: 1
Packet loss rate: 0.000439947
Total # of retransmitted segments: 0
Total # of received congestion marks: 0
RTT min/avg/max = 2.020/116.820/216.740 ms

OK.

$ ndnputchunks /D < /dev/null
Loading input ...
Created 1 chunks for prefix /D
Data published with name: /D/%FD%00%00%01%60%DB%8C7%1B

$ ndncatchunks -v /D > /dev/null
RTT estimator parameters:
        Alpha = 0.125
        Beta = 0.25
        K = 4
        Initial RTO = 1000 milliseconds
        Min RTO = 200 milliseconds
        Max RTO = 4000 milliseconds
AIMD pipeline parameters:
        Initial congestion window size = 1
        Initial slow start threshold = 2.14748e+09
        Additive increase step = 1
        Multiplicative decrease factor = 0.5
        RTO check interval = 10 milliseconds
        Max retries on timeout or Nack = 3
        Reaction to congestion marks enabled
        Conservative window adaptation enabled
        Resetting cwnd to ssthresh upon loss event
Data: Name: /D/%FD%00%00%01%60%DB%8C7%1B/%00%00
MetaInfo: ContentType: 0, FreshnessPeriod: 10000 milliseconds, FinalBlockId: %00%00
Content: (size: 0)
Signature: (type: SignatureSha256WithRsa, value_length: 256)

Discovered version = 1515511887643
Timeout for Interest /D?ndn.MinSuffixComponents=3&ndn.MaxSuffixComponents=3&ndn.ChildSelector=1&ndn.InterestLifetime=300&ndn.Nonce=4109165024&ndn.Exclude=*,%FD%00%00%01%60%DB%8C7%1B
Found data with the latest version: 1515511887643

(program fails to terminate)

This isn't caused by this Change, so I reported this as #4439.

Actions #6

Updated by Junxiao Shi over 6 years ago

  • Status changed from Code review to Closed
Actions #7

Updated by Junxiao Shi over 6 years ago

  • Has duplicate Feature #3689: chunks: add flexible logging added
Actions #8

Updated by Davide Pesavento over 6 years ago

  • Has duplicate deleted (Feature #3689: chunks: add flexible logging)
Actions #9

Updated by Davide Pesavento over 6 years ago

Actions #10

Updated by Davide Pesavento over 6 years ago

  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF