Bitcoin Forum
November 27, 2026, 04:15:31 PM *
News: Latest Bitcoin Core release: 32.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Nodes In A Box  (Read 622 times)
n0nce
Hero Member
*****
Offline

Activity: 994
Merit: 6089


not your keys, not your coins!


View Profile WWW
June 01, 2026, 11:26:48 AM
Last edit: June 01, 2026, 11:38:21 AM by n0nce
Merited by vapourminer (1)
 #21

But, seriously, once the initial sync is done RPi do work fine for this. So long as you are using the 4GB or 8GB versions.
Those 3 were all working for over four years with no issues until last week.
Honestly, for a few years now I believe that 4GB is insufficient. My own node experienced a huge IBD speed-up when switching from one 4GB DIMM to two, totaling 8GB.
And yet still, after a recent outage for a couple months, it took longer than expected to catch up again!

How are you all dealing with the current blockchain size / growth? I had to turn off Core Lightning and the Electrum server on this box, resulting in just 17GB of free disk space right now.
I plan on installing a second 1TB SSD and just moving over the blocks folder, that way I should have over 200GB of headroom for blocks, while indices, OS and Electrum database, as well as a new Core Lightning install, can live on the main drive.

In the future, nodes will either need a singular drive larger than 1TB or Bitcoin Core will need to allow splitting the blocks folder across drives.

Of course, one could also group drives together with RAID or do other lower-level trickery but all options I know of feel too hacky for what's supposed to be a reliable server.

 
 b1exch.to 
  ETH      DAI   
  BTC      LTC   
  USDT     XMR    
.███████████▄▀▄▀
█████████▄█▄▀
███████████
███████▄█▀
█▀█
▄▄▀░░██▄▄
▄▀██▄▀██████▄
███▄▀░▄████████
██████████░██████
█░████░██████████
█░█░█░████░██████
█░█░█░██░██████
▀▀▀▄█▄████▀▀▀
DaveF (OP)
Legendary
*
Offline

Activity: 4396
Merit: 7655


✅ NO KYC


View Profile WWW
June 01, 2026, 03:59:08 PM
Merited by vapourminer (1)
 #22

But, seriously, once the initial sync is done RPi do work fine for this. So long as you are using the 4GB or 8GB versions.
Those 3 were all working for over four years with no issues until last week.
Honestly, for a few years now I believe that 4GB is insufficient. My own node experienced a huge IBD speed-up when switching from one 4GB DIMM to two, totaling 8GB.
And yet still, after a recent outage for a couple months, it took longer than expected to catch up again!

How are you all dealing with the current blockchain size / growth? I had to turn off Core Lightning and the Electrum server on this box, resulting in just 17GB of free disk space right now.
I plan on installing a second 1TB SSD and just moving over the blocks folder, that way I should have over 200GB of headroom for blocks, while indices, OS and Electrum database, as well as a new Core Lightning install, can live on the main drive.

In the future, nodes will either need a singular drive larger than 1TB or Bitcoin Core will need to allow splitting the blocks folder across drives.

Of course, one could also group drives together with RAID or do other lower-level trickery but all options I know of feel too hacky for what's supposed to be a reliable server.

They were all upgraded to 2tb drives last year. Over last summer I had to pull a ton of 8 to 11 year old machines from a client that had to be recycled / e-wasted since they could not run Win 11 so I took any 2 & 4 TB drives that I could. They were back to back parking lots with a Staples and about 1/4 mile from a Best Buy so when a drive died we never ordered anything but just walked over a bought one. For years before what is going on now there was never a 'real' price difference between a 1tb or 2 tb or 4 tb so we just got what they had in stock. Mostly because if I had to schedule another site visit it would cost them more then paying for a larger drive.

With the current shortages I would have taken everything :-)

No issues even with 4GB RAM doing an sync. The one that died I did rebuild, and it took under a week from empty to done. I can't tell you the exact amount of time since I put it together over a weekend and plugged it in on a Monday morning. By the next Monday it was done.

Could just be a RPi thing vs PC but, I do feel, not having done any testing to prove, that older PCs are a bit slower then the RPi. For the most part you can get an older but still very capable mini pc for less then a RPi at this point it's tough to spend the extra $ on a pi unless you are like me and also use them for dozens of other projects.

Being in PC support with a lot of things and having a lot of access to scrap but usable parts probably changes my view a bit. Heck even now I have 2tb 2.5" external spinning drives that I can't give away but a 512gb 10+ year old ssd will get me $35+ so it's a weird world at the moment.

-Dave

▄▄████████████████████▄▄
▄███████▀▀██████▀▀███████▄
█████▀██████████████▀█████
████████▄▄██████▄▄████▀███

██████████████████████████
██▄▄██████████████▄▄██████
██▀▀██████████████████▄▄██
██████▀▀██████████████▀▀██
██████████████████████████
███▄████▀▀██████▀▀████████
█████▄██████████████▄█████
▀███████▄▄██████▄▄███████▀
▀▀████████████████████▀▀
 
 DΞX.fo 
▄▄██████
█████████
██████████
██████████
██████████
█████████
▀▀██████

▄███████
▄██████████
████████████
█████████████
█████████████
|
▄▄█
▄████▀
▄███▀█▄
▄██▀█▄██
█████▀▀█
████████
████████
▀██▄████
▄████▄▄█
▄█████▀███
▄█████▀████▀
█████▀███████
▀██▀█████████
|..BTC......XMR...
..USDT.....LTC...
....Fees  0.8%.....
n0nce
Hero Member
*****
Offline

Activity: 994
Merit: 6089


not your keys, not your coins!


View Profile WWW
June 01, 2026, 04:17:53 PM
Merited by vapourminer (1)
 #23

They were all upgraded to 2tb drives last year.
That's a good option, too! I'm now running dual 1TB SSDs in my old (by now upgraded) laptop node from my $50 node guide.

Over last summer I had to pull a ton of 8 to 11 year old machines from a client
[...]
I do love any project that recycles old hardware for Bitcoin stuff. The cheaper the nodes, the more nodes online. The more nodes online, the better!


No issues even with 4GB RAM doing an sync. The one that died I did rebuild, and it took under a week from empty to done. I can't tell you the exact amount of time since I put it together over a weekend and plugged it in on a Monday morning. By the next Monday it was done.

Could just be a RPi thing vs PC but, I do feel, not having done any testing to prove, that older PCs are a bit slower then the RPi.
I'm not sure, maybe I did something wrong, but below is my IBD graph with 4GB of RAM in 2021.god, time flies.. It took close to 6 days to get to roughly 43% and then sped up significantly when I upgraded to 8GB. I will never not share this graph! Tongue

Here's a graph of some measurements I took; I let you guys guess at which point in time I upgraded the node from 4GB to 8GB Cheesy


 
 b1exch.to 
  ETH      DAI   
  BTC      LTC   
  USDT     XMR    
.███████████▄▀▄▀
█████████▄█▄▀
███████████
███████▄█▀
█▀█
▄▄▀░░██▄▄
▄▀██▄▀██████▄
███▄▀░▄████████
██████████░██████
█░████░██████████
█░█░█░████░██████
█░█░█░██░██████
▀▀▀▄█▄████▀▀▀
DaveF (OP)
Legendary
*
Offline

Activity: 4396
Merit: 7655


✅ NO KYC


View Profile WWW
June 01, 2026, 04:23:41 PM
 #24

What do you (did you) have your dbcache set to in the 4GB machines?
I set it to 1GB by default
-Dave

▄▄████████████████████▄▄
▄███████▀▀██████▀▀███████▄
█████▀██████████████▀█████
████████▄▄██████▄▄████▀███

██████████████████████████
██▄▄██████████████▄▄██████
██▀▀██████████████████▄▄██
██████▀▀██████████████▀▀██
██████████████████████████
███▄████▀▀██████▀▀████████
█████▄██████████████▄█████
▀███████▄▄██████▄▄███████▀
▀▀████████████████████▀▀
 
 DΞX.fo 
▄▄██████
█████████
██████████
██████████
██████████
█████████
▀▀██████

▄███████
▄██████████
████████████
█████████████
█████████████
|
▄▄█
▄████▀
▄███▀█▄
▄██▀█▄██
█████▀▀█
████████
████████
▀██▄████
▄████▄▄█
▄█████▀███
▄█████▀████▀
█████▀███████
▀██▀█████████
|..BTC......XMR...
..USDT.....LTC...
....Fees  0.8%.....
n0nce
Hero Member
*****
Offline

Activity: 994
Merit: 6089


not your keys, not your coins!


View Profile WWW
June 02, 2026, 03:49:31 PM
 #25

What do you (did you) have your dbcache set to in the 4GB machines?
I set it to 1GB by default
-Dave
I can't tell you for sure, but I'm pretty confident that I never set a dbcache value, neither then nor today. At least right now I don't have anything in the config, so it should be the default value of 450MiB:

Code:
static constexpr size_t DEFAULT_DB_CACHE{DEFAULT_KERNEL_CACHE};
Code:
static constexpr size_t DEFAULT_KERNEL_CACHE{450_MiB};

Jameson Lopp did run some experiments on this with default, 4GB, 28GB cache values.


There is some performance gain to be had, but it also depends on how much RAM you can really give it. More than 4GB would probably be atypical for many DIY node operators.
with a moderate 4 GB dbcache it's only 10% faster than the default

 
 b1exch.to 
  ETH      DAI   
  BTC      LTC   
  USDT     XMR    
.███████████▄▀▄▀
█████████▄█▄▀
███████████
███████▄█▀
█▀█
▄▄▀░░██▄▄
▄▀██▄▀██████▄
███▄▀░▄████████
██████████░██████
█░████░██████████
█░█░█░████░██████
█░█░█░██░██████
▀▀▀▄█▄████▀▀▀
Pages: « 1 [2]  All
  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!