Bitcoin Forum
June 22, 2024, 05:59:55 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 »  All
  Print  
Author Topic: Raspberry Pi 4 performance  (Read 1317 times)
pereira4 (OP)
Legendary
*
Offline Offline

Activity: 1610
Merit: 1183


View Profile
July 06, 2019, 01:00:45 AM
Merited by LoyceV (1)
 #1

The Raspberry Pi 4 is here, if someone gets one, could you post performance input including:

1) Time for the Bitcoin wallet to open
2) Time to download and sync the entire blockchain
3) Time to sync exiting copy of the blockchain

+ any other relevant performance info.

State your OS and your storage device.

Interested in the 4 GB version..
klaaas
Hero Member
*****
Offline Offline

Activity: 1568
Merit: 544



View Profile
July 06, 2019, 11:21:51 AM
 #2

2) Time to download and sync the entire blockchain
3) Time to sync exiting copy of the blockchain
Dont got one yet but the raspberry pi can handle 1gib connections and with the 4gib of memory it will boil down to your hard disk speeds.

Shopping online and sats back as a discount! (satsback) + LightningNetwork
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3132



View Profile
July 06, 2019, 04:25:51 PM
 #3

Dont got one yet but the raspberry pi can handle 1gib connections and with the 4gib of memory it will boil down to your hard disk speeds.

CPU was the biggest bottleneck when it came to synchronising with the network. Depending on the task, the CPU seems to be up to 3 times faster which is a huge improvement. No one has tested it yet with Bitcoin Core.
pereira4 (OP)
Legendary
*
Offline Offline

Activity: 1610
Merit: 1183


View Profile
July 06, 2019, 06:41:17 PM
 #4

Looking to get one of these soon. Which variant are you looking at the 1gb, 2 gb or 4 gb?

It says below im looking for 4 GB. I don't get why you would get any less... if you wanted to use it as a desktop computer as well you want at least 4. If you wanted to run a Windows node for some reason definitely impossible without less than 4 GB or at least not without a big PITA.

Dont got one yet but the raspberry pi can handle 1gib connections and with the 4gib of memory it will boil down to your hard disk speeds.

CPU was the biggest bottleneck when it came to synchronising with the network. Depending on the task, the CPU seems to be up to 3 times faster which is a huge improvement. No one has tested it yet with Bitcoin Core.

Not only the CPU but the Ethernet was capped at 300mpbs which was a big bottleneck if you had high speed optical fiber of 1 GBPS which you can take advantage of now with the 4 version. 4 GB doesn't hurt. Ideally we want 8 for the next release.
DaveF
Legendary
*
Online Online

Activity: 3514
Merit: 6354


Crypto Swap Exchange


View Profile WWW
July 07, 2019, 01:10:41 PM
 #5

I can't say this strongly enough.

IF you really want to run a node on an RPi think about the following.

If at all possible do not run it on the SD card. Get an external drive and make it an SSD

If you can't or don't want to. GET A GOOD SD CARD. There are good cheap ones out there but they are few and far between, spend the money and get a real name brand.
The cheap ones degrade quickly and core does a lot of reads & writes.

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3132



View Profile
July 07, 2019, 05:02:30 PM
 #6

If at all possible do not run it on the SD card. Get an external drive and make it an SSD

Despite of decreasing SSDs prices, they are still quite expensive if you compare them to HDDs (especially used ones). If he is willing to use a Raspberry Pi then he probably wants to spend as little money as possible. Also, high capacity SD cards are way more expensive than SSDs. Thank you Dave for warning us against something that nobody would do.
pereira4 (OP)
Legendary
*
Offline Offline

Activity: 1610
Merit: 1183


View Profile
July 08, 2019, 02:21:13 PM
 #7

SD Cards are trash. If you wanted to stay digital then SSD is the way to go... but most likely you will be forced to run pruned mode pretty soon since the big TB drives are pretty expensive.

I don't see why not just you couldn't stay with HDD. Sure it's slower, but if you want to run a full node (no pruned mode) then it makes sense to get a 4TB one and forget about hitting a limit for years.
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3132



View Profile
July 08, 2019, 09:15:08 PM
 #8

I don't see why not just you couldn't stay with HDD. Sure it's slower, but if you want to run a full node (no pruned mode) then it makes sense to get a 4TB one and forget about hitting a limit for years.

I have started ditching HDDs mostly because they are much slower than SSDs (especially NVMe ones) and they are not shockproof. I wouldn't use an SSD for a budget build like the one with a Raspberry Pi, but spending $120 on a 1 TB SSD is a good deal if you are setting up a server which is supposed to handle a few different tasks beside running Bitcoin Core and LND.
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3132



View Profile
July 20, 2019, 08:21:57 PM
 #9

Samorai retweeted a tweet of a user who is currently synchronising a full Bitcoin node on the latest Raspberry Pi. I will keep you updated on the sync time but the problem is that this users is using an SSD which is going to affect the performance. I have switched to NVMe drive from HDD and the difference was huge.
fillippone
Legendary
*
Offline Offline

Activity: 2198
Merit: 15813


Fully fledged Merit Cycler - Golden Feather 22-23


View Profile WWW
July 29, 2019, 09:15:43 AM
 #10

I run a full node on Rapi3+.
I followed Stadicus Guide and translated it in Italian (in signature) to help other running their own node.

For a series of mishaps my block.dat got corrupted, so I had the blockchain download in my SSD and I had the Raspi to validate it.
It took more than a month to fully validate the blockchain back in february.

Of course this is not what it is meant to be, but of course improved CPU performance and RAM are a more than welcome upgrade in this case.
So I second OP request to know more on validating/syncing blockcahin.

Re:SSD, in my experience they are not meant to be used as a constant R/W devices like an hard disk, so I have been told their use as mass storage is not optimal and quite prone to errors and data corruption.

Waiting a little bit to put my hands on a Raspi4 because of I heard of a few minor design flaws in the board.
https://arstechnica.com/gadgets/2019/07/raspberry-pi-4-uses-incorrect-usb-c-design-wont-work-with-some-chargers/
Nothing too relevant,. but waiting they get rid of their stocks and design a new board version.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3132



View Profile
July 29, 2019, 04:21:48 PM
 #11

So I second OP request to know more on validating/syncing blockcahin.

The author of the tweet I mentioned earlier still hasn't posted the results yet.

Re:SSD, in my experience they are not meant to be used as a constant R/W devices like an hard disk, so I have been told their use as mass storage is not optimal and quite prone to errors and data corruption.

That's how I would describe SD cards. SSDs improved a lot in the past few years. They have become affordable and reliable. Some SSDs last longer than advertised, but every device is prone to failure at some point. Why would anyone use them if they were not meant to be used for constant reads and writes?
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3074



View Profile
July 30, 2019, 10:01:06 AM
 #12

Some SSDs last longer than advertised, but every device is prone to failure at some point. Why would anyone use them if they were not meant to be used for constant reads and writes?

what to look for:

  • NAND cell tech - SLC is best, MLC 2nd, TLC 3rd and QLC 4th in reliability/longevity. Pricing corresponds; SLC based SSD devices are expensive, QLC cheap
  • Over-provisioning - a larger over-provided pool of flash cells will improve reliability and reduce performance. Some SSDs let you reprogram the amount of over-provisioning via the firmware

there was another factor also, but I've forgotten it for now

Vires in numeris
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3132



View Profile
July 30, 2019, 10:26:22 AM
 #13

NAND cell tech - SLC is best, MLC 2nd, TLC 3rd and QLC 4th in reliability/longevity. Pricing corresponds; SLC based SSD devices are expensive, QLC cheap

SLC SSDs are mostly used for server applications and they are going to be harder to obtain for an average consumer. MLC drives are still widely available. QLC drives seem to be priced about the same as TLC ones (at least in my country) while being less durable.


there was another factor also, but I've forgotten it for now

Wasn't it Total Bytes Written (TBW) by any chance? If TBW is exceeded then the warranty is void, but the drive still can work for a decent amount of time. Also, the controller is a very important factor. If it breaks then all of the data becomes unrecoverable in most cases.
fillippone
Legendary
*
Offline Offline

Activity: 2198
Merit: 15813


Fully fledged Merit Cycler - Golden Feather 22-23


View Profile WWW
July 30, 2019, 06:46:05 PM
 #14


On a side note, it's weird when people pair cheap Raspberry Pi with expensive storage, unless budget isn't their concern.

Totally agree.
System must be engineered to avoid bottleneck.
This  is what I tried to avoid setting up my Bitcoin node guide (in signature)as you can see if you check hardware page

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
DaveF
Legendary
*
Online Online

Activity: 3514
Merit: 6354


Crypto Swap Exchange


View Profile WWW
August 02, 2019, 08:21:40 PM
 #15

So, the RPi 4 generates a crap more heat from it's CPU then previous models.
Some people are having thermal throttling in under 5 minutes of heavy use.
So I give you the 52Pi Ice Tower

https://www.seeedstudio.com/ICE-Tower-CPU-Cooling-Fan-for-Raspberry-pi-Support-Pi-4-p-4097.html

Toms Hardware Review Link:
https://www.tomshardware.com/reviews/52pi-ice-tower-raspberry-pi-4-cooler,6259.html

If you want something a bit more sane:
https://shop.pimoroni.com/products/fan-shim

I'm not just posting this for laughs, I had my 4 thermal throttle while nothing but bitcoind was running.

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
fillippone
Legendary
*
Offline Offline

Activity: 2198
Merit: 15813


Fully fledged Merit Cycler - Golden Feather 22-23


View Profile WWW
August 02, 2019, 10:14:19 PM
 #16

So, the RPi 4 generates a crap more heat from it's CPU then previous models.
Some people are having thermal throttling in under 5 minutes of heavy use.
So I give you the 52Pi Ice Tower

https://www.seeedstudio.com/ICE-Tower-CPU-Cooling-Fan-for-Raspberry-pi-Support-Pi-4-p-4097.html

Toms Hardware Review Link:
https://www.tomshardware.com/reviews/52pi-ice-tower-raspberry-pi-4-cooler,6259.html

If you want something a bit more sane:
https://shop.pimoroni.com/products/fan-shim

I'm not just posting this for laughs, I had my 4 thermal throttle while nothing but bitcoind was running.

-Dave

Well this is something undoubtedly serious and needs to be taken into account while tinkering with a Raspi4 to run a Bitcoin full node. I like them quiet and reliable, tossing on desks and basically expecting them to work indefinitely. Of course heat is a very dangerous element to have on such a tiny device.
Thanks for pointing us in the right direction.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
DaveF
Legendary
*
Online Online

Activity: 3514
Merit: 6354


Crypto Swap Exchange


View Profile WWW
August 03, 2019, 12:34:28 AM
 #17

Well this is something undoubtedly serious and needs to be taken into account while tinkering with a Raspi4 to run a Bitcoin full node. I like them quiet and reliable, tossing on desks and basically expecting them to work indefinitely. Of course heat is a very dangerous element to have on such a tiny device.
Thanks for pointing us in the right direction.

Yeah, I was trying to figure out why my node stopped responding now and then. And someone else on another forum was having issues with theirs overheating.
So I put a small fan on it and went to look around, and saw that it is happening to a lot of people. Someone someplace cut some corners that they should not have when designing the 4

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
philipma1957
Legendary
*
Offline Offline

Activity: 4158
Merit: 8051


'The right to privacy matters'


View Profile WWW
August 03, 2019, 05:38:17 AM
 #18

Rasp pi are simply not made for this task.

Cheap used Lenovo tiny PCs do a better job.

Dell has a good small unit. Buy a used one. Many will hold a nvme and a ssd.

I use Mac mini’s 2012 model and or 2014 models.

I clone a backup os with a wallet . And away I go.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3074



View Profile
August 03, 2019, 06:38:14 AM
 #19

Rasp pi are simply not made for this task.

sort of disagree (sort of)

storage is really what holds the Pi back these days. CPU did before, but not since the rPi 2. You can get around the SD card issues by using the most modern rPi's (3B+), as they allow you to boot from a SATA disk, bypassing SD cards altogether.

But really, USB storage, SATA or not, is less than ideal. You can get a Rock64 pro single board for less than $100. You can also get an NVMe or SATA PCI-E expansion card for the Rock64 pro (it has only 1 slot). And there's a 4GB version, you could run a lightweight hypervisor on that, and get a securely compartmentalized home Bitcoin node, + run other stuff in different VMs (it'd have to be without a desktop GUI, naturally)

Vires in numeris
fillippone
Legendary
*
Offline Offline

Activity: 2198
Merit: 15813


Fully fledged Merit Cycler - Golden Feather 22-23


View Profile WWW
August 03, 2019, 08:05:32 AM
 #20


But really, USB storage, SATA or not, is less than ideal. You can get a Rock64 pro single board for less than $100. You can also get an NVMe or SATA PCI-E expansion card for the Rock64 pro (it has only 1 slot). And there's a 4GB version, you could run a lightweight hypervisor on that, and get a securely compartmentalized home Bitcoin node, + run other stuff in different VMs (it'd have to be without a desktop GUI, naturally)
I have been running my personal BTC+LN node on a Raspi3+ for months now (link to my guide to do so in signature) and I hadn’t a single issue.
I agree USB connections are “ shaky” in theory compared to SATA, but, touch wood, I hadn’t any issue so far.
Of course my node is “for fun”, not holding millions there. If I had to store a lot of money I would walk the extra steps.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pages: [1] 2 3 4 »  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!