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

test(share/eds/cache): benchmark eds cache eviction performance #2778

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

walldiss
Copy link
Member

@walldiss walldiss commented Sep 29, 2023

Adds benchmarks to ensure cache overload performance.

  1. Measures time to fully load accessor from disk to cache
  2. Measures time it takes for multiple parallel ipld readers (clients) to sample eds directly from store, when there is not enough cache slots. Results shows it takes ~12s to sample for parallel 10 readers.

@codecov-commenter
Copy link

Codecov Report

Merging #2778 (47d2edf) into main (849cb67) will increase coverage by 0.12%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2778      +/-   ##
==========================================
+ Coverage   51.92%   52.04%   +0.12%     
==========================================
  Files         161      161              
  Lines       10827    10827              
==========================================
+ Hits         5622     5635      +13     
+ Misses       4710     4701       -9     
+ Partials      495      491       -4     

see 8 files with indirect coverage changes

@walldiss walldiss merged commit bb9658a into celestiaorg:main Oct 2, 2023
15 of 17 checks passed
vgonkivs pushed a commit to vgonkivs/celestia-node that referenced this pull request Oct 5, 2023
…stiaorg#2778)

Adds benchmarks to ensure cache overload performance.
1. Measures time to fully load accessor from disk to cache
2. Measures time it takes for multiple parallel ipld readers (clients)
to sample eds directly from store, when there is not enough cache slots.
Results shows it takes ~12s to sample for parallel 10 readers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:storage kind:testing Related to unit tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants