When Maui is presented with multiple limits, it will always enforce the most restrictive. In this sense, the class limit cannot "override" the user limit.
Overriding limits can be done using the QOS facilities http://www.clusterresources.com/products/maui/docs/7.3qos.shtml http://www.clusterresources.com/products/maui/docs/6.2throttlingpolicies.shtml#override - Douglas Cluster Resources, Inc. On Fri, 2007-03-16 at 11:36 +0100, Martin Kleinschmidt wrote: > Hi, > > I am havig problems with overriding the USERCFG setting by a CLASSCFG > setting. > > we have queues fast, medium, long and verylong in OpenPBS. > > In maui.cfg, I have set: > > USERCFG[DEFAULT] MAXPROC=15 > CLASSCFG[fast] MAXPROCPERUSER=48 > CLASSCFG[verylong] MAXPROCPERUSER=5 > CLASSCFG[verylong] MAXPROC=15 > > The cluster has 48 CPUs, the intention is: > - max 15 CPUs in q verylong, > - max 5 CPUs per user in q verylong, > - max 15 CPUs per user in (medium + long + verylong) > - unlimited number of CPUs per user in q fast. > > everything works fine with the exception of > CLASSCFG[fast] MAXPROCPERUSER=48 > this line seems to be ignored. It is not possible for a user, having > already used 15 CPUs in queues (medium + long + verylong) to start an > additional job in q fast. > > what am I missing? > > complete maui.cfg: > #################################### > # maui.cfg 3.2.6p18 > > SERVERHOST fats > # primary admin must be first in list > ADMIN1 root > > # Resource Manager Definition > > RMCFG[FATS] 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 2 > > # Job Priority: > # http://supercluster.org/mauidocs/5.1jobprioritization.html > > QUEUETIMEWEIGHT 1 > XFACTORWEIGHT 1000 > > # 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 > > DEFERTIME 0 > > USERCFG[DEFAULT] MAXPROC=15 > CLASSCFG[fast] MAXPROCPERUSER=48 > #CLASSCFG[small] MAXPROCPERUSER=40 > #CLASSCFG[medium] MAXPROCPERUSER=40 > #CLASSCFG[long] MAXPROCPERUSER=40 > CLASSCFG[verylong] MAXPROCPERUSER=5 > CLASSCFG[verylong] MAXPROC=15 > > _______________________________________________ mauiusers mailing list [email protected] http://www.supercluster.org/mailman/listinfo/mauiusers
