Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Feature: Benchmark USB stick read IOPS and warn if sync will go slowly. #76

Open
BenWestgate opened this issue Jul 31, 2023 · 5 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed priority: low Issues raised by only myself

Comments

@BenWestgate
Copy link
Owner

do we have the ability to check if the space available is on SSD rather than HDD?
my mean, it will be useful to at least hint to users that datadir location on HDD will be the cause of several weeks IBD, so, the user can decide to move to another machine or wait

Originally posted by @pythcoiner in wizardsardine/liana#570 (comment)

Bails could do a random read test of the storage device at startup and warn users when their particular storage size, memory size and storage speed combo will result in sync greater than a week.

@BenWestgate BenWestgate added enhancement New feature or request good first issue Good for newcomers priority: low Issues raised by only myself labels Jul 31, 2023
@BenWestgate BenWestgate added priority: medium Issues raised by 1 tester and removed priority: low Issues raised by only myself labels Aug 30, 2023
Copy link

Stale issue message

@BenWestgate
Copy link
Owner Author

Reducing priority to low because AssumeUTXO will make sync speed less critical.

Will need a good bash or python tool to do the Read IOPS test that does NOT require admin rights. My attempts have been inaccurate.

@BenWestgate BenWestgate added documentation Improvements or additions to documentation help wanted Extra attention is needed priority: low Issues raised by only myself and removed priority: medium Issues raised by 1 tester no-issue-activity labels Mar 28, 2024
@BenWestgate BenWestgate changed the title > do we have the ability to check if the space available is on SSD rather than HDD? New Feature: Benchmark USB stick read IOPS and warn if sync will go slowly. Mar 28, 2024
Copy link

Stale issue message

@BenWestgate
Copy link
Owner Author

Two factors: write speed which we can benchmark during the creation of the file filled with random data.

This has a minimum to be able to write the blockchain to disk fast enough to do 600GB in a week.

Meanwhile IOPS needs to be several thousand or 10MB/s of 4k qd=1 random reads to have a chance of a quick sync when the entire chainstate cannot fit in ram. Currently requires 16GB to make the random reads irrelevant.

@BenWestgate
Copy link
Owner Author

BenWestgate commented May 29, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed priority: low Issues raised by only myself
Projects
None yet
Development

No branches or pull requests

1 participant