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

monerod sync performance #195

Open
hinto-janai opened this issue Jun 26, 2024 · 2 comments
Open

monerod sync performance #195

hinto-janai opened this issue Jun 26, 2024 · 2 comments
Labels
C-discussion General discussion or questions. I-perf Problems and improvements with respect to performance of code.

Comments

@hinto-janai
Copy link
Contributor

What

This issue is a scratch pad for writing down monerod sync performance tests on a VPS.

VPS

  • Intel® Xeon® E5-2698v3 - 16 threads
  • 32 GB memory
  • 320 GB NVME SSD (unknown random/sequential read/write speeds)
  • 10 Gb/s networking

monerod.conf

fast-block-sync=0 # Enabled/disabled depending on test

prune-blockchain=false
db-sync-mode=fastest:async
max-concurrency=0
prep-blocks-threads=16
log-level=1
no-zmq=true
disable-dns-checkpoints=true
enable-dns-blocklist=true
out-peers=512
in-peers=0
limit-rate-up=1280000
limit-rate-down=1280000

add-priority-node= # ... lots and lots of fast nodes
@hinto-janai hinto-janai added C-discussion General discussion or questions. I-perf Problems and improvements with respect to performance of code. labels Jun 26, 2024
@hinto-janai
Copy link
Contributor Author

hinto-janai commented Jun 26, 2024

2024-06-19 -> 2024-06-26

  • fast-block-sync was disabled
  • 543600s wall clock uptime (6.29 days)
  • 1192061s CPU time (2.19 CPU usage, 13% out of total)
  • 3179629 height (chain-tip at the time) (5.84 blocks per second)
  • Peak memory usage was ~30GB, only around 5-10GB being required, the rest was cache

@hinto-janai
Copy link
Contributor Author

hinto-janai commented Jun 27, 2024

2024-06-26

  • fast-block-sync was enabled
  • 37692s wall clock uptime (~10 hours)
  • 55877s CPU time (1.48 CPU usage, 9.3% out of total)
  • 3109975 height (82.5 blocks per second)
  • Peak memory usage was ~23GB, only around ~8GB being required, the rest was cache

At the current rate of 5 blocks / second, it will take another 3.86 hours to finish to the previous height, 3179629, for a total of 51622s wall clock uptime or 14.33 hours.

2024-06-27

It took a total wall clock time of ~22 hours to reach the previous height (3179629).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-discussion General discussion or questions. I-perf Problems and improvements with respect to performance of code.
Projects
None yet
Development

No branches or pull requests

1 participant