[Mauiusers] problem with preemtor/preemptee setup

Nicolas Niclausse Nicolas.Niclausse at sophia.inria.fr
Mon Jul 9 06:29:48 MDT 2007


Hello,

I'm currently testing a preemtor/preemptee setup with maui 3.2.6p19 and
torque 2.1.8.

My test env. is made of 2 nodes, each with 4 cpus

If I start a 4-cpus job in the low priority queue and then a 8 cpu job
(nodes=2:ppn=4), the first is suspended, and the high priority job is
started. good.

Now if instead of a 4 cpu job I try to run a one cpu job in the low
priority queue, it is never suspended.

Looking at the logs, it seems that maui doesn't count the 3 free cpus in
the total number of procs available after the preemptible jobs are suspended:

07/09 13:46:47 MRECheck(helios39,MJobGetSNRange-Start,FORCE)
07/09 13:46:47 INFO:     N[helios39]->RE[000] S 59(0)  -00:00:03 R: 'PROCS:
1'x1
07/09 13:46:47 INFO:     N[helios39]->RE[001] E 59(0)  99:23:59:56 R:
'PROCS: 1'x1
07/09 13:46:47 INFO:     checking reservation 59 start at time -00:00:03
(O: 7200)
07/09 13:46:47 INFO:     resources available at time -00:00:03 during 59 start
07/09 13:46:47 INFO:     performing starttime check (1)
07/09 13:46:47 INFO:     checking reservation 59 end at time 99:23:59:56
(O: 7200)
07/09 13:46:47 INFO:     node helios39 supports 4 tasks of job 60:0 for
INFINITY at 00:00:01
07/09 13:46:47 INFO:     node helios39 contains preemptible resources (P: 1)
07/09 13:46:47 INFO:     preemptible resources found.  (1 nodes/1 tasks)
07/09 13:46:47 INFO:     adequate tasks (P+I=7+1) located for job 60

7 free cpus and one from the preemptible job =8, fine, but:

07/09 13:46:47 MJobSelectPJobList(60,4,1,FJobList,PJList,PTCList,PNCList,PTL)
07/09 13:46:47 INFO:     preemptible job 59 provides 1/1 tasks/nodes
07/09 13:46:47 INFO:     inadequate preempt jobs (1) located (P: 1 of 4,N:
1 of 1)
07/09 13:46:47 INFO:     cannot locate 8 tasks for job '60' in partition
DEFAULT

it compares one cpu given by preemption to 4 (required by the job), but it
should compare it to 4-3 free cpu = 1 , no ?

-- 
Nicolas NICLAUSSE                          Service DREAM
INRIA Sophia Antipolis                     http://www-sop.inria.fr/


More information about the mauiusers mailing list