You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Lotus常用环境变量使用说明
1. 通用环境变量
FIL_PROOFS_PARAMETER_CACHE
:proof 证明参数路径,默认在/var/tmp/filecoin-proof-parameters
下。export FIL_PROOFS_PARAMETER_CACHE=/home/user/nvme_disk/filecoin-proof-parameters
FFI_BUILD_FROM_SOURCE
:从源码编译底层库。export FFI_BUILD_FROM_SOURCE=1
IPFS_GATEWAY
:配置证明参数下载的代理地址。export IPFS_GATEWAY=https://proof-parameters.s3.cn-south-1.jdcloud-oss.com/ipfs/
TMPDIR
:临时文件夹路径,用于存放显卡锁定文件。export TMPDIR=/home/user/nvme_disk/tmp
RUST_LOG
:配置Rust日志级别。export RUST_LOG=Debug
GOPROXY
:配置Golang代理。export GOPROXY=https://goproxy.cn
2. Lotus Deamon环境变量
LOTUS_PATH
:lotus daemon 路径,例如:export LOTUS_PATH=/home/user/nvme_disk/lotus
3. Lotus Miner环境变量
LOTUS_MINER_PATH
:lotus miner 路径,例如:export LOTUS_MINER_PATH=/home/user/nvme_disk/lotusminer
FULLNODE_API_INFO
:lotus daemon API 环境变量;export FULLNODE_API_INFO=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBbGxvdyI6WyJyZWFkIiwid3JpdGUiLCJzaWduIiwiYWRtaW4iXX0.JSdq-OviNQW2dZslvyargJsqgLrlYCjoZCIFkb2u96g:/ip4/192.168.1.10/tcp/1234/http
BELLMAN_CUSTOM_GPU
:指定GPU型号;4. Lotus Worker环境变量
LOTUS_WORKER_PATH
:Lotus worker 路径;export LOTUS_WORKER_PATH=/home/user/nvme_disk/lotusworker
FIL_PROOFS_MAXIMIZE_CACHING
:最大化内存参数;export FIL_PROOFS_MAXIMIZE_CACHING=1
FIL_PROOFS_USE_MULTICORE_SDR
:CPU多核心绑定;export FIL_PROOFS_USE_MULTICORE_SDR=1
FIL_PROOFS_USE_GPU_TREE_BUILDER
:使用GPU计算Precommit2 TREE hashexport FIL_PROOFS_USE_GPU_TREE_BUILDER=1
FIL_PROOFS_USE_GPU_COLUMN_BUILDER
:使用GUP计算Precommit2 COLUMN hash;export FIL_PROOFS_USE_GPU_COLUMN_BUILDER=1
BELLMAN_NO_GPU
:不使用GPU计算Commit2;unset BELLMAN_NO_GPU
命令取消,因为设置export BELLMAN_NO_GPU=0
无效;export BELLMAN_NO_GPU=1
MINER_API_INFO
:Lotus miner的API信息;export MINER_API_INFO=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBbGxvdyI6WyJyZWFkIiwid3JpdGUiLCJzaWduIiwiYWRtaW4iXX0.JSdq-OviNQW2dZslvyargJsqgLrlYCjoZCIFkb2u96g:/ip4/192.168.1.10/tcp/1234/http
BELLMAN_CUSTOM_GPU
:指定Commit2的GPU型号;Beta Was this translation helpful? Give feedback.
All reactions