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

Charu Chaubal Charu.Chaubal at Sun.COM
Tue Nov 16 15:45:14 GMT 2004


One note,

On Nov 16, 2004, at 1:10 AM, 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.
>

Actually, I think it might be better to keep weight_priority as the 
highest, to allow the admin to come in and override all other priority 
considerations by setting the POSIX priority to some larger positive 
number.

Instead, for users to set priorities, we have the "-js" (job share) 
switch, which lets a user set priorities within their own pool of jobs, 
while not going outside the priorities limitations imposed by the 
overall configuration.

Regards,
	Charu

> 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
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
>
>
###############################################################
# Charu V. Chaubal				# Phone: (650) 786-7672 (x87672)
# Grid Computing Technologist	# Fax:   (650) 786-4591
# Sun Microsystems, Inc.			# Email: charu.chaubal at sun.com
###############################################################


---------------------------------------------------------------------
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