task-execution-schemas icon indicating copy to clipboard operation
task-execution-schemas copied to clipboard

CWL v1.1 and v1.2 supports floats for fractional CPU cores, memory, and disk space

Open mr-c opened this issue 5 years ago • 5 comments

https://www.commonwl.org/v1.2/CommandLineTool.html#ResourceRequirement

mr-c avatar Nov 06 '20 12:11 mr-c

@mr-c what ideally would you like TES to do with fractional resources?

vsmalladi avatar Oct 31 '24 21:10 vsmalladi

My intuition: If the underlying infrastructure supports fractional resources, provision them - if not, round up to the next integer. But I'm sure Michael will clarify.

uniqueg avatar Nov 01 '24 11:11 uniqueg

@mr-c what ideally would you like TES to do with fractional resources?

TES, as an API, should allow fractional resources in its schema.

Endpoints, which might be packing jobs into a single VM/machine, should either use the fractional requests to better utilize their resources, or round up if they don't want to think about it (as they might do for any other request that falls between the sizes of the available resources).

mr-c avatar Nov 01 '24 14:11 mr-c

So ideal @mr-c we should change the these to floats but the implementation of TES can decide how to handle. Is that correct?

vsmalladi avatar Nov 08 '24 22:11 vsmalladi

@mr-c can you look at the prposed pr. #230

vsmalladi avatar Nov 08 '24 22:11 vsmalladi