gridcoin-community / Gridcoin-Tasks

Gridcoin community tasks repository
https://gridcoin.us
MIT License
24 stars 5 forks source link

Improve the performance on single board computers (increase staking participation) #72

Closed skcin closed 6 years ago

skcin commented 6 years ago

Issue by skcin Thursday Jan 26, 2017 at 14:06 GMT Originally opened as https://github.com/Erkan-Yilmaz/Gridcoin-tasks/issues/69


If we improve the performance on single board computers like the raspberry pi maybe more users will stake 24/7. We could provide ready to deploy images to make it easy to get started. (similar to www.peerbox.me) Or at least provide precompiled gridcoin wallets because compiling on these devices takes some time.

Not everyone has cheap electricity and can afford to run a x86 pc 24/7.

skcin commented 6 years ago

Comment by grctest Thursday Jan 26, 2017 at 14:18 GMT


open: https://github.com/gridcoin/Gridcoin-Research/issues/166

closed: https://github.com/gridcoin/Gridcoin-Research/issues/153 https://github.com/gridcoin/Gridcoin-Research/issues/157

PiGrid guys should dedicate some time towards this, it's integral to the success (or basic operation) of their distributed hardware. The RAM utilization of the Gridcoin client currently exceeds some low power devices.

Scalextrix has had success recently with monitoring the Gridcoin client on his RPi.


Quoting the low stake weight issue to draw attention: https://github.com/gridcoin/Gridcoin-Research/issues/106

skcin commented 6 years ago

Comment by denravonska Sunday Feb 05, 2017 at 08:41 GMT


I have an ongoing quest for reducing the RAM usage and I believe it can be taken down to the same levels as the Bitcoin wallet. By loading the Gridcoin block data on demand instead of keeping it all in memory should free up some resources. However, it would come at the cost of CPU usage according to Rob. If I manage to solve the RAM issue I'll see if the potential CPU spike can be taken down.

Though I'd want a word on gridcoin/Gridcoin-Research#203 first to avoid unnecessary refactoring.

skcin commented 6 years ago

Comment by denravonska Tuesday Feb 21, 2017 at 16:32 GMT


My original plan didn't work out due to slow disk access on the Pi. However, I have done some work to reduce the requirements somewhat. Are we at an acceptable level now or do we need to decrease it further?

grctest commented 6 years ago

I think it's been improved to an acceptable level - several users have taken to using arch over ubuntu for low power devices, if it gets worse then creating an issue on the gridcoin-research repo is appropriate.