[Mauiusers] Problems with understanding Standing Reservations

James A. Peltier jpeltier at cs.sfu.ca
Wed Nov 21 12:53:44 MST 2007


I am trying to figure out if my understanding of standing reservations 
is wrong or why my standing reservations aren't working.  I'm trying to 
do workstation harvesting from 7PM until 7AM, but also make them 
available to interactive jobs during the day 7AM - 7PM.

I thought that by defining the following in maui.cfg

SRCFG[interactive] PERIOD=DAY DAYS=MON,TUE,WED,THU,FRI
SRCFG[interactive] STARTTIME=7:00:00 ENDTIME=19:00:00
SRCFG[interactive] CLASSLIST=interactive HOSTLIST=atlas,parhelia

CLASSCFG[interactive] FLAGS=PREEMPTOR

That any job submitted with qsub -I would run on the nodes listed, but 
not run on any other nodes not listed, but when I

qsub -I -lnodes=atlas,mem=1m,ncpus=1

I get

///
checking job 4342

State: Idle
Creds:  user:username  group:graphics  class:batch  qos:DEFAULT
WallTime: 00:00:00 of 99:23:59:59
SubmitTime: Wed Nov 21 11:31:50
   (Time Queued  Total: 00:00:32  Eligible: 00:00:32)

Total Tasks: 1

Req[0]  TaskCount: 1  Partition: ALL
Network: [NONE]  Memory >= 0  Disk >= 0  Swap >= 0
Opsys: [NONE]  Arch: [NONE]  Features: [NONE]
Dedicated Resources Per Task: PROCS: 1  MEM: 1M
NodeCount: 1


IWD: [NONE]  Executable:  [NONE]
Bypass: 0  StartCount: 0
PartitionMask: [ALL]
Flags:       HOSTLIST
HostList:
   [atlas:1]
PE:  1.00  StartPriority:  1006
job cannot run in partition DEFAULT (idle procs do not meet requirements 
: 0 of 1 procs found)
idle procs: 116  feasible procs:   0

Rejection Reasons: [ReserveTime  :    1][HostList     :    5]
///////

So it sees that there is a reservation but shouldn't it allow me to run 
this interactive job, as the CLASSCFG is set to interactive?

BELOW is my maui.cfg.  Any input or perhaps suggestions are welcome.


SERVERHOST            warszawa

# primary admin must be first in list
ADMIN1                  root admin
ADMIN3                  ALL

# Resource Manager Definition
RMCFG[WARSZAWA] TYPE=PBS

# Allocation Manager Definition
AMCFG[bank]  TYPE=NONE

# full parameter docs at http://supercluster.org/mauidocs/a.fparameters.html
# use the 'schedctl -l' command to display current configuration

RMPOLLINTERVAL        00:00:30
SERVERPORT            42559
SERVERMODE            NORMAL

# Admin: http://supercluster.org/mauidocs/a.esecurity.html
LOGFILE               maui.log
#LOGFILEMAXSIZE        10000000
LOGLEVEL              3

# Job Priority: http://supercluster.org/mauidocs/5.1jobprioritization.html

QOSWEIGHT              1
XFACTORWEIGHT          1
QUEUETIMEWEIGHT        10
TARGETQUEUETIMEWEIGHT  1
# FairShare: http://supercluster.org/mauidocs/6.3fairshare.html

FSPOLICY              PSDEDICATED
FSDEPTH               7
FSINTERVAL            86400
FSDECAY               0.80

# Throttling Policies: 
http://supercluster.org/mauidocs/6.2throttlingpolicies.html

# NONE SPECIFIED

# Backfill: http://supercluster.org/mauidocs/8.2backfill.html

BACKFILLPOLICY        FIRSTFIT
RESERVATIONPOLICY     CURRENTHIGHEST

# Node Allocation: http://supercluster.org/mauidocs/5.2nodeallocation.html

NODEALLOCATIONPOLICY  MINRESOURCE
NODEAVAILABILITYPOLICY COMBINED

RESOURCELIMITPOLICY  MEM:EXTENDEDVIOLATION:CANCEL:00:15:00

# QOS: http://supercluster.org/mauidocs/7.3qos.html

QOSCFG[hi]  PRIORITY=10000 XFTARGET=100 FLAGS=PREEMPTOR:IGNMAXJOB
QOSCFG[DEFAULT]  PRIORITY=1000 XFTARGET=10 FLAGS=PREEMPTOR:IGNMAXJOB
QOSCFG[low] PRIORITY=-1000 FLAGS=PREEMPTEE

# Standing Reservations: 
http://supercluster.org/mauidocs/7.1.3standingreservations.html

SRCFG[interactive] PERIOD=DAY DAYS=MON,TUE,WED,THU,FRI
SRCFG[interactive] STARTTIME=7:00:00 ENDTIME=19:00:00
SRCFG[interactive] CLASSLIST=interactive HOSTLIST=atlas,parhelia

# Creds: http://supercluster.org/mauidocs/6.1fairnessoverview.html

#USERCFG[DEFAULT]      FSTARGET=10.0 QTTARGET=24:00:00 MAXPROC=32,96
USERCFG[DEFAULT]      FSTARGET=10.0 QTTARGET=24:00:00
CLASSCFG[batch]       FLAGS=PREEMPTEE
CLASSCFG[interactive] FLAGS=PREEMPTOR

-- 
James A. Peltier
Technical Director, RHCE
SCIRF | GrUVi @ Simon Fraser University - Burnaby Campus
Phone   : 778-782-3610
Fax     : 778-782-3045
Mobile  : 778-840-6434
E-Mail  : jpeltier at cs.sfu.ca
Website : http://gruvi.cs.sfu.ca | http://scirf.cs.sfu.ca
MSN     : subatomic_spam at hotmail.com


More information about the mauiusers mailing list