[GE users] queue setup and calendars.

gutnik gutnik at gmail.com
Thu Aug 19 22:51:22 BST 2010


    [ The following text is in the "utf-8" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some characters may be displayed incorrectly. ]

On Thu, Aug 19, 2010 at 2:46 PM, Vadim Gutnik <gutnik at gmail.com> wrote:
>>> My idea was to create a second queue ("offpeak.q"), which would be
>>>  1) active 6pm-5am
>>
>> week mo-fr=08-18=off
>>
>> (as the default is "on" I think)
>>
>>>  2) have no per-user resource limits
>>>  3) limit jobs to 3 hours of real time, to make sure that jobs finish by 8am.
>>
>> The queue can be active up to 8am. The offpeak jobs will have to request "-l h_rt=..." (make it FORCED), *or* define a certain limit in the queue configuration of offpeak.q. SGE will check, whether the jobs would fit into the timeframe which is granted by the calendar for this queue before it's off again to schedule them thereto (when reservation is turned on by a value greater 0 is set for "max_reservation" in the scheduler configuration).
>
> This sounds good, but I'm missing something. What I've done so far
> 1) I made the offpeak.q, and a calendar.
> 2) I added a default sge_request that requests 1000 hours, so that
> default jobs never get into the offpeak.q
>
> I've checked that if I define a limit on h_rt in the queue definition,
> jobs that exceed it won't get scheduled. So I think I can make that
> work.
>
> If I understand what you're saying, SGE should automatically know when
> the queue will be shut off, so that if the shutoff
> will happen in one hour, it won't schedule a 2-hour job, even if the
> queue limit is 3 hours.
> That didn't work for me.
>
> I then set max_reservation to "1", and ... it seems to work, but I
> don't understand how reservations affect this. I'm not reserving
> resources,
> I'm trying to use them now. Is that not right?

Er, that got sent before it should have... The last question
What's the difference between "off" and "suspended"? Is "off" the same
as "disabled", so no new jobs are submitted, and "suspended" ... kill
-STOPs the jobs?

  Vadim

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

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



More information about the gridengine-users mailing list