lotus 不使用显卡,设置环境变量

lotus 不使用显卡,设置环境变量

  • 1,lotus 设置

1,lotus 设置

  • lotus-storage-miner run不使用GPU
nohup lotus-storage-miner run  --enable-gpu-proving=false  >> /storage/miner.log 2>&1 &
  • 设置环境变量
  • # vim /root/.bashrc
export FIL_PROOFS_PARAMETER_CACHE=/storage/filecoin-proof-parameters-v20

export LOTUS_STORAGE_PATH=/storage/lotuswork/lotusstorage
export LOTUS_PATH=/storage/lotuswork/lotus
export WORKER_PATH=/storage/lotuswork/lotusworker

export TMPDIR=/storage/lotuswork/tmpdir
export IPFS_GATEWAY="https://proof-parameters.s3.cn-south-1.jdcloud-oss.com/ipfs/"

export BELLMAN_CUSTOM_GPU="GeForce GTX 1080:2560"

export RUST_LOG=info
export RUST_BACKTRACE=full
  • 设置1个Worker
  • WorkerCount = 2
# cd /storage/lotuswork/lotusstorage/

# vim config.toml
[SectorBuilder]
#  WorkerCount = 5
   WorkerCount = 2

在这里插入图片描述

你可能感兴趣的:(#,lotus)