Project

General

Profile

Actions

Feature #4528

open

Management thread

Added by Junxiao Shi about 6 years ago. Updated over 3 years ago.

Status:
In Progress
Priority:
Normal
Category:
Management
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
12.00 h

Description

NFD currently implements its management protocol in the same thread as packet forwarding. As part of the management protocol implementation, the main thread is doing computationally intensive work, such as packet signing and signature verification, causing significant forwarding delays.

This issue moves NFD management to a separate thread, using the following approach:

  • Data structure locking: Add a lightweight lock to NFD's data structures that are accessed by both forwarding and management. This includes FaceTable, FIB, StrategyChoice, and ContentStore.
  • Management thread separation: Create a management thread. Connect management thread to forwarding through a Unix stream face.

Related issues 3 (2 open1 closed)

Related to NFD - Feature #4530: More efficient communication between threadsIn ProgressDavide Pesavento

Actions
Blocks NFD - Feature #4529: Merge NFD-RIB into management threadNew

Actions
Blocked by NFD - Task #3565: Investigate management threadClosedJunxiao Shi

Actions
Actions

Also available in: Atom PDF