Project

General

Profile

Actions

Task #5613

closed

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

counters: reduce size of data structure

Added by Victor Julien about 3 years ago. Updated 16 days 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).

Actions

Also available in: Atom PDF