Hi, slurm.conf has the following parameter as documented in the slurm.conf
man page:
max_job_bf=#
The maximum number of jobs to attempt backfill
scheduling for (i.e. the queue depth). Higher values
result in more overhead and less responsiveness.
Until an attempt is made to backfill schedule a job,
its expected initiation time value will not be set.
The default value is 50. In the case of large clus-
ters (more than 1000 nodes) configured with
SelectType=select/cons_res, configuring a relatively small
value may be desirable. This option applies only to
SchedulerType=sched/backfill.
This should do it.
*/David*
On Wed, Apr 24, 2013 at 11:32 PM, Tapasya Patki <[email protected]>wrote:
> Thanks Carles, that's what we did, but I was just wondering if there was
> a separate plugin that already existed.
>
> Thanks again.
>
> --T
>
>
> On Wed, Apr 24, 2013 at 11:10 PM, Carles Fenoy <[email protected]> wrote:
>
>> Hi Tapasya,
>>
>> I don't know of any implementation of easy backfilling for slurm, but it
>> should be very easy to modify current backfill plugin to implement easy
>> backfilling.
>> The reservation is made at the end of the backfill algorithm so just
>> wrapping it with an "if" for the first job should be enough. You should add
>> a counter to know if its the first job, but it should be pretty easy.
>>
>> These are the lines involved in the reservation (lines 917,918 in
>> src/plugins/sched/backfill/backfill.c)
>>
>> bit_not(avail_bitmap);
>> _add_reservation(job_ptr->start_time,
>> end_reserve,
>> avail_bitmap, node_space,
>> &node_space_recs);
>>
>>
>> Regards,
>> Carles Fenoy
>>
>>
>> On Thu, Apr 25, 2013 at 7:40 AM, Tapasya Patki
>> <[email protected]>wrote:
>>
>>> Hello,
>>>
>>> Is there an existing simple backfilling plugin for SLURM that does easy
>>> backfilling (only make a reservation for the first job at the head of the
>>> queue)? The sched/backfill seems to work in a conservative way (correct me
>>> if I'm wrong).
>>>
>>> Thanks.
>>>
>>> --Tapasya
>>>
>>
>>
>>
>> --
>> --
>> Carles Fenoy
>>
>
>