since slots is consumable resources
can one set complex_values with value slots=# where the number is the max core of the hosts?

qconf -mattr host complex_values slots=# <hostname>
regards


On 03/ 8/11 12:24 PM, Ian Kaufman wrote:
Hi Sangmin,

On Tue, Mar 8, 2011 at 8:21 AM, Park Sangmin<[email protected]>  wrote:
Hello,

I have a question about addition of queues.
I added several queue according to the sge documents.
and I submitted some job to test whether queue is right or not.

I added 3 queues, short.q, normal.q, and long.q
hostlist of all queue is @allhosts.

I submitted a job using short.q and normal.q
and GE scheduled jobs. But, problem occurred.
job using short.q was running node01(8 cores)
when I submitted another job using normal.q, the job scheduled on the same 
node, node01.
so, 16 jobs was running on 8 core system.

what I imagined  was that short.q and normal.q is dependent.
so, if a job was running on node01, another job would scheduled other nodes, 
eg, node02, node03,....

what was my fault?

The queues are independent of each other.

If you want to limit the number of jobs per node, you can use another
Resource Quota:

{
    name         maxslots
    description  Limit number of slots to number of CPUs
    enabled      TRUE
    limit        hosts {@allhosts} to slots=8
}

limits each node to 8 slots. By default, Grid Engine uses one slot per
core, and one job fits in each slot.

Ian

<<attachment: laotsao.vcf>>

_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to