Sector Storage (worker) groups #7642
Replies: 6 comments 11 replies
-
Ozzy's Storage SystemStorage MinerGroups: Worker 1Jobs: Worker 2Jobs: |
Beta Was this translation helpful? Give feedback.
-
Alex Fox's (NeonixAF) Storage System (64GiB)Workersstorage-miner ap-1 pc1-1 pc1-2 pc2-c2-1 pc2-c2-2 Storage LocationsSector Storage Seal Storage 1 Seal Storage 2 Seal Storage 3 |
Beta Was this translation helpful? Give feedback.
-
Documentation feedbacks |
Beta Was this translation helpful? Give feedback.
-
Livspect Storage System (32GiB)Version:
Storage MinerGroups: storage_1
Worker 1Jobs: AP PC1 PC2 C1 C2
Worker 2Jobs: AP PC1 PC2 C1 C2
|
Beta Was this translation helpful? Give feedback.
-
This is now in v1.13.2-rc1! |
Beta Was this translation helpful? Give feedback.
-
Sure. Here are some examples; == and == 2021-12-03T15:59:23.372Z INFO stores stores/local.go:639 remove /home6/unsealed/s-t01410000-1133 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
A new feature, creating sector storage/ worker groups is introduced in #7453.
Feature
🆕 Two new optional fields was added to
sectorstore.json
:Groups []string
- list of group names the storage path belongs to.AllowTo []string
- list of group names to which sectors can be fetched to from this storage path.Those two should allow for creating worker groups, and avoiding unnecesarily moving data between multi-purpose workers. For example in the following setup:
Groups: ["example-storage-group-1"]
Groups: ["example-seal-group-1"], AllowTo: ["example-seal-group-1"]
Groups: ["example-seal-group-2"], AllowTo: ["example-seal-group-2"]
AllowTo: ["example-seal-group-1""]
Without storage groups, PC2 tasks on workers 1/2 could be scheduled with sector data from other workers, which would often waste bandwidth and occasionally block processing on fetching data.
With storage groups configured as above, sectors which had PC1 done on worker1 / worker2 will always execute PC2 on the same worker. Sectors from worker3 will only go to worker1 for PC2
🆕 Groups can be setup in two ways:
lotus-miner storage attach --init --groups <["group-a", "group-b" ... ]>, --allow-to=<["group-a", "group-b" ... ]>
orlotus-worker storage attach --init --groups <["group-a", "group-b" ... ]>, --allow-to <["group-a", "group-b" ... ]>
[path]/sectorstore.json
, then restarting lotus-miner/workerNote: if
--allow-to
orAllowTo
is not specified, all groups will be accessible.Steps
groups
andallow-to
!Beta Was this translation helpful? Give feedback.
All reactions