[GE users] Sort by sequence number question

Paul MacInnis macinnis at dal.ca
Tue Jul 17 13:31:28 BST 2007


On Tue, 17 Jul 2007, Erik [ISO-8859-1] L?nroth wrote:

> Paul!
> 
> On tis, 2007-07-17 at 08:17 -0300, Paul MacInnis wrote:
> > Hi Erik,
> > 
> > On Tue, 17 Jul 2007, Erik [ISO-8859-1] Lnroth wrote:
> > 
> > > Just when I started to get over this and return to my life, this issue
> > > arises again. I didn't manage to solve this and I experience almost the
> > > same as you do.
> > > 
> > > It seems the scheduler sorts things alphabetically/numerically also
> > > within the cluster queue.
> > > 
> > > No matter how I modify the sequence number, my node: ts101-1-0 is
> > > selected before ts101-1-1. The only way I could stop it was to remove
> > > the PE resources from the specific nodes.
> > > 
> > > My goal is to get it like this.  [<seqno>,<node>]
> > > 
> > > master.q - [99,ts101-1-0]
> > > short.q - [1,ts101-1-0  0,ts101-1-1] 
> > > 
> > > This way the node ts101-1-1 would be filled up before ts101-1-0 would be
> > > - and that never happens as ts101-1-0 always fills up first (unless I
> > > have $round_robin which is wrong for my application.)
> > 
> > If I understand your problem correctly and if my alphabetic ordering 
> > theory is correct, you should get close to what you want by re-naming 
> > your "slave" cluster queue to something earlier in the alphabetic
> > sequence, say "aslave".
> 
> Well, maybe, but in my case, the nodes themselves are sequenced within
> the  cluster queue (short.q). Thats because I wan't some specific nodes
> to be selected last... I can't rename the nodes really.

What I observe here is that within a single cluster queue the scheduler 
does obey the seqno's.  It's the order in which it considers the cluster
queues that's alphabetical.  Our bq.q fills up before anything goes into
ser.q which for us is the wrong way round.

Paul

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