RQS
1. |
Examples |
Example — limit aggregate users on some queues:
{ name CSF-Queues-total-users.rqs description NONE enabled TRUE limit users * queues C6100-STD-serial.q to slots=144 limit users * queues R410-twoday-interactive.q to slots=12 limit users * queues R410-short-interactive.q to slots=12 }
Example — limit number of slots on each host in a host-group (e.g., if multiple queues exist on such hosts):
{ name CSF-Hosts-slots.rqs description NONE enabled TRUE limit hosts {@C6100-FAT} to slots=12 limit hosts {@C6100-STD-short} to slots=12 limit hosts {@C6100-STD-ib} to slots=12 limit hosts {@R815} to slots=32 limit hosts {@R410} to slots=12 limit hosts {@C6100-STD-test} to slots=12 }
Example — limit each user on a PE:
{ name CSF-PEs-each-user.rqs description NONE enabled TRUE limit users {*} pes orte-12-ib.pe to slots=144 }
Example — limit each user on a queue; limit each user on aggregate of queues:
{ name CSF-Queues-each-user.rqs description NONE enabled TRUE limit users {*} queues C6100-FAT.q to slots=36 limit users {*} queues C6100-STD-serial.q to slots=48 limit users {*} queues C6100-STD-interactive.q to slots=4 limit users {*} queues R815.q to slots=256 limit users {*} queues R815.q,C6100-STD.q,C6100-STD-ib.q, \ C6100-FAT.q,C6100-VFAT.q,R410-twoday.q to slots=256 }
Example — limit each user on a host-group:
{ name M610x.rqs description NONE enabled TRUE limit users {*} hosts @M610x-GPU to slots=3 }
Example — limit aggregate of users on a PE:
{ name CSF-PEs-total-users.rqs description NONE enabled TRUE limit users * pes orte.pe,orte-12.pe to slots=550 limit users * pes smp.pe,fluent-smp.pe to slots=550 }
2. |
How do I determine current usage against my resource quotas? qquota |
For example, with the above quotas in place:
bash> qquota . . . . CSF-PEs-total-users.rqs/1 slots=206/550 users * pes orte.pe,orte-12.pe CSF-PEs-total-users.rqs/2 slots=340/440 users * pes smp.pe queues C6100-STD.q CSF-PEs-total-users.rqs/3 slots=48/48 users * pes fluent-smp.pe queues C6100-STD.q . . . .