if num_proc= number of core may be with HT you just do
limit        hosts {*} to slots=$num_proc*2

On 5/18/2011 5:47 PM, Joshua Baker-LePain wrote:
On Wed, 18 May 2011 at 9:48pm, Dave Love wrote

"Hung-ShengTsao (Lao Tsao) Ph.D." <[email protected]> writes:

as a side remark
since you configure 3 queues for each host , in order not to over subscribe the
cpu(h_slots)
you will need to define h_slots as consumable complex
see this paper http://www.sun.com/blueprints/0607/820-1695.pdf

??
All you need to avoid over-subscription, whatever the queue defs, is

$ qconf -srqs host-slots
{
  name         host-slots
  description  "restrict slots to core count"
  enabled      TRUE
  limit        hosts {*} to slots=$num_proc
}

assumong the default slots definition

If you define over-subscription as more jobs than *physical* cores, won't the above RQS fail to prevent it on nodes with hyperthreading active?

<<attachment: laotsao.vcf>>

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

Reply via email to