ipfs/kubo

Block cache lock contention

Open

#6,934 opened on 2020年2月26日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)Go (13,906 stars) (2,725 forks)batch import
exp/experthelp wantedkind/enhancementstatus/readytopic/perf

説明

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.

コントリビューターガイド

Block cache lock contention · ipfs/kubo#6934 | Good First Issue