mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 09:37:38 +00:00
1a1ca49ffa
reasons: - mainnet: even nodes with small FreeList - still have millions of pages there `GC: 46446830 5.8%`. Probability of getting into state where space re-use will be slower than free-list grow is > 0% (we now using db version which limiting freelist-overhead, but increasing such probability) - polygon: size is > 8Tb - hardware slowly moving towards bigger pageSizes (because for OS/Hardware) maintenance of pages metadata is also not free (metadata, lists, LRU, etc...). Macbook's default pagesize now is 16Kb. Network disks in cloud are also likely working with 16Kb pages. pros: - less db fragmentation (better FS-level compression) - less overflow pages in DB (which also reducing free-list overhead) - smaller free-list - bigger key-size-limit - no 8Tb db size limit - can setup FS - to also use bigger pagesize - it will reduce FS overhead also - reducing amount of page-faults during batch-reads (if FS pagesize match) - less write syscalls during commit (when WriteMap disabled) cons: - ~10% more IO: because of more RAM waste and just because need read/write bigger pages (not all updates are co-located). |
||
---|---|---|
.. | ||
flags | ||
cmd.go | ||
flags_test.go | ||
flags.go |