r/litecoinmining • u/gshel054 • 3d ago
Crypto Mining on Playstation 3 with SPU Acceleration
CPUMINER Ported for the Cell CPU (Playstation 3)

Check it out - This is a screenshot of my laptop with two terminals open. I'm logged in to my Playstation 3 (over SSH) in both. Bottom terminal (left) is dumping verbose output from cpuminer running on my PS3. Bottom right panel is showing spu-top (similar to htop but for the Cell's SPU cores). As you can see I'm running 4 mining threads, each on one of the PS3's 6 SPU SIMD accelerators. I'm averaging about 5.14 khash/sec per SPU. In the top terminal, I'm running a proxy (bfgminer) between cpuminer and litecoinpool.org to translate cpuminer's json rpc messages to the newer stratum protocol. I compiled both programs on my Playstation 3 which is running a custom fork of Fedora (Linux) for ppc64 that I'm developing for fun (see my website PS3LINUX.NET).
Both programs are available on Github:
Both projects are broken in their current state so if you plan on building them yourself, download these patches I made and apply them before compiling:
cpuminer-disable-asm-source.patch
bfgminer-git-submodule-addresses.patch
If you want Cell (SPU core) support in cpuminer you must compile it with both a PPU (powerpc) and SPU toolchain, originally part of IBM's Cell SDK. Modern builds of the Cell SDK's utilities and compilers are also available in the software repos of my experimental new PS3 LINUX operating system. Download my PS3LINUX_Live_ISO.iso (with install script) from my website and install it on your console today!
In case you are wondering, no; mining on the PS3 (even with SPU acceleration) is not profitable. My electricity would have to be virtually free to make it even close to worth it. I mostly did this little endeavor just as a chance to learn some things about some crap I find interesting: Cell development, hash algorithms, C & assembly languages, crash debugging, etc. I picked up some good experience & knowlege fixing all the issues that came up while getting this project to work so overall I'm super glad I did it, even though it will never make me rich.
That is all; hope you are well. Have a good day 😄
MCPS3 (The Model Citizen)
My Linux PS3 (the Gibson):

