Project

General

Profile

Actions

Task #4945

closed

Use constant interest timeout for first Interest via Segment Fetcher

Added by Ashlesh Gawande over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

Tianxiang reported very frequent memory allocations when running PSync in ndnSIM traced to ndn-cxx SegmentFetcher. In sync if we set the sync interest lifetime to a particular value, PSync should send the sync interest on that schedule (sync interest lifetime / 2). (This is irrespective of frequent memory allocation problems). But due to the usage of SegmentFetcher, sync interest is sent more frequently (after 1 second, 2 second, and 4 second).

So we should add an option to SegmentFetcher to use constant interest timeout for first segment and turn it on in PSync.

Actions

Also available in: Atom PDF