lotus/extern/sector-storage/storiface
Clint Armstrong 4ef8543128 Permit workers to override resource table
In an environment with heterogenious worker nodes, a universal resource
table for all workers does not allow effective scheduling of tasks. Some
workers may have different proof cache settings, changing the required
memory for different tasks. Some workers may have a different count of
CPUs per core-complex, changing the max parallelism of PC1.

This change allows workers to customize these parameters with
environment variables. A worker could set the environment variable
PC1_MIN_MEMORY for example to customize the minimum memory requirement
for PC1 tasks. If no environment variables are specified, the resource
table on the miner is used, except for PC1 parallelism.

If PC1_MAX_PARALLELISM is not specified, and
FIL_PROOFS_USE_MULTICORE_SDR is set, PC1_MAX_PARALLELSIM will
automatically be set to FIL_PROOFS_MULTICORE_SDR_PRODUCERS + 1.
2021-11-30 02:06:58 +01:00
..
cbor_gen.go integrate DAG store and CARv2 in deal-making (#6671) 2021-08-16 23:34:32 +01:00
ffi.go bypass task scheduler for reading unsealed pieces 2021-06-07 15:02:04 +05:30
filetype.go consider storiface.PathStorage when calculating storage requirements 2021-05-11 13:19:26 +02:00
storage.go storage: Fix import cycle 2020-09-06 18:54:00 +02:00
worker.go Permit workers to override resource table 2021-11-30 02:06:58 +01:00