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

Increase peer manager cache size to 16384 #3552

Merged
merged 1 commit into from
Feb 4, 2022
Merged

Conversation

shyba
Copy link
Member

@shyba shyba commented Jan 29, 2022

Theoretical impact from raw measurements on memory_profiler was 6mb of memory worst case.
Practical impact of a running node with 500 streams was a reduction (probably because 6mb is irrelevant if compared to overall usage pattern).
This is expected to close #3550 but other PR will follow with iterative find fixes that were discovered in the process.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 69.659% when pulling fd40f29 on bump_dht_cache into 9adfec6 on master.

@jackrobison jackrobison changed the title Bump DHT peer manager cache to 16384 Increase DHT peer manager cache size to 16384 Feb 4, 2022
@jackrobison jackrobison added area: DHT type: improvement Existing (or partially existing) functionality needs to be changed labels Feb 4, 2022
@jackrobison jackrobison merged commit c2294e9 into master Feb 4, 2022
@jackrobison jackrobison deleted the bump_dht_cache branch February 4, 2022 16:59
@jackrobison jackrobison changed the title Increase DHT peer manager cache size to 16384 Increase peer manager cache size to 16384 Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: DHT type: improvement Existing (or partially existing) functionality needs to be changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DHT fails to announce more often on master + investigate high failure rate after LRU fix
3 participants