monero-project / monero

Monero: the secure, private, untraceable cryptocurrency
https://getmonero.org
Other
8.99k stars 3.11k forks source link

unable to obtain and/or process more than 40 new blocks per day #8144

Closed nkinnan closed 2 years ago

nkinnan commented 2 years ago

This is on a pi 4 with 4 gb ram running https://github.com/monero-ecosystem/PiNode-XMR with usb ssd. The monerod build is obtained via "git clone --recursive -b $RELEASE https://github.com/monero-project/monero.git" according to the scripts. Stats dump after 20 hours from the web portal:

  Monero Version: 0.17.3.0-release
  Node Status: OK
  Busy Syncing: false
  Current Sync Height: 2537680
  P2P Outgoing Connections: 2
  P2P Incoming Connections: 7
  RPC Connections Count: 1
  Network Type: mainnet
  TX Pool Size: 0
  White Peerlist Size: 1000
  Grey Peerlist Size: 4999
  Update Available: false

Three log dumps from this 20 hour long run, the first showing startup behavior, the second after 12 hours, and the last after 20 hours. At the 12 and 20 hours marks, I had obtained 20 blocks each for a total of 40 blocks over 20 hours. bitmonero_startup.log bitmonero_12hrs_tail.log bitmonero_20hrs_tail.log

Any idea where I can look to debug further? If I need a new build it'd be a lot easier for me to grab one via GIT if available than to rebuild on the pi. I'm a windows dev without a lot of linux experience but will give it my best if needed.

tcoza commented 2 years ago

On most Linux distros exFAT is supported by a FUSE driver, not an actual in-kernel filesystem driver. So at best it will always be 2-3x slower than a native filesystem. ext4 is of course a native filesystem.

Yeah, that explanation would be more satisfying if monerod didn't run perfectly fine on my Linux laptop on that same exfat SSD but whatever.

Thank you all for helping me out, really appreciate it.

nkinnan commented 2 years ago

Your laptop has a lot more CPU grunt :)