[torquedev] recent torque changes

Garrick Staples garrick at usc.edu
Sat Feb 2 01:28:59 MST 2008


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torquedev/attachments/20080202/9505f522/attachment.bin


More information about the torquedev mailing list