Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
raspberry-linux-64
Kernel source tree for Raspberry Pi Foundation-provided kernel builds. Issues unrelated to the linux kernel should be posted on the community forum at https://www.raspberrypi.org/forum
-
xmrig
Monero (rx/0, rx/wow, rx/loki, defyx, rx/arq, rx/sfx, rx/keva, cn/0, cn/1, cn/2, cn/r, cn/fast, cn/half, cn/xao, cn/rto, cn/rwz, cn/zls, cn/double, cn/gpu, cn-lite/0, cn-lite/1, cn-heavy/0, cn-heavy/tube, cn-heavy/xhv, cn-pico, cn-pico/tlo, argon2/chukwa, argon2/wrkz, astrobwt) CPU/GPU miner (by MoneroOcean)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Well in my dive I saw that using 1g Pages could increase your hash rate, but I couldn’t get it working without recompiling the kernel with hugefiles on. So some more time later I found this https://github.com/kraoc/raspberrypi-monero-minig that claims to be getting a high of 574H/s. With a bait like that I decided to give their approach a try. Reading through I went to https://github.com/kraoc/raspberry-linux-64 and https://github.com/kraoc/raspberry-xmrig-64 an optimized kernel and xmrig compile respectively. I didn’t download their pre-compiled kernel binary. I instead followed their instructions found in the folder raspberrypi readme.md of both repositories. Using two cores this boosted my hash rate to 108.2H/s. With all four it is about 98H/s. Neither are anywhere close to 574. Though I wasn’t expecting to reach that I was hoping to reach close to 475H/s but more expecting 200H/s as I haven’t and wasn’t planning on over clocked my pi.
Following his instructions I used the image from https://downloads.raspberrypi.org/raspios_lite_arm64/images/ and compiling xmrig from https://github.com/xmrig/xmrig . Out of the box I was getting about 98H/s using all four cores. By the way I am using a Pi 4 8G model. Now I was wondering if you could optimize mining on a pi. So I set out to find out. I spent probably 4+ hours looking to seeing if there is a guide to optimize the kernel and xmrig. In hindsight way to much time. After about 2 ½ of on and off looking into it and countless forum, blogs, videos and xmrigs github issue tracker. I learned somewhere that you get a better hash rate if only use 2 cores. I gave that a try and my rate went up to about 105.5H/s. It has something to so with CPU cache if I remember right.
Well in my dive I saw that using 1g Pages could increase your hash rate, but I couldn’t get it working without recompiling the kernel with hugefiles on. So some more time later I found this https://github.com/kraoc/raspberrypi-monero-minig that claims to be getting a high of 574H/s. With a bait like that I decided to give their approach a try. Reading through I went to https://github.com/kraoc/raspberry-linux-64 and https://github.com/kraoc/raspberry-xmrig-64 an optimized kernel and xmrig compile respectively. I didn’t download their pre-compiled kernel binary. I instead followed their instructions found in the folder raspberrypi readme.md of both repositories. Using two cores this boosted my hash rate to 108.2H/s. With all four it is about 98H/s. Neither are anywhere close to 574. Though I wasn’t expecting to reach that I was hoping to reach close to 475H/s but more expecting 200H/s as I haven’t and wasn’t planning on over clocked my pi.
Well in my dive I saw that using 1g Pages could increase your hash rate, but I couldn’t get it working without recompiling the kernel with hugefiles on. So some more time later I found this https://github.com/kraoc/raspberrypi-monero-minig that claims to be getting a high of 574H/s. With a bait like that I decided to give their approach a try. Reading through I went to https://github.com/kraoc/raspberry-linux-64 and https://github.com/kraoc/raspberry-xmrig-64 an optimized kernel and xmrig compile respectively. I didn’t download their pre-compiled kernel binary. I instead followed their instructions found in the folder raspberrypi readme.md of both repositories. Using two cores this boosted my hash rate to 108.2H/s. With all four it is about 98H/s. Neither are anywhere close to 574. Though I wasn’t expecting to reach that I was hoping to reach close to 475H/s but more expecting 200H/s as I haven’t and wasn’t planning on over clocked my pi.
The Raspberries are missing hardware AES instruction, which slows the things down. I got better results with moneroocean and their auto-switching xmrig. You compile it the same way as the vanilla xmrig and it uses automatically the most profitable mining algo. While you are still payed in XMR.