Project

General

Profile

Actions

Task #5613

closed
VJ VJ

Task #5611: tracking: counters: improve efficiency of stats tracking

counters: reduce size of data structure

Task #5613: counters: reduce size of data structure

Added by Victor Julien over 3 years ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

Current a StatsLocalCounter structure, which is what is used during updates in the packet path, is 32 bytes in size. This is far more than needed. Simple counters like packet counters should just be a single uint64_t, more complex counters might require double that (value+updates).

VJ Updated by Victor Julien 5 months ago Actions #1

  • Status changed from New to In Review
  • Assignee changed from OISF Dev to Victor Julien
  • Target version changed from TBD to 9.0.0-beta1

VJ Updated by Victor Julien 4 months ago Actions #2

  • Status changed from In Review to Closed
Actions

Also available in: PDF Atom