[torqueusers] New: C scheduler -> maui help

Lennart Karlsson Lennart.Karlsson at nsc.liu.se
Tue Oct 4 07:07:11 MDT 2005


Chris Johnson,

You wrote:
> On Tue, 4 Oct 2005, Lennart Karlsson wrote:
> 
> > Chris,
> > 
> > You wrote:
> > >      The C scheduler allows Torque to have queue priorities.  Example,
> > > two queues, a and b, with priorites a 10 an b 20.  If I submit jobs to
> > > both, those in b will be run first.  If jobs from a are running, the
> > > next job to run will be from b in there are any.  
> > > 
> > >      I was hoping that it would be as simple as 
> > > 
> > > CLASSCFG[a]  PRIORITY=10	
> > > CLASSCFG[b]  PRIORITY=20	
> > > 
> > > but that doesn't seem to be the case.  Any ideas?  Help appreciated as
> > > always.
> > 
> > 
> > Suggestion:
> > 
> > CLASSCFG[a]	QDEF=lowprio
> > CLASSCFG[b]	QDEF=hiprio
> > 
> > QOSCFG[lowprio]	PRIORITY=1
> > QOSCFG[hiprio]	PRIORITY=100000
> > 
> > 
> 
>      Excuse me, I over simplified.  There are 7 queues in the cxurrent
> system. 


Augmented suggestion:

CLASSCFG[a]	QDEF=prio_a
CLASSCFG[b]	QDEF=prio_b
CLASSCFG[c]	QDEF=prio_c
CLASSCFG[d]	QDEF=prio_d
CLASSCFG[e]	QDEF=prio_e
CLASSCFG[f]	QDEF=prio_f
CLASSCFG[g]	QDEF=prio_g

QOSCFG[prio_a]	PRIORITY=0
QOSCFG[prio_b]	PRIORITY=100000
QOSCFG[prio_c]	PRIORITY=200000
QOSCFG[prio_d]	PRIORITY=300000
QOSCFG[prio_e]	PRIORITY=400000
QOSCFG[prio_f]	PRIORITY=500000
QOSCFG[prio_g]	PRIORITY=600000

???

-- Lennart Karlsson <Lennart.Karlsson at nsc.liu.se>
   National Supercomputer Centre in Linkoping, Sweden
   http://www.nsc.liu.se




More information about the torqueusers mailing list