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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: lexical analyzer for .db? |
From: | Heinrich du Toit <[email protected]> |
To: | Eric Norum <[email protected]>, EPICS tech-talk <[email protected]> |
Date: | Fri, 02 Nov 2007 16:01:49 +0200 |
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.
--Eric Norum <[email protected]>
Advanced Photon Source
Argonne National Laboratory
(630) 252-4793