[Mauiusers] Limiting the number of processors by queue (multi-dimension fairness policies)

Michael Homa mhoma at uic.edu
Fri Jul 17 14:13:20 MDT 2009

On Fri, 17 Jul 2009, Greenseid, Joseph M (IS) wrote:

> would setting resources_max.nodect=4 for the queue in torque do what you need?

Hi Joe:

Yes, that would work. But, and I didn't really explain this at all in my
note (was trying to be brief), I'm trying to have Maui do all the "policy
stuff" and have torque just define the resource(s). I'd like to avoid having
some policies in torque and some policies in Maui. If there's no way to do
what I want just in Maui, then what you suggest is the way to go. But, I'm
not sure at this point if the reason I can't get it all into Maui is because
of a limitation of Maui or if I'm just being stupid. In any event, I
appreciate your response.


> --Joe
> ________________________________
> From: mauiusers-bounces at supercluster.org on behalf of Michael Homa
> Sent: Fri 7/17/2009 3:44 PM
> To: mauiusers at supercluster.org
> Subject: [Mauiusers] Limiting the number of processors by queue (multi-dimension fairness policies)
> Hi:
> I'm new to Maui so if I'm asking a dumbass question, I apologize. Running
> Maui 3.2.619 with torque 2.3.5 on our small cluster.
> I have three queues configured for students (we are a university). I want
> to limit the number of nodes and processors students may use within the
> configured queue. For example, I have a short queue (called student_short)
> and I want to restrict the number of nodes per user to 4. I've tried the
> following based upon what I've read in the Maui policy note as well as the
> parameter guide:
> changeparam CLASSCFG[student_short] MAXPROC=32 MAXJOB=32 MAXIJOB=32
> Yet, when I submit a test job requesting more than four nodes:
>   qsub -V -l nodes=6:ppn=2 -q student_short my_script
> the job executes with the allocation of six nodes:
> argo14-4/1+argo14-4/0+argo13-3/1+argo13-3/0+argo13-2/1+argo13-2/0+argo7-4/1
>    +argo7-4/0+argo7-2/1+argo7-2/0+argo7-1/1+argo7-1/0
> My understanding is the "MAXPROC" applies not to a single job but to the
> totality of all jobs running in the queue. If I have sixteen jobs in the
> queue, those jobs can use no more than 32 processors. And, for each user,
> no more than 4 nodes per (both soft and hard set to four on the
> Michael Homa
> Operating Systems Support and Database Group
> Academic Computing and Communication Center
> University of Illinois at Chicago
> email:  mhoma at uic.edu
> _______________________________________________
> mauiusers mailing list
> mauiusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/mauiusers

More information about the mauiusers mailing list