NQS on Cosmos and Eric -- Tech Doc |
Simply followed the above doc from University of Sheffield, in particular, scroll down to Configuring Generic NQS, then Compute Servers. We have three queues: one_day, three_day and seven_day on both Cosmos and Eric.
All queues are local at the time of writing (2003July15) but plans are afoot to create non local queues, e.g., submit from both machines to a one_month queue on Eric.
qmgr create batch_queue one_day qmgr set per_process cpu_limit = ( 24:0:0 ) one_day qmgr set run_limit = 4 one_day qmgr set user_limit = 2 one_day qmgr enable queue one_day qmgr start queue one_day
qmgr create batch_queue three_day qmgr set per_process cpu_limit = ( 72:0:0 ) three_day qmgr set run_limit = 3 three_day qmgr set user_limit = 2 three_day qmgr enable queue three_day qmgr start queue three_day
qmgr create batch_queue seven_day qmgr set per_process cpu_limit = ( 168:0:0 ) seven_day qmgr set run_limit = 3 seven_day qmgr set user_limit = 1 seven_day qmgr enable queue seven_day qmgr start queue seven_day
qmgr create batch_queue one_day qmgr set per_process cpu_limit = ( 24:0:0 ) one_day qmgr set run_limit = 10 one_day qmgr set user_limit = 4 one_day qmgr enable queue one_day qmgr start queue one_day
qmgr create batch_queue three_day qmgr set per_process cpu_limit = ( 72:0:0 ) three_day qmgr set run_limit = 10 three_day qmgr set user_limit = 4 three_day qmgr enable queue three_day qmgr start queue three_day
qmgr create batch_queue seven_day qmgr set per_process cpu_limit = ( 168:0:0 ) seven_day qmgr set run_limit = 10 seven_day qmgr set user_limit = 4 seven_day qmgr enable queue seven_day qmgr start queue seven_day
qmgr create batch_queue twenty_eight_day qmgr set per_process cpu_limit = ( 168:0:0 ) twenty_eight_day qmgr set run_limit = 10 twenty_eight_day qmgr set user_limit = 4 twenty_eight_day qmgr enable queue twenty_eight_day qmgr start queue twenty_eight_day
qmgr create batch_queue vip qmgr set per_process cpu_limit = ( 168:0:0 ) seven_day qmgr set run_limit = 15 seven_day qmgr set user_limit = 15 seven_day qmgr set no_access vip qmgr add users=<username> vip qmgr enable queue vip qmgr start queue vip
Nice level:
set nice_value_limit = 0 three_day # ...and similar for all queues on # all machines...
qmgr set global batch_limit = 30 # ...defaults to 10 # "show all" reveals this...