Bitcoin Blog Articles
I wasgoed nosey to know the show of Bitcoin mining on a PowerMac G5. Let mij say that if you are mining Bitcoin using a CPU, you’re very likely doing it wrong, but I like to proefneming and had an reserve G5 sitting around to test. Mining with GPUs is much quicker, costs less to mine vanaf watt and is therefore, more profitable. There are now dedicated Bitcoin mining machines that deep-throat away GPU mining so this too will become a thing of the past.
After searching long and hard, I couldn’t actually find any information on mining voorstelling a a G5 or a comprehensive tutorial on how to set it up for maximum spectacle. This Bitcoin mining hardware comparison list shows mining spectacle on G3 and G4 processors, but not a G5 processor.
I’ll explain how I got it working te a minute, but very first on to the voorstelling numbers.
Using CGMiner version Two.11.Four on a PowerMac G5 dual 1.8Ghz laptop running Mac OS X Ten.Five.8 I got spectacle of only around 800 Khash/s combined inbetween both processors. Even for CPU mining this is terrible. I thought there had to be another way to increase spectacle since one of the features of the PowerPC G4 and G5 architecture wasgoed Altivec which is extra instructions built-in to the CPU to provide enhanced graphics spectacle.
The problem wasgoed that primarily I could only get CGMiner compiled for CPU mining using C and Cryptopp spil the hashing algorithms. I figured that if I could enable Altivec, I could get better vertoning.
After a lotsbestemming of work I figured out how to get Altivec compiled into CGMiner spil a supported algorithm and it had a big effect on show. With Altivec, the PowerMac G5 wasgoed displaying spectacle of close to Two Mhash/s or more than dual the show under the other algorithms. Again, not fine, but on par or slightly better than what I get with an iMac core Two Twee Intel processor.
Here’s what I did to get it to work.
* compiler that works on Mac OS X Ten.Five.8. I signed up spil an Apple developer and downloaded an older version of Xcode developer devices that works with Mac OS X Ten.Five.8. Xcode includes a compiler and this is required to compile the following software
* yasm – download latest version here (this is required to get Altivec working)
* pkg-config – download latest version here (this is required to get CGMiner to recognize installed packages when compiling) configure it with –with-internal-glib
* libcurl – download latest version here (this is required by CGMiner)
* CGMiner – download latest version here (this is required for actual Bitcoin Mining) By default CGMiner doesn’t compile with CPU mining support so you have to configure with the flag –enable-cpumining . Version Trio.0 and above of CGMiner source code no longer has CPU mining code so you have to use an older version or you can use BFGMiner spil well with same settings.
I’m not going to go into all of the configure, make and make install directions, since I don’t recommend wasting your time. However, if you are so inclined to get CPU mining working on your PowerMac G5 read through the comments to see if any of the posts can help. I no longer have access to a G5 so personally can’t help much.