On Freitag, 2. November 2007, Eric Norum wrote:
> On Nov 2, 2007, at 8:30 AM, Ned Arnold wrote:
> > You may be able to eliminate the fanout records by careful design
> > of forward links and/or input link flags (PP, CP, etc).
> >
> > For example, if the input record's forward link field referenced
> > the calc record and the calc record's forward link field referenced
> > the calcout record, all would process each time the input record
> > processed ... without a fanout.
>
> Don't take this technique to extremes, though. I recall helping
> Steve Shoaf diagnose problems with his database for a video switching
> system. The database contained 128 records FLNK'd together. This
> caused very weird IOC faults that we finally realized were caused by
> stack overflow of the task processing the records -- 128 recursive
> calls to the record processing routine forced the task stack pointer
> past the end of the stack space.
Indeed, in one application (a feed-forward from insertion device positions
to quadrupole currents) that connects about 30 inputs and 40 outputs and
does some non-trivial processing in-between, I found the system to behave a
lot more reliable and predictable if all records get periodically scanned,
compared to the use of .CP links, FLNKs etc. Order of processing between
the stages is imposed via setting the PHAS field (I use 4 different
values).
Cheers
Ben
- References:
- lexical analyzer for .db? Heinrich du Toit
- Re: lexical analyzer for .db? Ned Arnold
- Re: lexical analyzer for .db? Eric Norum
- Navigate by Date:
- Prev:
RE: Configuring Detectors with Different Software Mark Rivers
- Next:
EPICS on Mac OS X 10.5 Bertrand H.J. Biritz
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
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: lexical analyzer for .db? Ralph Lange
- Next:
Re: lexical analyzer for .db? Emmanuel Mayssat
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
<2007>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|