[GE users] Slots as a host resource

dangruhn Dan.Gruhn at groupw.com
Fri Jun 5 16:08:29 BST 2009


Actually it is much easier than that.  Slots are an already available 
consumable resource which SGE knows about and can be set as follows:

qconf -mattr exechost complex_values slots=0 <hostname>


jagladden wrote:
> I recently found this pearl of wisdom regarding slots and queue instances:
> "One other oddity to point out is that the slot count for a queue is 
> not really a queue attribute. It's actually a queue-level /resource/ 
> (aka /complex/). To allow multiple queues on the same host to share 
> that host's CPUs without oversubscribing, you can set the |slots| 
> resource at the host level. Doing so sets a host-wide slot limit, and 
> all queues on that host must then share the given number of slots, 
> regardless of how many slots each queue (or queue instance) may try to 
> offer."
> on a blog  post at:
> http://blogs.sun.com/templedf/entry/intro_to_grid_engine_queues
> However, I am not quite clear as to how to do what the author 
> suggests.  Do I simply create a consumable resource call "slots" and 
> give it a value corresponding to the number of CPU cores on the host?
> James Gladden


To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].

More information about the gridengine-users mailing list