lotus/chain/store
Hector Sanjuan 1bb698619c Ranged-export: Remove CachingBlockstore
The improvements in the range-export code lead to avoid reading most blocks
twice, as well as to allowing some blocks to be written to disk multiple times.

The cache hit-rate went down from being close to 50% to a maximum of 12% at
the very end of the export. The reason is that most CIDs are never read twice
since they are correctly tracked in the CID set.

These numbers do not support the maintenance of the CachingBlockstore
code. Additional testing shows that removing it has similar memory-usage
behaviour and about 5 minute-faster execution (around 10%).

Less code to maintain and less options to mess up with.
2023-02-14 21:08:10 +01:00
..
basefee_test.go feat: support typed errors over RPC 2022-09-27 15:34:01 +00:00
basefee.go chore: fix imports 2022-06-14 17:00:51 +02:00
checkpoint_test.go fix make gen 2022-08-29 16:25:30 +02:00
coalescer_test.go fix make gen 2022-08-29 16:25:30 +02:00
coalescer.go fix make gen 2022-08-29 16:25:30 +02:00
fts.go chore: fix imports 2022-06-14 17:00:51 +02:00
index_test.go fix make gen 2022-08-29 16:25:30 +02:00
index.go chore: fix imports 2022-06-14 17:00:51 +02:00
messages.go Merge branch 'release/v1.20.0' into asr/merge-release-into-master 2023-02-10 18:39:51 -05:00
snapshot.go Ranged-export: Remove CachingBlockstore 2023-02-14 21:08:10 +01:00
store_test.go Merge branch 'release/v1.20.0' into asr/merge-release-into-master 2023-01-20 17:32:29 -05:00
store.go Merge branch 'release/v1.20.0' into asr/merge-release-into-master 2023-02-03 09:27:04 -05:00