ipfs / ipfs/kubo

Block cache lock contention

Open
#6,934 0 comments 0 reactions 0 assignees View on GitHub
exp/expert help wanted kind/enhancement status/ready topic/perf
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.