lotus/cmd/lotus-miner
Clint Armstrong 93e4656a27 Use a float to represent GPU utilization
Before this change workers can only be allocated one GPU task,
regardless of how much of the GPU resources that task uses, or how many
GPUs are in the system.

This makes GPUUtilization a float which can represent that a task needs
a portion, or multiple GPUs. GPUs are accounted for like RAM and CPUs so
that workers with more GPUs can be allocated more tasks.

A known issue is that PC2 cannot use multiple GPUs. And even if the
worker has multiple GPUs and is allocated multiple PC2 tasks, those
tasks will only run on the first GPU.

This could result in unexpected behavior when a worker with multiple
GPUs is assigned multiple PC2 tasks. But this should not suprise any
existing users who upgrade, as any existing users who run workers with
multiple GPUs should already know this and be running a worker per GPU
for PC2. But now those users have the freedom to customize the GPU
utilization of PC2 to be less than one and effectively run multiple PC2
processes in a single worker.

C2 is capable of utilizing multiple GPUs, and now workers can be
customized for C2 accordingly.
2021-11-30 02:06:58 +01:00
..
actor_test.go test: genesis actors version 2021-08-11 13:30:15 -07:00
actor.go use existing util 2021-10-26 20:53:16 -04:00
allinfo_test.go rename cmd/lotus{-storage=>}-miner to match binary. 2021-07-27 11:54:46 +01:00
backup.go rename cmd/lotus{-storage=>}-miner to match binary. 2021-07-27 11:54:46 +01:00
config.go rename cmd/lotus{-storage=>}-miner to match binary. 2021-07-27 11:54:46 +01:00
dagstore.go integrate DAG store and CARv2 in deal-making (#6671) 2021-08-16 23:34:32 +01:00
info_all.go Add more info to miner allinfo command 2021-09-24 12:02:06 +02:00
info.go Show more deal states in miner info 2021-09-10 12:21:33 +02:00
init_restore.go fix: init restore adds empty storage.json 2021-08-11 13:36:01 +10:00
init_service.go use fallback api infos last; init service with markets-path. 2021-07-29 16:10:04 +01:00
init.go Shed: Add a util to create miners more easily 2021-11-03 00:20:48 +00:00
main.go fix: Update lotusminer default paths 2021-09-30 09:06:55 -04:00
market.go update CLI command to take arg; reduce time for itest 2021-10-11 14:03:56 +02:00
pieces.go Add verbose mode to lotus-miner pieces list-cids 2021-11-29 17:19:47 +01:00
proving.go Add storage-id flag to proving check 2021-10-08 14:56:08 +02:00
retrieval-deals.go target markets API for markets commands. 2021-07-29 12:37:29 +01:00
run.go rename cmd/lotus{-storage=>}-miner to match binary. 2021-07-27 11:54:46 +01:00
sealing.go Use a float to represent GPU utilization 2021-11-30 02:06:58 +01:00
sectors.go Add --unproven flag to the sectors list command 2021-09-09 23:29:52 +02:00
stop.go rename cmd/lotus{-storage=>}-miner to match binary. 2021-07-27 11:54:46 +01:00
storage.go update storage attach allowTo usage 2021-11-23 16:23:06 +01:00