ipfs/kubo

Block cache lock contention

Open

#6934 aperta il 26 feb 2020

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Go (2725 fork)batch import
exp/experthelp wantedkind/enhancementstatus/readytopic/perf

Metriche repository

Star
 (13.906 star)
Metriche merge PR
 (Merge medio 4g 2h) (28 PR mergiate in 30 g)

Descrizione

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.

Guida contributor