docs: document some mining-related env vars

This commit is contained in:
Łukasz Magiera 2020-05-12 21:37:23 +02:00
parent ed67e4c5a9
commit 150346ae51
2 changed files with 31 additions and 2 deletions

View File

@ -28,7 +28,16 @@ To check that the **Lotus Seal Worker** is properly connected to your storage mi
```sh ```sh
why@computer ~/lotus> lotus-storage-miner workers list why@computer ~/lotus> lotus-storage-miner workers list
*TODO: paste example output* Worker 0, host computer
CPU: [ ] 0 core(s) in use
RAM: [|||||||||||||||||| ] 28% 18.1 GiB/62.7 GiB
VMEM: [|||||||||||||||||| ] 28% 18.1 GiB/62.7 GiB
GPU: GeForce RTX 2080, not used
Worker 1, host computer
CPU: [ ] 0 core(s) in use
RAM: [|||||||||||||||||| ] 28% 18.1 GiB/62.7 GiB
VMEM: [|||||||||||||||||| ] 28% 18.1 GiB/62.7 GiB
GPU: GeForce RTX 2080, not used
``` ```
## Running Over the Network ## Running Over the Network
@ -71,5 +80,15 @@ To check that the **Lotus Seal Worker** is connected to your **Lotus Storage Min
```sh ```sh
why@computer ~/lotus> lotus-storage-miner workers list why@computer ~/lotus> lotus-storage-miner workers list
*TODO: paste example output* Worker 0, host computer
CPU: [ ] 0 core(s) in use
RAM: [|||||||||||||||||| ] 28% 18.1 GiB/62.7 GiB
VMEM: [|||||||||||||||||| ] 28% 18.1 GiB/62.7 GiB
GPU: GeForce RTX 2080, not used
Worker 1, host othercomputer
CPU: [ ] 0 core(s) in use
RAM: [|||||||||||||| ] 23% 14 GiB/62.7 GiB
VMEM: [|||||||||||||| ] 23% 14 GiB/62.7 GiB
GPU: GeForce RTX 2080, not used
``` ```

View File

@ -89,3 +89,13 @@ lotus-storage-miner state power <miner>
lotus-storage-miner state sectors <miner> lotus-storage-miner state sectors <miner>
``` ```
## Performance tuning
### `FIL_PROOFS_MAXIMIZE_CACHING=1` Environment variable
This env var can be used with `lotus-storage-miner`, `lotus-seal-worker`, and `lotus-bench` to make the precommit1 step faster at the cost of some memory use (1x sector size)
### `FIL_PROOFS_USE_GPU_COLUMN_BUILDER=1` Environment variable
This env var can be used with `lotus-storage-miner`, `lotus-seal-worker`, and `lotus-bench` to enable experimental precommit2 GPU acceleration