EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Small arrays in rsrv
From: Michael Davidsaver <[email protected]>
To: [email protected]
Date: Fri, 03 Apr 2015 12:12:37 -0400
On 04/03/2015 11:44 AM, Andrew Johnson wrote:
> On 04/03/2015 09:50 AM, Michael Davidsaver wrote:
>> ...
>> I support an alternative would be a memory pool for small arrays (<128
>> bytes?).
> 
> I'm guessing that adding a memory pool would need more invasive work,
> whereas just using the storage already available in the db_field_log
> objects for array data would need no additional memory allocations.

I agree with you.  "support" was meant to be "suppose" :)  Just wanted
it to be considered.

> To be honest I'm slightly surprised that we haven't already done that.
> I'd be in favour of the change Ralph is suggesting using the size, and I
> would even suggest considering allowing the user to adjust how large the
> log buffer is at initialization time. This would allow users to turn on
> DB_EVENT_LOG_STRINGS (which nobody else really knows about anyway)
> without recompiling.

Selecting the size at runtime might mean a more invasive change to
db_field_log.

> A 3.15 change IMHO, as is Matej's pCAS update.

To me, depends on final complexity.


Replies:
Re: Small arrays in rsrv Andrew Johnson
Re: Small arrays in rsrv Michael Davidsaver
References:
Small arrays in rsrv Ralph Lange
Re: Small arrays in rsrv Michael Davidsaver
Re: Small arrays in rsrv Andrew Johnson

Navigate by Date:
Prev: Re: Small arrays in rsrv Andrew Johnson
Next: Re: mbbi/mbbo default setting Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Small arrays in rsrv Andrew Johnson
Next: Re: Small arrays in rsrv Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·