EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: [Fwd: Re: Does DISP work for DB OUT links? Related question]
From: Benjamin Franksen <[email protected]>
To: [email protected]
Date: Thu, 04 Sep 2003 12:15:31 +0200
Marty Kraimer wrote:
> 
> 1) Should puts to a record with PACT TRUE be queued or cached.
> [...]
> I think that caching rather than queuing is the correct behavior [...]

Correct, if we consider only one target field. It becomes much more
complicated if puts to more than one field are interleaved. In which
order should the deferred puts be executed (after processing completes)?

Consider two fields A and B and the following put sequence:

put A a-value-1
put B b-value
put A a-value-2

Caching means only the second put to A is actually executed after
processing finally completes. But does it happen before or after the put
to B? I'd say it must come after the put to B. In any case, the puts
should be executed in *some* predictable order. This is what I meant
with 'queueing the deferred puts'.

> 2) If the answer is caching should the cached value be kept in the record or
> stored elsewhere.
> [...]
> Assuming caching the next question is where to store the cached values. Storing
> them in the record is certainly the easiest because the record already has a
> place to put the values.

Yes, but what about maintaining the order (see question 1)?

Ben

References:
[Fwd: Re: Does DISP work for DB OUT links? Related question] Marty Kraimer
Re: [Fwd: Re: Does DISP work for DB OUT links? Related question] Marty Kraimer
Re: [Fwd: Re: Does DISP work for DB OUT links? Related question] Brian Bevins
Re: [Fwd: Re: Does DISP work for DB OUT links? Related question] Marty Kraimer
Re: [Fwd: Re: Does DISP work for DB OUT links? Related question] Marty Kraimer

Navigate by Date:
Prev: DM to EDM conversion tools Jon Brinkmann
Next: Re: DM to EDM conversion tools Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: [Fwd: Re: Does DISP work for DB OUT links? Related question] Marty Kraimer
Next: RE: [Fwd: Re: Does DISP work for DB OUT links? Related question] Owens, PH (Peter)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·