Bitcoin Forum
March 28, 2023, 05:48:17 PM *
News: Latest Bitcoin Core release: 24.0.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 [4]  All
  Print  
Author Topic: Raspberry Pi 4 performance  (Read 1258 times)
fillippone
Legendary
*
pizza
Online Online

Activity: 1750
Merit: 12221


Merit Rascal - Pizza Maker - Golden Feather 2022


View Profile
November 24, 2019, 05:34:57 PM
Last edit: November 25, 2019, 11:02:56 AM by fillippone
 #61

As you know new bitcoin version is out.
In the Release Notes: Bitcoin Core version 0.19.0.1, I can read:

Quote
Users setting custom dbcache values can increase their setting slightly without using any more real memory. Recent changes reduced the memory use by about 9% and made chainstate accounting more accurate (it was underestimating the use of memory before). For example, if you set a value of "450" before, you may now set a value of "500" to use about the same real amount of memory. (#16957)

This might be worth noting when running bitcoind on a Raspi4.


.Sinbad.io.MIXER......
██████████████████████▀▀░▄░▄░▀▀██████████████████████
███████████████▀███▀▀▄▀█░▄▀▄░█▀▄▀▀███▀███████████████
██████████████░░░▄▄▀▀░░░▀▄▄▄▀░░░▀▀▄▄░░░██████████████
███▀▀██████████░░░░░░▄▀▀▄▄▄▄▄▀▀▄░░░░░░██████████▀▀███
██░█▄░▀▀█████████▄▄▄░░▄▀░▀█░░▀▄░░▄▄▄█████████▀▀░▄█░██
███▄▄░▀░▄░▀▀██▀▀▀▀█▄▄░▀██▀▐█▄█▀░▄▄█▀▀▀▀██▀▀░▄░▀░▄▄███
█████░██▄▄▀░▄░░▀▀▄██▀▌░▀░▄▄░░▀░▐▀██▄▀▀░░▄░▀▄▄██░█████
██████▄▀▀▀▀▀▄▄▄▀▀▄▄▄▄░░░░░▀░▀░░░▄▄▄▄▀▀▄▄▄▀▀▀▀▀▄██████
███████████████▀▀░░▀▀░░░░░░░░░░░▀▀░░▀▀███████████████
████████████▀▄▄███▀▀▀▄█▄▀░░░▀▄█▄▀▀▀███▄▄▀████████████
██████████▀▄█▀▀▄▄▄███▀▀▄▄▄░▄▄▄▀▀███▄▄▄▀▀█▄▀██████████
███████▀▀▄█████▀▀▀▄▄▄███████████▄▄▄▀▀▀█████▄▀▀███████
██▀▀░░░▀▀▀▀▀▄▄▄███████████████████████▄▄▄▄▀▀▀▀░░░▀▀██
......PROTECTING.YOUR.PRIVACY.........MIX.NOW.........
1680025697
Hero Member
*
Offline Offline

Posts: 1680025697

View Profile Personal Message (Offline)

Ignore
1680025697
Reply with quote  #2

1680025697
Report to moderator
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Carlton Banks
Legendary
*
Offline Offline

Activity: 3360
Merit: 2960



View Profile
November 25, 2019, 10:57:52 AM
Merited by fillippone (2)
 #62

Quote
Users setting custom dbcache values can increase their setting slightly without using any more real memory. Recent changes reduced the memory use by about 9% and made chainstate accounting more accurate (it was underestimating the use of memory before). For example, if you set a value of "450" before, you may now set a value of "500" to use about the same real amount of memory. (#16957)

This might be worth noting when running bitcoind on a Raspi4.

yep

0.19 also adds 2 extra outbound connections to protect against a certain class of network-level attack. That means you're using slightly more memory than version 0.18 and before. So the 9% reduction in overall memory usage offsets that change nicely. Still a good idea to increase dbcache by at least 5% I would say, even if you're using the 1GB variant of RPi4 (and when you're syncing the chain, definitely use as much dbcache as you can temporarily)

Vires in numeris
TheBeardedBaby
Legendary
*
Offline Offline

Activity: 1946
Merit: 3078


₿uy / $ell


View Profile
December 23, 2019, 08:49:58 AM
Merited by ETFbitcoin (1)
 #63

I had some issues with the WIFI for a while with my RP4 and googled a bit for the problem. Surprisingly what I found is that HDMI is jamming it's own WIFI at 2560×1440 resolution, and I'm not the only one to have it, so this is something you should be aware of.

Here's the source and interesting read, short but interesting. > https://hackaday.com/2019/11/28/raspberry-pi-4-hdmi-is-jamming-its-own-wifi/
Anyone having issues with the WIFI?

Quote
[Mike Walters] on a Twitter post about this issue probed around with a HackRF and discovered a radio frequency issue. It turns out that at this screen resolution, the Pi 4 emits some RF noise which is exactly in the range of WiFi channel 1. It seems that the Pi 4 is acting as a WiFi jammer on itself.

TheBeardedBaby
Legendary
*
Offline Offline

Activity: 1946
Merit: 3078


₿uy / $ell


View Profile
December 23, 2019, 10:40:52 AM
 #64

Looks like RPi 4 have lots of issue with WiFi, but i had different problem where it won't connect to specific WiFi connection. Had to configure the router to 5 GHz with specific channel to it works.

Interesting, I use mine as a IPTV box now and I thought that the issues are  because of the heating problem but It turns out that is this jamming issue. After reading this artichel  I changed the resolution to 1080p it goes good. Try to see if this will help with your case as well it might be the same situation. I hope they find a solution.
 

Carlton Banks
Legendary
*
Offline Offline

Activity: 3360
Merit: 2960



View Profile
December 24, 2019, 07:13:45 PM
 #65

Had to configure the router to 5 GHz with specific channel to it works.

5GHz Wifi has shorter useful range, I would consider just connecting the Pi4 over ethernet cable (and removing the Wifi driver module from the kernel build)

Vires in numeris
Carlton Banks
Legendary
*
Offline Offline

Activity: 3360
Merit: 2960



View Profile
December 26, 2019, 03:21:33 PM
Merited by philipma1957 (2), fillippone (2), ETFbitcoin (1)
 #66

any reason you recommend removing wifi driver from kernel?

well, just that it sounds like an unusable piece of hardware (i.e. the WiFi chip when you're using HDMI displays of certain resolutions), so you may as well remove the driver module in case some other software on the Pi4 tries using the WiFi connection in future. In general, removing modules from the kernel you don't have a use for is a good idea, you can just compile it again should there be some module you later want to use

Vires in numeris
philipma1957
Legendary
*
Online Online

Activity: 3710
Merit: 5471



View Profile
December 26, 2019, 04:21:39 PM
 #67

any reason you recommend removing wifi driver from kernel?

well, just that it sounds like an unusable piece of hardware (i.e. the WiFi chip when you're using HDMI displays of certain resolutions), so you may as well remove the driver module in case some other software on the Pi4 tries using the WiFi connection in future. In general, removing modules from the kernel you don't have a use for is a good idea, you can just compile it again should there be some module you later want to use

I am fairly anti rasp pi 🕵️‍♀️.

They are underpowered and can’t quite get the job done.

there are so many used lenovo tiny pcs available that simply are 10 to 100x better then a rasp pi.

I don’t understand why try to push a rasp pi past what it can do.

especially if it is wallet involved.  A lenovo m700 tiny

used on ebay under 150.

  it can use both a m2 ssd and a 2.5 ssd and have 16gb ram.  does wifi well.

3) Never invest more than you can afford to lose
2)Not your keys not your coins.
1) be like JJG just DCA
Carlton Banks
Legendary
*
Offline Offline

Activity: 3360
Merit: 2960



View Profile
December 26, 2019, 04:43:09 PM
 #68

They are underpowered and can’t quite get the job done.

there are so many used lenovo tiny pcs available that simply are 10 to 100x better then a rasp pi.

I don’t understand why try to push a rasp pi past what it can do.

they have (arguably) at least 2 things going for them that Intel/AMD does not:

  • reasonably programmable firmware
  • cheap

in the case of this Wifi/HDMI crosstalk issue on the Pi4, the latter point is actually a downside. RPi product development has always been driven by low price tags, and that's also always been reflected in the reliability/performance.

But overlooking the first point is also unwise, there's not much point in an independent bottom-up currency being run on hardware with potential corporate backdoors (basically a rootkit operating way below the level of the owner's root access, and that can be accessed over the internet, even when powered over ethernet while the main power supply is switched off Undecided). If the whole Bitcoin network was running on such hardware, then Intel/AMD could in essence be in possession of a Bitcoin off-switch.

Vires in numeris
philipma1957
Legendary
*
Online Online

Activity: 3710
Merit: 5471



View Profile
December 26, 2019, 05:10:12 PM
 #69

They are underpowered and can’t quite get the job done.

there are so many used lenovo tiny pcs available that simply are 10 to 100x better then a rasp pi.

I don’t understand why try to push a rasp pi past what it can do.

they have (arguably) at least 2 things going for them that Intel/AMD does not:

  • reasonably programmable firmware
  • cheap

in the case of this Wifi/HDMI crosstalk issue on the Pi4, the latter point is actually a downside. RPi product development has always been driven by low price tags, and that's also always been reflected in the reliability/performance.

But overlooking the first point is also unwise, there's not much point in an independent bottom-up currency being run on hardware with potential corporate backdoors (basically a rootkit operating way below the level of the owner's root access, and that can be accessed over the internet, even when powered over ethernet while the main power supply is switched off Undecided). If the whole Bitcoin network was running on such hardware, then Intel/AMD could in essence be in possession of a Bitcoin off-switch.

I have owned each and every rasp pi other then the 4.

they all feel and act so underpowered compared to a lenovo m tiny or a mac min or a dell micro or an hp elite.

i run a lot of those four units from four companies.

but they all have intels in them.

even though i use linux win 7 win 10 and mac os.

I have yet to get a rasp pi to feel powerful enough to run like the intel models. but i guess having a third set of cpus running a core is not a bad idea.

maybe i will spring for a rasp pi. 4

3) Never invest more than you can afford to lose
2)Not your keys not your coins.
1) be like JJG just DCA
Carlton Banks
Legendary
*
Offline Offline

Activity: 3360
Merit: 2960



View Profile
December 27, 2019, 06:18:38 PM
 #70

yeah, Raspi's have always had underpowered CPUs. The RPi4 is a step forward, but really because of the 2/4GB RAM variants. CPU is better, but not alot. I think it has more crypto instructions in the ISA (Cortex A72 I think), but not SHA256 sadly. Supposedly SHA256 acceleration only improves Bitcoin tx validation performance on x86_64 by 5%, but maybe the improvement would be bigger on a future RPi, as it would be improving from a lower performance baseline.

Vires in numeris
Transisto
Donator
Legendary
*
Offline Offline

Activity: 1731
Merit: 1001



View Profile WWW
March 20, 2020, 08:45:08 AM
Merited by TheBeardedBaby (1)
 #71

For those wondering how long it takes to sync,

Code:
2020-03-20T08:17:21Z UpdateTip: new best=0000000000000000000f813e7f23162e1a647cd07a4851f016170f30785259dc height=622126
...
2020-03-20T08:26:35Z UpdateTip: new best=000000000000000000068db6dedd26ae638bf34a7498982483c77b117c4d7769 height=622262

549sec for 136 block

4 seconds per block

622262*4/60/60/24 = 28.8 days, assuming full block + segwit.
DaveF
Legendary
*
Online Online

Activity: 3066
Merit: 5202


I DO NOT TRADE on Telegram or Skype or Discord.


View Profile WWW
March 23, 2020, 09:18:04 PM
 #72

For those wondering how long it takes to sync,

Code:
2020-03-20T08:17:21Z UpdateTip: new best=0000000000000000000f813e7f23162e1a647cd07a4851f016170f30785259dc height=622126
...
2020-03-20T08:26:35Z UpdateTip: new best=000000000000000000068db6dedd26ae638bf34a7498982483c77b117c4d7769 height=622262

549sec for 136 block

4 seconds per block

622262*4/60/60/24 = 28.8 days, assuming full block + segwit.


That's vague information, can you tell us :
1. Which RPi4 do you use (1, 2 or 4 GB)
2. Do you know if there are any bottleneck (either from slow internet connection or slow storage)?

Yeah, that seems a bit slow. If you are on the high end of hardware.
RPi4 / 4GB / Samsung USB SSD / 300MB connection (before corona and everyone working from home killed my connection)  did if from scratch in under 10 days.
I keep feeling that towards the end of the sync when most block are full a spinning drive just kills performance vs. an SSD

-Dave

.Sinbad.io.MIXER......
██████████████████████▀▀░▄░▄░▀▀██████████████████████
███████████████▀███▀▀▄▀█░▄▀▄░█▀▄▀▀███▀███████████████
██████████████░░░▄▄▀▀░░░▀▄▄▄▀░░░▀▀▄▄░░░██████████████
███▀▀██████████░░░░░░▄▀▀▄▄▄▄▄▀▀▄░░░░░░██████████▀▀███
██░█▄░▀▀█████████▄▄▄░░▄▀░▀█░░▀▄░░▄▄▄█████████▀▀░▄█░██
███▄▄░▀░▄░▀▀██▀▀▀▀█▄▄░▀██▀▐█▄█▀░▄▄█▀▀▀▀██▀▀░▄░▀░▄▄███
█████░██▄▄▀░▄░░▀▀▄██▀▌░▀░▄▄░░▀░▐▀██▄▀▀░░▄░▀▄▄██░█████
██████▄▀▀▀▀▀▄▄▄▀▀▄▄▄▄░░░░░▀░▀░░░▄▄▄▄▀▀▄▄▄▀▀▀▀▀▄██████
███████████████▀▀░░▀▀░░░░░░░░░░░▀▀░░▀▀███████████████
████████████▀▄▄███▀▀▀▄█▄▀░░░▀▄█▄▀▀▀███▄▄▀████████████
██████████▀▄█▀▀▄▄▄███▀▀▄▄▄░▄▄▄▀▀███▄▄▄▀▀█▄▀██████████
███████▀▀▄█████▀▀▀▄▄▄███████████▄▄▄▀▀▀█████▄▀▀███████
██▀▀░░░▀▀▀▀▀▄▄▄███████████████████████▄▄▄▄▀▀▀▀░░░▀▀██
......PROTECTING.YOUR.PRIVACY.........MIX.NOW.........
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!