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

Preallocate the map in Aggregation process #268

Open
srikartati opened this issue Oct 22, 2021 · 1 comment
Open

Preallocate the map in Aggregation process #268

srikartati opened this issue Oct 22, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@srikartati
Copy link
Contributor

Describe the bug
In scale setups, memory utilization of aggregation process can be very high.

In PoCs with preallocation, total memory consumption went down by 20-30% but there is no effect in the difference between sys and heap usage; there is still fragmentation.

To Reproduce
We already see this in Antrea performance tests.

Expected behavior
Cut down the memory consumption.

Versions
Please provide the version of go-ipfix where this problem is observed.

@srikartati srikartati added the bug Something isn't working label Oct 22, 2021
@srikartati
Copy link
Contributor Author

@wsquan171 Please add if I missed something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant