Author

Topic: Syncing Node is SO SLOW and it always Disconnects/Crashes, please help. (Read 153 times)

legendary
Activity: 3794
Merit: 1375
Armory Developer
USB2 is 10x slower than SATA HDDs.
Yes, but it works fine for me, since I'm sitting behind a 6 MBit/s download connection. Wink Or do I miss the point?

It won't be TOO much of a pain when syncing the chain, but when bootstrapping an ArmoryDB, it will slow stuff down to a halt. That makes it harder on you to detect issues with your setup, but if you can get away with it, more power to you. However I'd prefer you don't recommend that to newbies.
jr. member
Activity: 99
Merit: 4
USB2 is 10x slower than SATA HDDs.
Yes, but it works fine for me, since I'm sitting behind a 6 MBit/s download connection. Wink Or do I miss the point?
sr. member
Activity: 525
Merit: 282
Excuse, droark, but this is not true at all!

Technically? Yeah, I suppose you could toss any old drive into a USB2 enclosure, let it sit for a couple of days, and eventually have everything properly connected. As goatpig said, a lot of assumptions are being made.

- Ideal conditions. Hard drives grind to a halt when they're doing non-sequential reads and writes over different files. (Even SSDs kinda do it too, although it's nowhere near as bad.)
- Core's fighting for drive access too and has its own HD issues, not to mention CPU usage. (It's hard to read or write when the CPU is getting chewed up!) Other programs and the OS may be accessing the drive too.
- Is it possible there are really subtle bugs in Armory that make things worse for hard drives? Possibly. Anybody want to offer up some patches? goatpig & I are busy with various features we're working to get off the ground while balancing other factors in our lives. For better or worse, because SSDs are a reasonable workaround, we're not in a hurry to troubleshoot this one.

That said, your directions for the OP are good. Thanks.
legendary
Activity: 3794
Merit: 1375
Armory Developer
Quote
Any hdd would do it. It doesn't have to do anything with being an SSD or not. Any regular sata-based hdd would to it too, even an external one connected via USB 2.0.

You want a SSD because HDDs are just too slow. There is over 150GB of data to process to parse the blockchain, and it's not getting smaller. A modern HDD can handle at best ~120MB/s of sequential read. That's over 20min in ideal conditions for a single pass of the chain. You need 2 passes to build & scan, and the conditions are obviously not going to be ideal, since the code doesn't only access data sequentially, and it is writing back the DB at the same time. USB2 is 10x slower than SATA HDDs.
jr. member
Activity: 99
Merit: 4
Excuse, droark, but this is not true at all!

Any hdd would do it. It doesn't have to do anything with being an SSD or not. Any regular sata-based hdd would to it too, even an external one connected via USB 2.0.

@whenwhatwherewhyhow: Do the following:
1. Delete the log files here:
C:\Users\[USER]\AppData\Roaming\Armory\armorylog.txt
C:\Users\[USER]\AppData\Roaming\Armory\dbLog.txt
([USER] has to be replaced with your username.)

2. Run Bitcoin Core. As soon as it is synced, run Armory.

3. Open the mentioned log files (that are automaticly created again) and post them here: http://nopaste.linux-dev.org/
... or here: https://pastebin.com/
... (one upload per file).

4. Provide both links to the uploads.

Then one of the experts will look over it.
sr. member
Activity: 525
Merit: 282
Internal HDD

Ideally, Core and Armory both should have the data on SSDs. Hard drives are problematic, especially if they're the slower models (which most probably are).
legendary
Activity: 1120
Merit: 1012
Is Bitcoin Core fully synced before starting Armory?

What are the specs of your computer? CPU? RAM? HDD or SSD?

Post your log files please.

i7 930 2.8ghz
12gb ram (weird triple channel era from 2010)
win7

Do log files expose user/ folder names?

Is Bitcoin Core fully synced before starting Armory?

Are you using an external HDD for the block chain or anything like that?

Yes, log files will show folders names where the block chain is located.

Sorry slow to edit back in.

Yes Core is synced but Armory says 50k blocks behind still?  Doesn't make sense.

Internal HDD

Well, it shouldn't take your computer all that long to sync Armory from scratch unless there is an underlying problem somewhere.

People who are better at this than me are probably going to need to see your log files in order to attempt to address your issue.
newbie
Activity: 45
Merit: 0
Is Bitcoin Core fully synced before starting Armory?

What are the specs of your computer? CPU? RAM? HDD or SSD?

Post your log files please.

i7 930 2.8ghz
12gb ram (weird triple channel era from 2010)
win7

Do log files expose user/ folder names?

Is Bitcoin Core fully synced before starting Armory?

Are you using an external HDD for the block chain or anything like that?

Yes, log files will show folders names where the block chain is located.

Sorry slow to edit back in.

Yes Core is synced but Armory says 50k blocks behind still?  Doesn't make sense.

Internal HDD
legendary
Activity: 1120
Merit: 1012
Is Bitcoin Core fully synced before starting Armory?

What are the specs of your computer? CPU? RAM? HDD or SSD?

Post your log files please.

i7 930 2.8ghz
12gb ram (weird triple channel era from 2010)
win7

Do log files expose user/ folder names?

Is Bitcoin Core fully synced before starting Armory?

Are you using an external HDD for the block chain or anything like that?

Yes, log files will show folders names for where the block chain is located.
newbie
Activity: 45
Merit: 0
Is Bitcoin Core fully synced before starting Armory?

What are the specs of your computer? CPU? RAM? HDD or SSD?

Post your log files please.

Core should be synced, but it probably got behind again.  Shouldn't be 50k blocks behind though?

i7 930 2.8ghz
12gb ram (weird triple channel era from 2010)
win7

Do log files expose user/ folder names?

Thanks!
legendary
Activity: 1120
Merit: 1012
Is Bitcoin Core fully synced before starting Armory?

What are the specs of your computer? CPU? RAM? HDD or SSD?

Post your log files please.
newbie
Activity: 45
Merit: 0
Using the latest RC version...it's the only version that got me as far as I did.  But I can sync maybe 1000 blocks, and it disconnects.  Then crashes trying to shut it down.  Force quit ArmoryDB and try to resume again.
In the final stretch trying to sync 50k-60k blocks but I feel like I'm getting nowhere.  I have to babysit this because it disconnects within an hour or less.

Please don't say I have to delete Databases.  I've done that so much and I am getting nowhere.
I really need my Armory functioning again because I'm trying to amend past year taxes.

This is so frustrating.  Can I just download Databases and/or blocks from somewhere/someone else?
Jump to: