SGI: Discussion

Litecoin Mining on IRIX - Page 1

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.

Image

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:
Image

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

Code: Select all

chmod +x minerd


Step 3. The minerd program should be copied to the /usr/local/bin folder.

Code: Select all

sudo cp minerd /usr/local/bin


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.
Andrew Hazelden, VFX Artist
Personal Blog: www.AndrewHazelden.com

:O2: SGI O2, 195 MHz R10K, 320 MB ram, AV1 Video i/o card, 36GB HD
ah that's a nice one :-)
you're not gonna get rich there tho i guess :P

as for the options, irix doesn't support long options (double dash) in general but brief options do the job just as well.
Octane2 2xR12000 400MHz does 2x 0.17 khash/s .......

0.34 khash/s on the "mighty SGI Workstation" vs. 0.33 khash/s on the raspberry LOL :D
:Octane2: 2xR12000 400MHz, 4GB RAM, V12
SGI - the legend will never die!!
I'm half-tempted to see what the quad G5 makes of it.
smit happens.

:Fuel: bigred , 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , 175MHz R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
I'm interested to see, what your Fuel is making of it :-)
:Octane2: 2xR12000 400MHz, 4GB RAM, V12
SGI - the legend will never die!!
Saw this on Twitter and got it running on my Onyx2; launched with 4 separate threads (one per CPU) with each thread pulling around 0.23 khash/sec. Hardware info here: viewtopic.php?f=14&t=13448
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.
So one R14000 550 MHz is 35 % faster than one R12000 400 MHz in Octane2 when 'mining' Litecoin :)
:Octane2: 2xR12000 400MHz, 4GB RAM, V12
SGI - the legend will never die!!
Geoman wrote: So one R14000 550 MHz is 35 % faster than one R12000 400 MHz in Octane2 when 'mining' Litecoin :)


So clock for clock the R12k & R14k are basically the same it seems, at least for this test.

Not really a surprise as from my reading the R10k was the last major upgrade to the MIPS based CPUs and future versions were just minor tweaks and die shrinks. Shame really.
:Octane: R12K 300 MHz, 1 GB RAM, SE+T
:Indigo2IMP: R10K 195MHz, 320MB RAM, Solid Impact
:O2: R10K 175MHz, 256MB RAM, CRM
:Indy: R4400 200MHz, 256MB RAM, XZ
They're actually *500MHz* CPUs, not 550MHz :-)

But yes, the big reason I decided to get rid of my 4x700MHz Tezro was because it wasn't much faster CPU-wise than the Onyx2 (and IR3 blew the doors off of V12).
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.
I want to see an R16.000 in 22nm with on-die-caches @3 GHz --that would be fun!

Besides, it would be so great to upgrade the R1X.000-based SGIs to the newest imaganation/MIPS incarnations like it has been done with O2s R5K and PMC-Sierra 700 MHz.
:Octane2: 2xR12000 400MHz, 4GB RAM, V12
SGI - the legend will never die!!
i wonder what how much a Fuel would produce ?
:Octane: R12K/400 Octane, 1024MB, 36GB 15K MAX3036NC , MXI
my guess is: fastest Fuel: 0.5 per CPU

@Neko: a 25% increase in clockrate (and refined design) yields a 35% increase in computing-power (at least in litecoin-mining) --actually this is very good imho
:Octane2: 2xR12000 400MHz, 4GB RAM, V12
SGI - the legend will never die!!
nekonoko wrote: (and IR3 blew the doors off of V12).

Ha ! Should have kept your mouth shut, now I'm going to bother you ! :P

In what way ? This is not just an intellectual exercise : I can go with 4 V12's or try to get IR shovelled into 4 dvi connectors. Both methods have advantages / disadvantages. But the thing you can't tell without real-world experience is, how do IR and VPro graphics compare in use ?
suddenly she asked for my sweater, and said that she was very very cold ...
hamei wrote:
nekonoko wrote: (and IR3 blew the doors off of V12).

Ha ! Should have kept your mouth shut, now I'm going to bother you ! :P

In what way ? This is not just an intellectual exercise : I can go with 4 V12's or try to get IR shovelled into 4 dvi connectors. Both methods have advantages / disadvantages. But the thing you can't tell without real-world experience is, how do IR and VPro graphics compare in use ?


I am very interested in this product and/or service as well. (Though in my case, it is purely intellectual.)
Scott Elyard cgfx.us
:Octane2: Sarcosuchus_imperator :Octane: Liopleurodon :Indigo2: Carcharodon :Indy: Helicoprion :Indigo: Paradoxides
I wonder how much faster it would run if compiled with MIPSpro :P
:Octane: R12K/300x2, MXE
:1600SW: :ChallengeL:
Octane with 2x R14k 600MHz does 2x 0.28 khash/s.

At least that's faster than the Raspberry... :roll:
:ChallengeL: :O2000: :O200: :Octane: :Octane: :Octane: :Octane2: :Indigo: :Indigo2: :Indigo2IMP: :Indigo2IMP: :Indigo2IMP: :O2: :Indy: :rx2600:
So I let the Octane mining for around 3 hours: earned one share :)
:Octane2: 2xR12000 400MHz, 4GB RAM, V12
SGI - the legend will never die!!
I'm seeing .11 Kh/s out of my Octane (250MHz R10K).
"Apollo was astonished, Dionysus thought me mad."
pip wrote: I wonder how much faster it would run if compiled with MIPSpro :P


Doesn't want to compile for me with MIPSpro (-pthreads not supported or something like that)
"Apollo was astonished, Dionysus thought me mad."
I've only got GCC installed on my SGI O2. If someone wants to provide ssh access to an IRIX box with MIPSpro installed I'm willing to compile an optimized version of cpuminer.
Andrew Hazelden, VFX Artist
Personal Blog: www.AndrewHazelden.com

:O2: SGI O2, 195 MHz R10K, 320 MB ram, AV1 Video i/o card, 36GB HD