[Mauiusers] setting priorities and suspending running jobs.
Jerry Mersel
jerry.mersel at weizmann.ac.il
Mon Apr 7 04:54:58 MDT 2008
Hi :
I am using torque 2.3.0 and maui 3.2.6p19.
I have set up a node and this node is part of 2 queues.
A high priority queue and a low priority queue.
What I want to see happen is the job running on the low priority queue
get suspended
and the jobs waiting in the high priority queue get executed, but it
doesn't happen.
Please help.
Here are some details:
The node:
l n node4
Node node4
state = job-exclusive
np = 2
properties = Jerry
ntype = cluster
jobs = 0/25.node4, 1/24.node4
status = opsys=linux,
uname=Linux node4 2.6.9-55.ELsmp #1 SMP Fri Apr 20
16:36:54 EDT 2007 x86_64,
sessions=3785 4900 27445 27449 27050,nsessions=5,nusers=3,
idletime=2583,totmem=5767048kb,availmem=5191896kb,
physmem=3735440kb,ncpus=? 0,loadave=2.00,netload=34746605,
state=free,jobs=25.node4
24.node4,varattr=,rectime=1207554457
queue low priority:
p q batch
#
# Create queues and set their attributes.
#
#
# Create and define queue batch
#
create queue batch
set queue batch queue_type = Execution
set queue batch Priority = 1
set queue batch enabled = True
set queue batch started = True
high priority queue:
p q prio.q
#
# Create queues and set their attributes.
#
#
# Create and define queue prio.q
#
create queue prio.q
set queue prio.q queue_type = Execution
set queue prio.q Priority = 150
set queue prio.q acl_host_enable = False
set queue prio.q acl_hosts = node4
set queue prio.q acl_user_enable = True
set queue prio.q acl_users = mlmersel
set queue prio.q resources_default.neednodes = Jerry
set queue prio.q enabled = True
set queue prio.q started = True
When I execute on the high priority queue the command is:
qsub -q prio.q <command>l 00:00:43 R batch
# maui.cfg 3.2.6p19
SERVERHOST node4
# primary admin must be first in list
ADMIN1 root
# Resource Manager Definition
RMCFG[0] TYPE=PBS
#RMCFG[NODE4] TYPE=PBS
JOBNODEMATCHPOLICY EXACTNODE
PREEMPTPOLICY SUSPEND
# 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
QUEUETIMEWEIGHT 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
# QOS: http://supercluster.org/mauidocs/7.3qos.html
# QOSCFG[hi] PRIORITY=100 XFTARGET=100 FLAGS=PREEMPTOR:IGNMAXJOB
# QOSCFG[low] PRIORITY=-1000 FLAGS=PREEMPTEE
# Standing Reservations:
http://supercluster.org/mauidocs/7.1.3standingreservations.html
# SRSTARTTIME[test] 8:00:00
# SRENDTIME[test] 17:00:00
# SRDAYS[test] MON TUE WED THU FRI
# SRTASKCOUNT[test] 20
# SRMAXTIME[test] 0:30:00
# Creds: http://supercluster.org/mauidocs/6.1fairnessoverview.html
# USERCFG[DEFAULT] FSTARGET=25.0
# USERCFG[john] PRIORITY=100 FSTARGET=10.0-
# GROUPCFG[staff] PRIORITY=1000 QLIST=hi:low QDEF=hi
# CLASSCFG[batch] FLAGS=PREEMPTEE
# CLASSCFG[interactive] FLAGS=PREEMPTOR
# CLASSCFG[batch] FLAGS=PREEMPTEE QDEF=lowprio PRIORITY=0
# CLASSCFG[prio.q] FLAGS=PREEMPTOR QDEF=highprio PRIORITY=200
Thanks,
Jerry
but the command stays on the queue.
This is my maui config:
More information about the mauiusers
mailing list