1,lotus-miner 运行
nohup lotus-miner run >> /var/log/miner/miner.log 2>&1 &
2,lotus-worker 运行
远程矿工带显卡GPU,--parallel-fetch-limit=2
nohup lotus-worker run --parallel-fetch-limit=2 >> /var/log/worker/worker.log 2>&1 &
远程矿工没有显卡,--parallel-fetch-limit=2
nohup lotus-worker --enable-gpu-proving=false run --parallel-fetch-limit=2 >> /var/log/worker/worker.log 2>&1 &
kill -9 $(ps aux | grep "lotus-worker" | grep -v grep | awk '{print $2}')
echo $FIL_PROOFS_USE_MULTICORE_SDR && echo $FIL_PROOFS_USE_GPU_COLUMN_BUILDER && echo $FIL_PROOFS_USE_GPU_TREE_BUILDER && echo $FIL_PROOFS_MAXIMIZE_CACHING && echo $RUST_LOG
nohup lotus-worker run --parallel-fetch-limit=1 >> /var/log/worker/worker.log 2>&1 &
nohup lotus-worker run --addpiece=false --precommit1=false --parallel-fetch-limit=1 >> /var/log/worker/worker.log 2>&1 &
nohup lotus-worker run --addpiece=false --precommit1=false --precommit2=false --parallel-fetch-limit=1 >> /var/log/worker/worker.log 2>&1 &
重新运行
kill -9 $(ps aux | grep "lotus-worker" | grep -v grep | awk '{print $2}')
nohup lotus-worker run --parallel-fetch-limit=1 >> /var/log/worker/worker.log 2>&1 &
nohup lotus-worker --enable-gpu-proving=false run --parallel-fetch-limit=1 >> /var/log/worker/worker.log 2>&1 &
# GPU计算,没有GPU可以不用设置
#export FIL_PROOFS_USE_GPU_COLUMN_BUILDER=1
#export FIL_PROOFS_USE_GPU_TREE_BUILDER=1
# 全部使用CPU计算,不使用GPU
export BELLMAN_NO_GPU=1
export BELLMAN_VERIFIER=cpu
echo $FIL_PROOFS_USE_GPU_COLUMN_BUILDER && echo $FIL_PROOFS_USE_GPU_TREE_BUILDER && echo $BELLMAN_CUSTOM_GPU && echo $BELLMAN_NO_GPU && echo $BELLMAN_VERIFIER
1
cpu
kill -9 $(ps aux | grep "lotus-worker" | grep -v grep | awk '{print $2}')
nohup lotus-worker --enable-gpu-proving=false run --commit=false --parallel-fetch-limit=1 >> /var/log/worker/worker.log 2>&1 &
C2 单独计算
nohup lotus-worker run --addpiece=false --precommit1=false --precommit2=false >> /var/log/worker/worker.log 2>&1 &