用CPU採礦的時代已經過去了!

Bycodeant

用CPU採礦的時代已經過去了!

過年期間總是會見到平日難得聚首的親戚們,這是幸福的,席間忽然被年輕一輩問到關於用比特幣賺錢的問題,這個我是幾年前有注意過採礦賺錢的可能性,但是從來沒有投入過,今日再度研究一下,真的時不我予了,5年前可能用GPU採礦還能賺到錢,現在幾乎很難了,Bitcoin的採礦也已經進入規模化的時代,如果還想著要用個人的CPU或是GPU去採礦,應該連電費都賺不到了。

下面是在Linux系統上安裝CPU Miner程式的步驟:

介紹網頁:

https://en.bitcoin.it/wiki/Cpu_Miner

執行檔下載:

Sourceforge: 	
https://sourceforge.net/projects/cpuminer/ 	
tar xf pooler-cpuminer-2.4.5-linux-x86_64.tar.gz

取得 Source Code:

Git Hub: 	
https://github.com/pooler/cpuminer 	
git clone https://github.com/pooler/cpuminer.git

編譯過程:

Build: 	
sudo apt-get install libcurl4-openssl-dev 	
cd cpuminer 	
./autogen.sh 	
./configure 	
make 	
./minerd --help 	
./minerd --benchmark

測試結果:

[2017-02-02 11:41:34] Binding thread 0 to cpu 0 
[2017-02-02 11:41:34] 4 miner threads started, using 'scrypt' algorithm. 
[2017-02-02 11:41:34] Binding thread 2 to cpu 2 
[2017-02-02 11:41:34] Binding thread 3 to cpu 3 
[2017-02-02 11:41:34] Binding thread 1 to cpu 1 
[2017-02-02 11:41:34] thread 1: 4104 hashes, 18.99 khash/s 
[2017-02-02 11:41:34] thread 3: 4104 hashes, 18.77 khash/s 
[2017-02-02 11:41:34] thread 0: 4104 hashes, 18.69 khash/s 
[2017-02-02 11:41:34] thread 2: 4104 hashes, 18.63 khash/s 
[2017-02-02 11:41:39] thread 2: 93144 hashes, 19.29 khash/s 
[2017-02-02 11:41:39] thread 1: 94944 hashes, 19.43 khash/s 
[2017-02-02 11:41:39] thread 0: 93456 hashes, 19.09 khash/s 
[2017-02-02 11:41:39] thread 3: 93864 hashes, 19.15 khash/s 
[2017-02-02 11:41:39] Total: 76.95 khash/s

問題就是出在上面的 76.95 khash/s,以 Intel i5 CPU 這種一般家用等級的運算效能,根本上不了檯面,至少我是放棄了,興趣的可以繼續參考下面的網頁資料。

https://litecoin.info/Mining_hardware_comparison

https://btcserv.net/bitcoin-mining-calculator

計算出的結果,一年都賺不到一塊。

Screenshot from 2017 02 03 114736

About the author

codeant administrator

Leave a Reply