[torquedev] recent torque changes

Glen Beane glen.beane at gmail.com
Sat Feb 2 01:34:57 MST 2008


On Feb 2, 2008 3:28 AM, Garrick Staples <garrick at usc.edu> wrote:

> On Sat, Feb 02, 2008 at 03:26:44AM -0500, Glen Beane alleged:
> > On Feb 2, 2008 3:04 AM, Garrick Staples <garrick at usc.edu> wrote:
> >
> > > On Sat, Feb 02, 2008 at 02:45:51AM -0500, Glen Beane alleged:
> > > > I've just checked in some changes into trunk that increase the
> > > PBS_JOBBASE
> > > > constant from 11 to 61.  This allows for 64 char .JB and .SC files
> on
> > > > pbs_server/pbs_mom
> > > >
> > > > the previous 14 char limit was too small when you combine large job
> > > sequence
> > > > nubmers and large job arrays - we just couldn't hash those 11
> characters
> > > > enough to make the neessary number of unique file names.
> > > >
> > > > This should help the job arrays scale much better.
> > > >
> > > > .JB files with the old size for their jobbase array are
> automatically
> > > > upgraded when pbs_server starts
> > > > we used a similar auto upgrader from 2.1.x to 2.2.0.  the only down
> side
> > > is
> > > > if you upgrade to 2.3.x you wouldn't be able to recover your jobs if
> you
> > > > downgrade back to 2.2.x (they will be renamed as .BD files I think)
> > >
> > >
> > > Would it make sense to rename the existing files when pbs_server or
> > > pbs_mom
> > > restarts?
> > >
> >
> > rename the .JB or .JC files so the jobid part of the prefix isn't
> truncated
> > at 11 characters?  I think this might make sense, and it would be easy
> to do
> > in the job file upgrader code.
> >
> > Or renaming them for backup purposes when they are auto upgraded?
>
> The former, so they are named "correctly".
>

sounds good.  but not now.  Its 3:30AM and I have no more motivation to do
any programming until after I get some sleep.

This should only take a few minutes so I should be able to do it later today
after I get some sleep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torquedev/attachments/20080202/f4008f4a/attachment-0001.html


More information about the torquedev mailing list