ipfs/kubo

Block cache lock contention

Open

#6,934 建立於 2020年2月26日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Go (2,725 fork)batch import
exp/experthelp wantedkind/enhancementstatus/readytopic/perf

倉庫指標

Star
 (13,906 star)
PR 合併指標
 (平均合併 4天 2小時) (30 天內合併 28 個 PR)

描述

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.

貢獻者指南