Skip to content

Commit

Permalink
Overriding worker hostname (#316)
Browse files Browse the repository at this point in the history
Add instructions on how to override the `lotus-worker` hostname.
  • Loading branch information
rjan90 authored Aug 10, 2022
1 parent 8cce9c0 commit add008e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions content/en/storage-providers/seal-workers/seal-workers.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export FIL_PROOFS_USE_GPU_COLUMN_BUILDER=1 # when GPU is available
export FIL_PROOFS_USE_GPU_TREE_BUILDER=1 # when GPU is available
export FIL_PROOFS_PARAMETER_CACHE=/fast/disk/folder # > 100GiB!
export FIL_PROOFS_PARENT_CACHE=/fast/disk/folder2 # > 50GiB!
export LOTUS_WORKER_NAME="Your-Worker-Name" # if not set, defaults to hostname
# The following increases speed of PreCommit1 at the cost of using a full
# CPU core-complex rather than a single core.
Expand Down Expand Up @@ -124,6 +125,8 @@ Worker 1, host othercomputer
GPU: GeForce RTX 2080, not used
```

If you want to give the `lotus-worker` a custom name, you can specify it at runtime with the `--name` option, or by exporting the `LOTUS_WORKER_NAME=Your-Name` enviroment variable.

### Limit tasks run in parallel

You can limit the amount of tasks run in parallel per task type with environment variables. The environment variable are formatted as `[short task type]_[sector size]_MAX_CONCURRENT=[limit]`.
Expand Down

0 comments on commit add008e

Please sign in to comment.