Hi,

Am 01.08.2011 um 16:42 schrieb Francesco Minafra:

> Hello,
> using the option
> 
> -R y
> 
> with the qsub command should create a reservation for the resources requested 
> by the job.
> How can I check if this reservation is effective?
> 
> I've changed max_reservation to a number >0 in the scheduler config
> The user submitting the job is part of the arusers group
> I've enabled monitoring in the scheduler and checking the file:
> 
> $SGE_ROOT/$SGE_CELL/common/schedule
> 
> I don't have traces of entries with the RESERVING string.
> 
> Creating a separate advanced reservation with qrsub and then assigning the 
> job to the
> reservation works as expected though.
> 
> Is there any document that explains better than the qsub manpage the 
> behaviour of '-R y' ?

do you want to submit the you with an resource reservation inside the advance 
reservation?

The question is: is the job eligible to run as the next one or is it somewhere 
down the list of waiting jobs?

For a resource reservation to work, it's also mandatory to submit jobs with 
reasonable h_rt/s_rt requests. Otherwise the default in the scheduler will be 
taken and due to the default "infinity" may avoid any reservation.

The man page of `man sched_conf` explains it.

NB: SGE judges "infinity" being smaller than "inifinity", hence jobs without 
specified runtime will always slip in as they are entitled for backfilling. 
It's better to put there a fixed high value as default_duration in the 
scheduler configuration like "9999:00:00".

-- Reuti


> Thanks,
> Francesco.
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users


_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to