Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Modify link of the document targeting the GitHub URL listed wrong comments #23132

Merged
merged 1 commit into from
Feb 15, 2022

Conversation

saito-kosuke
Copy link
Contributor

Problem

The available here link of the document below
https://docs.solana.com/running-validator/validator-start#limiting-ledger-size-to-conserve-disk-space
is targeting the GitHub URL listed wrong comments.

Summary of Changes

I update the current link with

// - To try and keep the RocksDB size under 400GB:
// Seeing about 1600b/shred, using 2000b/shred for margin, so 200m shreds can be stored in 400gb.
// at 5k shreds/slot at 50k tps, this is 40k slots (~4.4 hours).
// At idle, 60 shreds/slot this is about 3.33m slots (~15 days)
// This is chosen to allow enough time for
// - A validator to download a snapshot from a peer and boot from it
// - To make sure that if a validator needs to reboot from its own snapshot, it has enough slots locally
// to catch back up to where it was when it stopped
pub const DEFAULT_MAX_LEDGER_SHREDS: u64 = 200_000_000;
// Allow down to 50m, or 3.5 days at idle, 1hr at 50k load, around ~100GB
pub const DEFAULT_MIN_MAX_LEDGER_SHREDS: u64 = 50_000_000;

Fixes #23113

@mergify mergify bot added the community Community contribution label Feb 15, 2022
@mergify mergify bot requested a review from a team February 15, 2022 06:12
Copy link
Contributor

@steviez steviez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@steviez steviez merged commit a43d04d into solana-labs:master Feb 15, 2022
jeffwashington pushed a commit to jeffwashington/solana that referenced this pull request Feb 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
community Community contribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modify link of the document targeting the GitHub URL listed wrong comments
3 participants