ipfs/kubo

Block cache lock contention

Open

#6.934 aberto em 26 de fev. de 2020

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Go (2.725 forks)batch import
exp/experthelp wantedkind/enhancementstatus/readytopic/perf

Métricas do repositório

Stars
 (13.906 stars)
Métricas de merge de PR
 (Mesclagem média 4d 2h) (28 fundiu PRs em 30d)

Description

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.

Guia do colaborador