[gridengine users] Formula to calculate job's priority

Sangamesh Banappa sangamesh.banappa at locuz.com
Thu May 2 07:33:02 UTC 2013


Hi,

      Thanks for sharing the perl script. I run it after installing graphViz & perl-GraphViz.
But its not outputting .dot file. It just prints the following output on the terminal:

digraph priority {

//Colors:
//  black = computed
//  blue  = SGE configuration
//  darkgreen = User modifiable
//  red3 = Final priority

	style="invis";

	samehead=true;
	sametail=true;

..


}

Thanks

----- Original Message -----
> On Wed, May 01, 2013 at 08:21:17PM +0530, Sangamesh Banappa wrote:
> >Hi,
> >
> >
> >The cluster is configured with share based policy (user based) with
> >equal shares (100 shares) for all.
> >
> >
> >As per the below link:
> >
> >
> >http://arc.liv.ac.uk/SGE/htmlman/htmlman5/sge_priority.html
> >
> >
> >The job's priority is calculated as follows:
> >
> >
> >prio    = weight_priority * npprio +
> >                    weight_urgency  * nurg +
> >                    weight_ticket   * ntckts
> 
> 
> There's a bit more to this as well.  I wrote a small Perl script do
> help
> me vizualize the calculation heriarchy (attached).  It needs the
> GraphViz Perl module, and (obviously) outputs a .dot file which can
> be
> converted into the image format of your choice.
> 
> Run it on a system that can call 'qconf', as it will attempt to pull
> in
> your actual SGE settings for the chart.
> 
> 
> 
> 
> --
> Jesse Becker
> NHGRI Linux support (Digicon Contractor)
> 



More information about the users mailing list