Bitcoin Forum
November 12, 2024, 12:53:09 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Starting in supernode mode  (Read 2634 times)
knahrvorn (OP)
Newbie
*
Offline Offline

Activity: 58
Merit: 0


View Profile
February 17, 2015, 03:19:53 PM
 #1

So, if I want to run an Armory supernode, I have to run it with the --supernode flag. Do I have to do that every time I start Armory, or just the first time (generating the db)? What happens if I generate the db as a supernode and then later start Armory without the supernode flag? (or the other way around) Will the db then contain both supernode and normal entries, and would that be bad?

Do you plan to add a new start icon for supernode mode (like for offline mode)?
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3752
Merit: 1364

Armory Developer


View Profile
February 17, 2015, 03:45:11 PM
 #2

Do I have to do that every time I start Armory

Yes

Quote
What happens if I generate the db as a supernode and then later start Armory without the supernode flag

It won't let you

jl2012
Legendary
*
Offline Offline

Activity: 1792
Merit: 1111


View Profile
March 17, 2015, 10:18:54 AM
 #3

I'm starting in supernode mode with a virtual machine with 4GB Ram and quad-core CPU. It took about 20 hours and it's still in 51% of "building databases". It says it will take 1.5day to complete. Is this speed normal?

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3752
Merit: 1364

Armory Developer


View Profile
March 17, 2015, 04:02:09 PM
 #4

I'm starting in supernode mode with a virtual machine with 4GB Ram and quad-core CPU. It took about 20 hours and it's still in 51% of "building databases". It says it will take 1.5day to complete. Is this speed normal?

SSD? With 4GB of RAM, in a VM, I'm not too surprised. I takes me ~4h at this blockchain size with 5820k, 32GB of RAM and SSD raid. I'm working on some changes that should speed that thing considerably (and mostly make it more stable).

jl2012
Legendary
*
Offline Offline

Activity: 1792
Merit: 1111


View Profile
March 18, 2015, 03:44:18 AM
 #5

I'm starting in supernode mode with a virtual machine with 4GB Ram and quad-core CPU. It took about 20 hours and it's still in 51% of "building databases". It says it will take 1.5day to complete. Is this speed normal?

SSD? With 4GB of RAM, in a VM, I'm not too surprised. I takes me ~4h at this blockchain size with 5820k, 32GB of RAM and SSD raid. I'm working on some changes that should speed that thing considerably (and mostly make it more stable).

It's Raid 1 with ordinary HDD. I'm increasing it to about 6GB RAM. See if that helps.

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3752
Merit: 1364

Armory Developer


View Profile
March 18, 2015, 07:43:41 AM
 #6

I dont expect that will be enough to be significant.

jl2012
Legendary
*
Offline Offline

Activity: 1792
Merit: 1111


View Profile
March 18, 2015, 08:28:22 AM
 #7

I dont expect that will be enough to be significant.

Although it's still very slow, but it improves a lot (>100% improvement)

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3752
Merit: 1364

Armory Developer


View Profile
March 18, 2015, 04:18:42 PM
 #8

Interesting, I didn't expect to react so well to so little RAM

jl2012
Legendary
*
Offline Offline

Activity: 1792
Merit: 1111


View Profile
March 18, 2015, 05:02:18 PM
 #9

Interesting, I didn't expect to react so well to so little RAM

83% now and 14 hours for the remaining 17%

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3752
Merit: 1364

Armory Developer


View Profile
March 18, 2015, 05:58:52 PM
 #10

Interesting, I didn't expect to react so well to so little RAM

83% now and 14 hours for the remaining 17%

The deeper you get in the more expensive each % gets, because all this data gets really fragmented within the one big DB file. Next version should help a lot with that.

If I had one tip to give you, it would be to close Armory when it's done scanning and create a copy of the DB folder. This way if it gets corrupted you can start right off of that one. Again, next version will be resilient to the kind of corruption this version suffers from.

jl2012
Legendary
*
Offline Offline

Activity: 1792
Merit: 1111


View Profile
March 19, 2015, 05:23:25 PM
 #11

It is starting "scanning tx history" and says it will take 1.5 week to complete  Cry

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!