1

I have benn dealing with crypto currencies for the last few days(especially on Raspberry Pis) and now I'm wondering how a Raspberry can have such a bad hashrate(1-20H/s)... Mining is just doing SHA/CryptoNight hashing(and submitting them)...

If I use python to generate a SHA hash it doesn't take me one second to generate 20 hashes.. It's ways faster....

So what is the RPi doing when not hashing?

1 Answer 1

4

You cannot compare hash-rates for SHA and CryptoNight as they have different characteristics. CryptoNight requires 2MB of processor cache per thread and if you don't have that, the hashing will be significantly slower than other algorithms.

Raspberry Pi 3 to my recollection only has 512KB L2 cache so it's always going to be slow hashing CryptoNight compared to hashing on most desktops.

2
  • What's about sha? How much cashe does it need?
    – fipsi
    Commented Jun 26, 2018 at 4:56
  • 2
    It doesn't need cache. That's a key difference. CryptoNight is designed to be memory hard.
    – jtgrassie
    Commented Jun 26, 2018 at 11:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.