[Mauiusers] Preemption Settings

Lynn Zhang lyzhang at umich.edu
Wed Jul 9 16:43:12 MDT 2008


Hi All,

I am trying to setting up preemption in maui.cfg, it is not working  
for me now. The job 150 should run before 149, but it does not happen  
that way.

Thanks a lot,
Lynn



Here is part of my maui.cfg

PREEMPTPOLICY   REQUEUE
QOSWEIGHT       1
QOSCFG[econ]    QFLAGS=PREEMPTOR
QOSCFG[test]    QFLAGS=PREEMPTEE
QOSCFG[guest]   QFLAGS=PREEMPTEE

CLASSWEIGHT     1
CLASSCFG[DEFAULT] PRIORITY=10
CLASSCFG[econ]  QDEF=econ PRIORITY=40
CLASSCFG[test]  QDEF=test PRIORITY=10
CLASSCFG[guest] QDEF=guest PRIORITY=10

USERCFG[dlbraun] CDEF=guest
USERCFG[lyzhang] CDEF=econ


Here is my qmgr's output

Max open servers: 4
Qmgr: p s
#
# Create queues and set their attributes.
#
#
# Create and define queue default
#
create queue default
set queue default queue_type = Route
set queue default route_destinations = econ
set queue default route_destinations += guest
set queue default enabled = True
set queue default started = True
#
# Create and define queue guest
#
create queue guest
set queue guest queue_type = Execution
set queue guest Priority = 10
set queue guest acl_user_enable = True
set queue guest acl_users = dlbraun
set queue guest acl_users += jsbillin
set queue guest acl_users += lyzhang
set queue guest resources_max.ncpus = 0
set queue guest resources_max.walltime = 72:00:00
set queue guest resources_default.ncpus = 1
set queue guest resources_default.nodes = 1:ppn=1
set queue guest enabled = True
set queue guest started = True
#
# Create and define queue econ
#
create queue econ
set queue econ queue_type = Execution
set queue econ Priority = 40
set queue econ acl_user_enable = True
set queue econ acl_users = jzhang
set queue econ acl_users += lyzhang
set queue econ resources_max.ncpus = 0
set queue econ resources_max.nodes = 0
set queue econ resources_max.walltime = 288:00:00
set queue econ resources_default.walltime = 01:00:00
set queue econ enabled = True
set queue econ started = True
#
# Create and define queue long
#
create queue long
#
# Create and define queue test
#
create queue test
set queue test queue_type = Execution
set queue test resources_max.nodes = 2
set queue test resources_max.walltime = 08:00:00
set queue test enabled = True
set queue test started = True
#
# Set server attributes.
#
set server scheduling = True
set server acl_hosts = cluster1.lsa.umich.edu
set server acl_hosts += cluster1apps
set server managers = root at cluster1apps
set server operators = root at cluster1apps
set server default_queue = default
set server log_events = 511
set server mail_from = adm
set server query_other_jobs = True
set server scheduler_iteration = 600
set server node_check_rate = 150
set server tcp_timeout = 6
set server next_job_number = 151
Qmgr: q

[dlbraun at cluster1 ~/test]$ /usr/local/maui/bin/checkjob 149


checking job 149

State: Running
Creds:  user:dlbraun  group:chem  class:guest  qos:guest
WallTime: 00:01:23 of 10:00:00
SubmitTime: Wed Jul  9 18:20:16
   (Time Queued  Total: 00:00:01  Eligible: 00:00:01)

StartTime: Wed Jul  9 18:20:17
Total Tasks: 208

Req[0]  TaskCount: 208  Partition: DEFAULT
Network: [NONE]  Memory >= 1000M  Disk >= 0  Swap >= 0
Opsys: [NONE]  Arch: [NONE]  Features: [NONE]
Dedicated Resources Per Task: PROCS: 1  MEM: 1000M
Allocated Nodes:
[node026:8][node025:8][node024:8][node023:8]
[node022:8][node021:8][node020:8][node019:8]
[node018:8][node017:8][node016:8][node015:8]
[node014:8][node013:8][node012:8][node011:8]
[node010:8][node009:8][node008:8][node007:8]
[node006:8][node005:8][node004:8][node003:8]
[node002:8][node001:8]


IWD: [NONE]  Executable:  [NONE]
Bypass: 0  StartCount: 1
PartitionMask: [ALL]
Flags:       RESTARTABLE PREEMPTEE
Attr:        PREEMPTEE

Reservation '149' (-00:01:24 -> 9:58:36  Duration: 10:00:00)
PE:  208.00  StartPriority:  10



[lyzhang at cluster1 scalapack]$  /usr/local/maui/bin/checkjob 150


checking job 150

State: Idle
Creds:  user:lyzhang  group:lyzhang  class:econ  qos:econ
WallTime: 00:00:00 of 8:00:00
SubmitTime: Wed Jul  9 18:20:38
   (Time Queued  Total: 00:02:05  Eligible: 00:02:05)

Total Tasks: 160

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


IWD: [NONE]  Executable:  [NONE]
Bypass: 0  StartCount: 0
PartitionMask: [ALL]
Flags:       RESTARTABLE PREEMPTOR

Reservation '150' (00:00:00 -> 8:00:00  Duration: 8:00:00)
PE:  79.77  StartPriority:  42
job can run in partition DEFAULT (0 procs available.  0 procs required)





More information about the mauiusers mailing list