Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perform eviction of aggregated metrics upon full #3

Open
praveingk opened this issue Feb 22, 2022 · 1 comment
Open

Perform eviction of aggregated metrics upon full #3

praveingk opened this issue Feb 22, 2022 · 1 comment
Assignees

Comments

@praveingk
Copy link
Collaborator

The data-path xflow (tc/xdp) ebpf program has to detect if the hashmap is full, and will need to evict entries.
Several approaches can be followed, like:

Evicting specific entries based on LRU (Least Recently Used)/ timeout.
Time-based hashmap eviction : Maintain two redundant hashmaps, and switch-over for collection.

@praveingk praveingk self-assigned this Feb 22, 2022
@praveingk
Copy link
Collaborator Author

Exploring if using arrays (to maintain flowid) is more efficient in terms of throughput.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant