[torquedev] PBS_DEPEND_LEN patch question

Josh Butikofer josh at clusterresources.com
Thu Jul 31 08:56:53 MDT 2008


OK, good.

As long as we can guarantee that it won't allocate a persistent PBS_DEPEND_LEN increase for each 
job, then it should be OK. We are aware of users that have tens of thousands of jobs that have 
dependencies. If the memory requirements for each increased, it could become intractable.

--Josh B.

Glen Beane wrote:
> 
> 
> On Thu, Jul 31, 2008 at 10:35 AM, Brock Palen <brockp at umich.edu 
> <mailto:brockp at umich.edu>> wrote:
> 
>     None here, I could see people needing more than 2048.  
>     This isn't going to cause a memory blow up problem though I hope?
> 
> 
> 
> I don't think it will result in a huge increase in memory use.  I think 
> that while qsub will allocate PBS_DEPEND_LEN bytes to use when it calls 
> parse_depend_list,  set_attr will allocate strlen + 1 bytes when it sets 
> the attribute value to send to pbs_server with the job, so while this 
> would increase the maximum it isn't like the maximum size would be 
> consumed for every job with a dependency list
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> torquedev mailing list
> torquedev at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torquedev


More information about the torquedev mailing list