lotus/chain
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
..
actors itests: Test EVM bytecode getters, check bytecode hash 2023-02-09 13:23:17 +01:00
beacon gas estimation shed command 2022-11-15 21:39:56 -05:00
consensus Merge branch 'release/v1.20.0' into asr/merge-release-into-master 2023-02-10 18:39:51 -05:00
ethhashlookup simplify transaction hash db queries, prevent fd leaks 2023-01-30 11:03:12 -05:00
events Merge branch 'release/v1.20.0' into asr/merge-release-into-master 2023-02-10 18:39:51 -05:00
exchange fix: error checks 2023-01-04 20:10:21 +08:00
gen chore: all: bump go-libipfs to replace go-block-format 2023-01-26 17:03:18 +01:00
market Address simple linter issues 2022-11-24 16:32:27 +00:00
messagepool Merge branch 'release/v1.20.0' into asr/merge-release-into-master 2023-01-16 10:51:22 -05:00
messagesigner fix: Don't call WalletExport in msg signing flows 2023-02-10 02:37:59 +01:00
rand fix make gen 2022-08-29 16:25:30 +02:00
state lint 2022-11-09 11:38:16 +02:00
stmgr Merge branch 'release/v1.20.0' into asr/merge-release-into-master 2023-02-10 18:39:51 -05:00
store Ranged-export: Remove CachingBlockstore 2023-02-14 21:08:10 +01:00
sub chore: all: bump go-libipfs to replace go-block-format 2023-01-26 17:03:18 +01:00
types Merge branch 'release/v1.20.0' into asr/merge-release-into-master 2023-02-13 11:45:09 +00:00
vectors NV18: Filecoin EVM runtime + Actor Events + EthAccount + EAM + f4 addressing (#9998) 2023-01-13 19:11:13 +00:00
vm Merge branch 'release/v1.20.0' into asr/merge-release-into-master 2023-02-10 18:39:51 -05:00
wallet NV18: Filecoin EVM runtime + Actor Events + EthAccount + EAM + f4 addressing (#9998) 2023-01-13 19:11:13 +00:00
badtscache.go chore: fix imports 2022-06-14 17:00:51 +02:00
block_receipt_tracker.go Don't use go-libp2p-core 2022-08-25 14:20:41 -04:00
checkpoint.go chore: fix imports 2022-06-14 17:00:51 +02:00
sync_manager_test.go fix make gen 2022-08-29 16:25:30 +02:00
sync_manager.go Don't use go-libp2p-core 2022-08-25 14:20:41 -04:00
sync_test.go NV18: Filecoin EVM runtime + Actor Events + EthAccount + EAM + f4 addressing (#9998) 2023-01-13 19:11:13 +00:00
sync.go chore: all: bump go-libipfs to replace go-block-format 2023-01-26 17:03:18 +01:00
syncstate.go Expose WorkerID 2020-10-28 20:22:07 +01:00
types_test.go fix make gen 2022-08-29 16:25:30 +02:00