[GE users] AR output in qhost -F

reuti reuti at staff.uni-marburg.de
Fri Nov 28 11:34:15 GMT 2008


Am 28.11.2008 um 09:08 schrieb roland:

> reuti schrieb:
>> Am 26.11.2008 um 18:02 schrieb roland:
>>
>>> Hi Reuti,
>>>
>>> reuti wrote:
>>>> Hi,
>>>>
>>>> I made virtual_free consumable and attached it to the hosts
>>>> (vf=800M); it's honored in an AR (-l vf=500M) and conventional jobs
>>>> can't use the reserved resources as it should be while the AR is
>>>> running. You will get an output line for `qstat -j <job_id>` like:
>>>>
>>>> (-l vf=500M) cannot run at host "pc15370" because it offers only
>>>> hc:virtual_free=314572800.000000
>>>>
>>>> Anyway, the output of `qhost -F` is:
>>>>
>>>> $ qhost -F
>>>> HOSTNAME                ARCH         NCPU  LOAD  MEMTOT  MEMUSE
>>>> SWAPTO  SWAPUS
>>>> ------------------------------------------------------------------- 
>>>> --
>>>> ---
>>>> -------
>>>> global                  -               -     -       -       -
>>>> -       -
>>>> pc15370                 lx24-x86        1  0.12  979.9M  142.0M
>>>> 517.7M   16.0K
>>>> ...
>>>>     hc:virtual_free=800.000M
>>>>
>>>> and only running jobs are lowering the shown value - either in  
>>>> the AR
>>>> or a normal qsub. Somwhow I would like to have an output like the
>>>> slots column "reserved" in qstat:
>>>>
>>>>     hc:virtual_free=800.000M (500.000M AR)
>>>>
>>>> It shall not pop up there for any AR in the future, but for the
>>>> already running ones on this machine. Is this feasible? Shall I  
>>>> file
>>>> an issue?
>>
>> Hi Roland,
>>
>> I'm also not sure about the format, as this way you couldn't decide
>> how much of the complex is now used by an AR job and how much by a
>> normal job - or is left for a normal job in the end.
>>
>> For the above example with a total of 800M it might be better:
>>
>> hc:virtual_free=300.000M (500.000M AR)
>>
>> and subtraction should only be done for the used way of starting the
>> job - either in the normal complex or the AR. What about two lines in
>> case of an AR:
>>
>> hc:virtual_free=300.000M
>> hc:virtual_free_ar=500.000M
>
> Reuti,
>
> having two line sounds good for me. However I don't like the idea of
> changing the consumable name by adding the '_ar'. I would suggest  
> adding
> a new layer character 'a' , for example:
>
> hc:virtual_free=300.000M
> ac:virtual_free=500.000M

Yes, agreed. Looks more logical, although you can't distinguish  
whether it's now attached at a host level and/or on a global level.  
For a gc:virtual_free the same applies. For this we would need a  
second letter, kc:virtual_free and a similar things on a queue level  
with qc: => uc:virtual_free.

I added it as this: http://gridengine.sunsource.net/issues/ 
show_bug.cgi?id=2812

-- Reuti

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=90217

To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list