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.

贡献者指南