On Thu, Mar 09, 2017 at 02:24:38PM +0100, Roberto Nunnari wrote: > Hi Reuti. > Hi William. > > here's my settings you required: > params MONITOR=1 > max_reservation 32 > default_duration 0:10:0 > > I cannot understand how What I see in > ${SGE_ROOT}/${SGE_CELL}/common/schedule can help me.. here's a little > extract for a job submitted with -R y, and it keeps repeating without change > ... > 3653372:1:RESERVING:1489043424:660:P:smp:slots:32.000000 > 3653372:1:RESERVING:1489043424:660:Q:long.q@node19.cluster:slots:32.000000 > 3653372:1:RESERVING:1489043424:660:P:smp:slots:32.000000 > 3653372:1:RESERVING:1489043424:660:Q:long.q@node19.cluster:slots:32.000000 > ... > > Thank you for your help. > Roberto The 4th field is the date of the reservation in seconds since the unix epoch.
date -d@1489043424 Will convert it to something readable (early yesterday morning). The 5th field (despite what the man page says) is the duration of the reservation. You usually want to look at the information from the last scheduling run (scheduling runs are separated from each other by lines of consecurive colons). That default_duration looks a little short. The scheduler is assuming any running jobs will terminate in under 10 minutes and as a result is probably trying to reserve resoorces that won't actually be free when the reservation comes due. To make reservations work you really need most jobs to have a hard time limit associated with them and a long default_duration (as in Reuti's example) to encourage the scheduler not to schedule jobs on resources currently occupied by jobs without such a limit. > On 08.03.2017 18:48, Reuti wrote: > >- do you request any expected runtime in the job submissions (-l h_rt=???)? > >- is a sensible default set in `qconf -msconf` for the runtime > >(default_duration 8760:00:00)? > >- is a sensible default set in `qconf -msconf` for the number of > >reservations (max_reservation 20)? Bear in mind that, with your current config, only the 32 highest priority jobs in the queue that request one will get a reservation. William
signature.asc
Description: Digital signature
_______________________________________________ users mailing list users@gridengine.org https://gridengine.org/mailman/listinfo/users