Hi Paolo, Marco,

what do you think about Stephen's remark?

Stephen, do you mean that syntax could create problems for making queries, or other?

In my opinion we could have two options (the accelerator Type attribute is already defined in the AcceleratorEnvironment class):

1) creating separate attributes for each accelerator type, in the ComputingShare like:

FreeGPUAcceleratorSlots
UsedGPUAcceleratorSlots

FreeMICAcceleratorSlots
UsedMICAcceleratorSlots

FreeFPGAAcceleratorSlots
UsedFPGAAcceleratorSlots

and in the ComputingManager class like:

TotalGPUAcceleratorSlots
UsedGPUAcceleratorSlots

TotalMICAcceleratorSlots
UsedMICAcceleratorSlots

TotalFPGAAcceleratorSlots
UsedFPGAAcceleratorSlots

The question is: are these accelerator types the only ones expected to be provided in the coming few years? If new ones will be provided by the sites, they will not be represented, at least initially.

2) We use the already defined attributes for publishing the number of accelerators in general, regardless the type

do you see any other option?

In both the cases, the data type AcceleratorSlot_t should be modified: it would become simply a number, I suppose.

Cheers,
Alessandro

 

On 23 August 2017 at 16:57, <stephen.burke@stfc.ac.uk> wrote:
glue-wg [mailto:glue-wg-bounces@ogf.org] On Behalf Of Alessandro Paolini
Sent: 16 August 2017 12:38 said:
> For you convenience I've also produced a new version of the draft, attached to this email, reflecting this change.

One comment on the new attributes for accelerators. You have things like:

"The number of accelerator cards slots which are currently unoccupied by jobs and are free for new jobs in this Share to start immediately. The syntax is AcceleratorType:n, e.g. GPU:4 MIC:2 FPGA:1"

That kind of syntax is clumsy and hard to parse and verify for correctness. It would be better to create separate new objects for each accelerator type, with attributes like

Type: GPU
FreeSlots: 4
UsedSlots: 2

Also as a reminder, we had some errata for GLUE 2 that were kept somewhere in our document area - we should make sure that they get incorporated into the new document.

Stephen






--
Dr. Alessandro Paolini
Operations Officer - EGI Foundation
Science Park 140
1098 XG Amsterdam
The Netherlands
skype: alessandro.paolini.egi
*********************************
"I believe in the power of laughter and tears"
    "as an antidote to hatred and terror"
          "A day without laughter"
             "is a wasted day" >>> Charlie Chaplin