[GE users] howto: command-line methods for department based resource allocation in SGE6

Chris Dagdigian dag at sonsorol.org
Tue Nov 16 14:56:06 GMT 2004

Much appreciated Stephan!

I've upgraded my online notes to reflect your suggections regarding the 
"forgotten" weight parameters. I want my users to be able to use posix 
priority to rank pending jobs so the adjustements involved your 2nd 
suggestion of making weight_ticket far more important than 
weight_priority and weight_urgency within the scheduler.


Stephan Grell wrote:

> Hello Chris,
> your howto is a nice introduction for the fair scheduling policy. But 
> you overlooked the
> weight_* parameters. In you described setting a "qsub -p 1000" or or a 
> "qsub -pe make 10"
> will invert you fair scheduling policy. If your scheduling should only 
> be based on the
> functional tickets, you need to set:
> weight_ticket                     1.0000
> weight_waiting_time               0.000000
> weight_deadline                   3600000.000000
> weight_urgency                    0.00000
> weight_priority                   0.000000
> If you want to support the posix priority and/or urgency, their weight 
> values
> have to be a lot smaller, than the weight_ticket. Such as:
> weight_ticket                     10.0000
> weight_waiting_time               0.000000
> weight_deadline                   3600000.000000
> weight_urgency                    0.01000
> weight_priority                   0.010000
> This allows a user to set the priorities within his jobs and he will not
> exceed his percentage from the ticket setup.
> The weight parameters are difficult to handle and can completely 
> compromise the ticket configuration.
> Stephan
> Chris Dagdigian wrote:
>> Hello,
>> It's not all that hard or even obfuscated in the official SGE 
>> documentation but I ended up putting together some notes that deal 
>> with with the following grid engine configuration use-case:
>> * Using commandline tools only, how do I share a cluster (on a strict 
>> percentage basis) between different Departments?
>> The HOWTO notes are here, perhaps they can be of use to someone else:
>> http://bioteam.net/dag/sge6-funct-share-dept.html
>> Regards,
>> Chris

To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net

More information about the gridengine-users mailing list