EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: CALC expression
From: Eric Norum <[email protected]>
To: Tim Mooney <[email protected]>
Cc: [email protected]
Date: Wed, 29 Sep 2010 12:48:07 -0700
On Sep 29, 2010, at 12:41 PM, Tim Mooney wrote:
>> 
>>   
> This is what I meant by "reallocate".  I was imagining allocating the current RPCL
> size at record init (unless a calc expression already existed at that time that required
> more space), and from then on checking to ensure that RPCL is large enough when
> a new calc expression is written.  Reallocating every time doesn't seem necessary;
> I'd reallocate only if RPCL must increase.
> 
> I think fragmentation would not be a problem with an implementation like this, unless
> folks are just *hammering* on calc expressions with, say, stringout records.  As far as
> I know, I'm the only one who's at all likely to do something as  whacked out as that.

And even that wouldn't be a problem since at some point the RPCL field would have to reach a high-water mark and reallocations would cease.

> 
> In any case, I would  not have any problem with putting this off until after the upcoming
> release.  I don't detect an urgency great enough to merit changing the implementation twice.

-- 
Eric Norum
[email protected]






References:
CALC expression Andrew Wagner
Re: CALC expression Andrew Johnson
Re: CALC expression Tim Mooney
Re: CALC expression Andrew Johnson
Re: CALC expression Tim Mooney

Navigate by Date:
Prev: Re: CALC expression Tim Mooney
Next: Re: archiving system Steven M. Hartman
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: CALC expression Tim Mooney
Next: Re: CALC expression emmanuel_mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 29 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·