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

Block cache lock contention #6934

Open
Stebalien opened this issue Feb 26, 2020 · 0 comments
Open

Block cache lock contention #6934

Stebalien opened this issue Feb 26, 2020 · 0 comments
Labels
exp/expert Having worked on the specific codebase is important help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature status/ready Ready to be worked topic/perf Performance

Comments

@Stebalien
Copy link
Member

Stebalien commented Feb 26, 2020

There is quite a bit of lock contention in the block cache. On the gateways, out of 32 walk threads:

  • 13 were waiting on the disk.
  • 19 were blocked on the cache.
    • 10 trying to add blocks
    • 9 trying to get them.

We're currently using github.com/hashicorp/golang-lru.

@Stebalien Stebalien added kind/enhancement A net-new feature or improvement to an existing feature topic/perf Performance status/ready Ready to be worked exp/expert Having worked on the specific codebase is important help wanted Seeking public contribution on this issue labels Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exp/expert Having worked on the specific codebase is important help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature status/ready Ready to be worked topic/perf Performance
Projects
None yet
Development

No branches or pull requests

1 participant