[Mauiusers] Fairshare only on specific queues

Coert Metz c.metz at erasmusmc.nl
Tue Feb 10 07:28:06 MST 2009


Hi all,
We are updating the scheduling configuration of maui for our cluster.
We now have 4 queues: hour,day,week and month.
Priorities are set to make sure jobs in the hour queue preceed jobs in the
other queues and so on,
with the month queue the queue with the lowest priority. This priorities are
implemented in torque by
setting the queue priorities to 400, 300, 200 and 100 respectively.
We now want to use fairshare on a per user basis in only the hour and day
queue. Moreover, we
preferably also want to compute the fairshare number for users only for
processor resources used
in these queues. Until now we didn't succeed in configuring Maui to behave
like this.
Can somebody give us some hints on how to configure this?

Our current configuration looks like this (note that we disabled fairshare
for now by setting FSWEIGHT to 0):

===============================================================
/var/spool/torque/2.1.6/mom_priv/config
===============================================================
server          mosel
arch            x64
opsys           opensuse10.2
$logevent       255
$ideal_load     4.0
$max_load       4.0
$wallmult       1.0
$ignwalltime    true
$usecp *:/home  /home
$usecp *:/clusterdata  /clusterdata
$usecp *:/cluster/neuro  /cluster/neuro
$usecp *:/cluster/vascu  /cluster/vascu


===============================================================
/var/spool/maui/3.2.6p18/maui.cfg
===============================================================

SERVERHOST            bigr-cluster

# primary admin must be first in list
ADMIN1                root

# Resource Manager Definition
RMCFG[MASTER] 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

# FairShare: http://supercluster.org/mauidocs/6.3fairshare.html
FSPOLICY          [NONE]
FSDEPTH           1
FSDECAY           1
FSINTERVAL        04:00:00

# Walltime overrun default value:
http://www.clusterresources.com/products/maui/docs/a.fparameters.shtml#jobmaxoverrun
JOBMAXOVERRUN     INFINITY

# 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  CPULOAD

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

USERCFG[DEFAULT]      FSTARGET=25.0

# Priority weight configurations:
http://www.clusterresources.com/products/maui/docs/5.1.2priorityfactors.shtml
RESWEIGHT           0
# No subweights set
FSWEIGHT          0
FSUSERWEIGHT      1
FSGROUPWEIGHT     0
FSACCOUNTWEIGHT   0
FSQOSWEIGHT       0
FSCLASSWEIGHT     0

CREDWEIGHT        1
USERWEIGHT        0
GROUPWEIGHT       0
ACCOUNTWEIGHT     0
QOSWEIGHT         0
CLASSWEIGHT       1

SERVICEWEIGHT     0
XFACTORWEIGHT     0
QUEUETIMEWEIGHT   0
BYPASSWEIGHT      0
TARGETWEIGHT      0
USAGEWEIGHT       0

ATTRWEIGHT        0

# Queue configurations
CLASSCFG[hour]        FSPOLICY=DEDICATEDPS OVERRUN=1:00:00
CLASSCFG[day_short]   FSPOLICY=DEDICATEDPS OVERRUN=2:00:00
CLASSCFG[day_long]    FSPOLICY=DEDICATEDPS OVERRUN=24:00:00

DEFERTIME               0:00:10


Thanks a lot in advance!
Coert Metz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/mauiusers/attachments/20090210/37dd2c7b/attachment.html


More information about the mauiusers mailing list