[GE users] priority and nice

Andy Schwierskott andy.schwierskott at Sun.COM
Wed Sep 22 08:47:59 BST 2004


Reuti,

you're right - if the reprioritize_interval is set to 0 then the
priority(nice) setting will have an effect.

Andy

>> 1) If I do what you've said, should I see a nice of 19 to this process ?
>> if it's the case, this is not working : (
>
> The default is set to 0, so it's okay.
>
>> 2) this is what I have in my configuration
>>
>> > qconf -sconf global | grep prio
>> reprioritize                 0
>>
>> > qconf -ssconf | grep prio
>> reprioritize_interval             0:0:0
>> weight_priority                   1.000000
>>
>> > qconf -sq <a_queue> | grep prio
>> priority              0
>
> Here you have to define the priority to 19
>
>> 3) after digging a little bit the man
>> man queue_conf
>> I see:
>>    priority
>>       The priority parameter specifies the nice(2) value at  which
>>       jobs  in  this queue will be run. The type is number and the
>>       default is zero (which means no nice  value  is  set  expli-
>>       citly).  Negative  values (up to -20) correspond to a higher
>>       scheduling priority, positive values (up to +20)  correspond
>>       to a lower scheduling priority.
>>
>>       The value of priority has  no  effect  because  SGE  adjusts
>>       priorities dynamically to implement the SGE entitlement pol-
>>       icy goals. Dynamic priority adjustment can be switched  off,
>>       by  setting  the reprioritize_interval to 00:00:00, which is
>>       the default value. In this case,  the  setting  of  priority
>>       also will haven't an effect.
>
> Mmh, maybe there is a typo in this last sentence, and should be red without the
> "n't". I just checked with 6.0u1 and for me it's working.
>
> Cheers - Reuti

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list