lighthouse/book/src
Michael Sproul 375e2b49b3 Conserve disk space by raising default SPRP (#3137)
## Proposed Changes

Increase the default `--slots-per-restore-point` to 8192 for a 4x reduction in freezer DB disk usage.

Existing nodes that use the previous default of 2048 will be left unchanged. Newly synced nodes (with or without checkpoint sync) will use the new 8192 default. 

Long-term we could do away with the freezer DB entirely for validator-only nodes, but this change is much simpler and grants us some extra space in the short term. We can also roll it out gradually across our nodes by purging databases one by one, while keeping the Ansible config the same.

## Additional Info

We ignore a change from 2048 to 8192 if the user hasn't set the 8192 explicitly. We fire a debug log in the case where we do ignore:

```
DEBG Ignoring slots-per-restore-point config in favour of on-disk value, on_disk: 2048, config: 8192
```
2022-04-01 07:16:25 +00:00
..
css Make API friendly to block explorers (#702) 2019-12-19 11:45:28 +11:00
js Add support for multiple testnet flags (#1396) 2020-07-29 06:39:29 +00:00
advanced_database.md Conserve disk space by raising default SPRP (#3137) 2022-04-01 07:16:25 +00:00
advanced_metrics.md Add metrics to VC (#1954) 2020-11-26 01:10:51 +00:00
advanced_networking.md Fix typos in docs (#3121) 2022-03-28 07:14:15 +00:00
advanced-datadir.md Support legacy data directories (#2846) 2021-12-02 14:29:59 +11:00
advanced-pre-releases.md Use "release candidate" in book (#2920) 2022-01-17 06:09:58 +00:00
advanced-release-candidates.md Use "release candidate" in book (#2920) 2022-01-17 06:09:58 +00:00
advanced.md Document the freezer DB space-time trade-off (#808) 2020-01-20 10:01:58 +11:00
api-bn.md Correct typos book (#3099) 2022-03-20 22:48:15 +00:00
api-lighthouse.md Conserve disk space by raising default SPRP (#3137) 2022-04-01 07:16:25 +00:00
api-vc-auth-header.md Implement standard keystore API (#2736) 2022-01-30 23:22:04 +00:00
api-vc-endpoints.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
api-vc-sig-header.md Implement VC API (#1657) 2020-10-02 09:42:19 +00:00
api-vc.md Implement standard keystore API (#2736) 2022-01-30 23:22:04 +00:00
api.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
checkpoint-sync.md Add a section on using infura as the checkpoint sync provider (#2797) 2021-11-10 23:43:12 +00:00
cli.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
contributing.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
cross-compiling.md Optimized Docker images (#2966) 2022-01-31 22:55:03 +00:00
docker.md Remove Pyrmont testnet (#2543) 2022-02-10 06:02:55 +00:00
faq.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
graffiti.md Set graffiti per validator (#2044) 2021-03-02 22:35:46 +00:00
homebrew.md Document Homebrew package (#2885) 2022-01-08 01:15:07 +00:00
http.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
installation-binaries.md Optimized Docker images (#2966) 2022-01-31 22:55:03 +00:00
installation-priorities.md Add "update priority" (#2988) 2022-02-09 07:44:42 +00:00
installation-source.md Optimise slasher DB layout and switch to MDBX (#2776) 2021-12-21 08:23:17 +00:00
installation.md Document Homebrew package (#2885) 2022-01-08 01:15:07 +00:00
intro.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
key-management.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
key-recovery.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
mainnet-validator.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
pi.md Fix broken links in book (#2912) 2022-01-14 00:38:04 +00:00
redundancy.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
setup.md Updates to tests and local testnet for Ganache 7 (#3056) 2022-03-20 22:48:14 +00:00
slasher.md Optimise slasher DB layout and switch to MDBX (#2776) 2021-12-21 08:23:17 +00:00
slashing-protection.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
suggested-fee-recipient.md Correct typos book (#3099) 2022-03-20 22:48:15 +00:00
SUMMARY.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
system-requirements.md Document system requirements (#1934) 2020-11-19 21:23:56 +00:00
testnet-validator.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
validator-create.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
validator-doppelganger.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
validator-import-launchpad.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
validator-inclusion.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00
validator-management.md Change --testnet flag to --network (#1751) 2020-11-23 23:54:03 +00:00
validator-monitoring.md Update broken api links (#2665) 2021-10-06 00:46:09 +00:00
validator-web3signer.md Correct typos book (#3099) 2022-03-20 22:48:15 +00:00
voluntary-exit.md Correct typos book (#3099) 2022-03-20 22:48:15 +00:00
wallet-create.md Rename Eth1/Eth2 in documents (#3021) 2022-03-02 01:05:08 +00:00