lotus/cmd
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
..
chain-noise Fix tests 2021-04-06 12:24:58 +02:00
lotus Merge branch 'release/v1.12.0' into jen/12tomaster 2021-10-04 02:38:00 -04:00
lotus-bench Fix Drand fetching around null tipsets 2021-09-29 11:57:59 -04:00
lotus-fountain Fix buildall 2021-04-05 20:12:47 +02:00
lotus-gateway Merge branch 'master' into raulk/itests 2021-06-07 23:17:44 +01:00
lotus-health Dep upgrade pass 2021-10-08 12:37:40 +02:00
lotus-keygen add keygen outfile 2020-12-04 18:39:35 +08:00
lotus-miner Use a float to represent GPU utilization 2021-11-30 02:06:58 +01:00
lotus-pcr Add caches to lotus-stats and splitcode 2021-11-01 09:05:14 +00:00
lotus-seal-worker Report memory used and swap used in worker res 2021-11-30 02:06:58 +01:00
lotus-seed Seed: improve helptext 2021-09-08 15:26:37 -04:00
lotus-shed Add usage 2021-11-26 15:01:05 +01:00
lotus-sim Fix Drand fetching around null tipsets 2021-09-29 11:57:59 -04:00
lotus-stats Add caches to lotus-stats and splitcode 2021-11-01 09:05:14 +00:00
lotus-wallet Expose storage states on the metrics endpoint 2021-10-01 14:45:01 +02:00
tvx stmgr: drop MethdosMap 2021-09-02 18:58:34 +02:00