ipfs/kubo

Block cache lock contention

Open

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

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

Repository metrics

Stars
 (13,906 stars)
PR merge metrics
 (平均マージ 4d 2h) (30d で 28 merged PRs)

説明

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.

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