ipfs/kubo

Block cache lock contention

Open

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

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Go (13,906 star) (2,725 fork)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.

貢獻者指南