xmr-stak-cpu安装
xmr-stak-cpu
是一个用于cpu
计算的开源软件,下面记录在ubuntu17.04
下的安装过程
sudo apt-get -y install git
git clone https://github.com/fireice-uk/xmr-stak-cpu.git
sudo apt-get -y install libmicrohttpd-dev libssl-dev cmake build-essential
cd xmr-stak-cpu/
此时可以选择捐赠作者的比例
编辑donate-level.h
更改完成后,执行编译和安装
cmake -DHWLOC_ENABLE=OFF .
make install
xmr-stak-cpu使用
编辑 xmr-stak-cpu/bin/config.txt
cat /proc/cpuinfo | grep processor
查看总线程数n
将cpu_threads_conf
改成以下内容,threads
数量大约为cpu
总线程数的2/3,
以我使用的E5-2665
为例,共16
线程,使用10
线程时效率最高。
"cp