As part of my
2014 Winter Warmup RetroChallenge project
I thought it would be fun to compile cpuminer for IRIX and see how my trusty old SGI O2 would work at Litecoin mining.
Download
If you are curious to benchmark your own system you can grab an IRIX 6.5 copy of cpuminer here:
irix-cpuminer.zip
Benchmarks
Here is a graph with the results from my systems:
For comparison I tested the same cpuminer code on a few computers in my house:
-
2008 Apple Mac Pro Xeon - 8 core 3.2GHz System (25.6 GHz) = 8 threads x 4.78 khash/s
-
2006 HP DC5750 Desktop AMD Athlon 64 X2 - 2 core 2.1 Ghz (4.2Ghz) = 2 threads x 1.6 khash/s
-
2013 Raspberry Pi ARM 700 MHz = 0.33 khash/s
-
1996 SGI O2 195 MHz MIPS R10K = 0.08 khash/s
Installation
Step 1.
Install the required Nekoware library: neko_curl-7.19.7.tardist
You can get the nekoware tardist files from the primary mirror:
http://nekoware.dustytech.net/index.php?path=current/
I ended up adding the following Nekoware compiled packages to my system so I could develop and run cpuminer:
-
neko_curl-7.19.7.tardist
-
neko_cyrus_sasl-2.1.22.tardist
-
neko_db4-4.4.20.tardist
-
neko_gawk-3.1.5.tardist
-
neko_gmp-4.2.1.tardist
-
neko_krb5-1.8.tardist
-
neko_libidn-0.5.4.tardist
-
neko_openldap-2.3.26.tardist
-
neko_openssl-0.9.8x.tardist
-
neko_readline-6.1-4.tardist
-
neko_unixodbc-2.2.10.tardist
Step 2.
Give the minerd executable permissions
Step 3.
The minerd program should be copied to the /usr/local/bin folder.
Step 4.
Launch minerd with the stratum server URL and login info.
Code:
Select all
minerd -o stratum+tcp://mining.usa.hypernova.pw:3333 -O username.computer:password
Notes
For some reason the IRIX compiled version of minerd only accepts the single dash version of arguments. This means you can use the -o and -O options to provide the server path and login details.