-
lumberjack123
-
lumberjack123
Has anybody here seen something like this? ^
-
ndorf
or -- hear me out here -- just use monero
-
Rucknium[m]
lumberjack123: Yes. I run this webapp:
fusionstats.redteam.cash
-
[Syntax]
My wallet is syncing super slow.. like 18 blocks per minute..
-
[Syntax]
says 8 days to sync 300k blocks..
-
moneromooo
Is the blockchain on a spinning HDD ?
-
[Syntax]
any ideas?
-
[Syntax]
yes
-
moneromooo
Are you on Windows ?
-
[Syntax]
the wallet is..
-
moneromooo
Is monerod running on Windows ?
-
[Syntax]
yes
-
moneromooo
Then you can:
-
moneromooo
- exit monerod
-
moneromooo
- copy the blockchain (data.mdb) to another file for backup
-
moneromooo
- restart monerod with this extra parameter: --db-sync-mode fast:async:1000000
-
moneromooo
If all goes well, it'll be faster.
-
moneromooo
However, windows is a bit shite and the chain can become corrupt if something goes wrong with these settings. If it does, copy the backup back.
-
hyc
^ windows is particularly unreliable though. any crash will mean starting over from scratch
-
moneromooo
Alternatively, use a SSD if you have one.
-
[Syntax]
Do you think its slow because the old file is corrupted? previous sync was interrupted
-
[Syntax]
and then it became noticably slower
-
moneromooo
When you start monerod, it's supposed to tell you it'll be slow if it sees a spinning HDD. Does it do so ? Might not have been implemented on windows...
-
moneromooo
It's slow because lots of seeks and writes, and HDDs are bad at that.
-
[Syntax]
Im copying the blockchain to an SSD, going to see if that helps any.
-
[Syntax]
35 min to copy it.. :/
-
[Syntax]
ahh its going down.. 16min
-
moneromooo
Make sure monerod is down when you do it.
-
gingeropolous
"2022-03-25 15:04:12.864 I Synced 2576400/2587413 (99%, 11013 left, 34% of total synced, estimated 1.7 hours left)
-
gingeropolous
"
-
gingeropolous
those percentages make my brain hurt
-
moneromooo
How much ? 20% hurt ? 40% hurt ? more ?
-
fluffypony
gingeropolous: we can make it like the Windows file copy dialog instead
-
fluffypony
-
gingeropolous
lulz
-
gingeropolous
the last % must be the size.
-
gingeropolous
thats what im going with. its probably already on the stack exchange or some faq somewhere
-
moneromooo
The first % is how much of the chain you've synced.
-
ndorf
it's 99% of the total blockchain, 34% of what was missing when you started monerod
-
moneromooo
The second % is how much of the remaining chain you synced from when you started monerod last.
-
moneromooo
But yes, it's confusing until you're told what it is :D
-
ndorf
maybe the word 'total' shouldn't be there
-
ndorf
dunno.
-
moneromooo
"incremental" maybe ?
-
ndorf
something like that, yeah
-
moneromooo
That would be also confusing, but maybe less so.
-
ndorf
yeah, there's probably a better way to present it
-
ndorf
not enough coffee to think of it at the moment
-
[Syntax]
ok copy complete and bat redirected to new location..
-
gingeropolous
excellent. i'll make a PR to include "drink more coffee to understand these percentages" in that status
-
[Syntax]
give this another try
-
ndorf
[Syntax]: should be much, much faster with SSD (assuming you have decent bandwidth to begin with)
-
ndorf
not only syncing but making new transactions will be much faster, as well
-
[Syntax]
wtf, now its like 40 blocks a second..
-
ndorf
yes
-
[Syntax]
was 1/3 of a block per second before..
-
ndorf
it might get even faster once you get more peers :)
-
[Syntax]
not sure why it would be that big a difference
-
ndorf
because there are a lot of random writes.
-
moneromooo
< moneromooo> It's slow because lots of seeks and writes, and HDDs are bad at that.
-
ndorf
^ that.
-
gingeropolous
solid state drive is that much faster than a little tiny magnetic head on a mechanical arm finding specific locations on a spinning disc
-
[Syntax]
is it not writing the file sequentially? is it updating blocks previously written to the blockchain?
-
[Syntax]
dont really understand what its doing, I thought it was just appending transactions
-
moneromooo
It is a database, not a sequential tape archive or so.
-
moneromooo
Things inside are sorted, not necessarily by height.
-
gingeropolous
well i've made it past bloc ~2450000 on my sync, so i dunno about
monero-project/monero #8194
-
[Syntax]
Well says 2 hours left to sync, instead of 8 days..
-
ndorf
sounds about right
-
selsta
gingeropolous: I also wasn't able to reproduce.
-
moneromooo
You have the same CPU or motherboard ?
-
selsta
No, that's why I why I'm waiting for this person to test with a different CPU so that we can check if it is related.
-
moneromooo
I'd ask them to run the randomx test program, if it still exists.
-
selsta
ok. I left a comment
-
gingeropolous
ima try syncing on this potato: model name : Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz
-
hyc
I can prob fire up my old qx9300 if we need an old CPU
-
hyc
but I think techwise it's the same level as that T8100
-
fluffypony
try get it going on a 1ghz Pentium IV
-
gingeropolous
i shouldn't have sold my gallatin