EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  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  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: enhanced seq record
From: Benjamin Franksen <[email protected]>
To: [email protected]
Cc: [email protected]
Date: Sat, 28 Jan 2006 01:22:36 +0100
On Saturday 28 January 2006 00:52, Chestnut, Ronald P. wrote:
> If you do change the seq record (or make a new one), can you please
> change the behaviour for a "0" delay? Now a new thread is started for
> each (DOL/LNK) pair. If the delay is zero, can you "just do it" in
> the same thread? We found that for some big "explosions" (nested
> SEQs) the task switching dominates the processing time.

I am quite sure the seq record, as it stands, does not start a new 
thread for each link group (=DOL/LNK pair). In R3.13 it uses a watchdog 
timer to request a callback and in R3.14 it uses callbackRequestDelayed 
(which probably is implemented using such a timer; I didn't look at the 
sources).

However, it /does/ request a callback for each group, regardless whether 
the delay is zero or not, and this can indeed cause unnecessary context 
switches. So, yes, I will change this. Adjacent link groups with zero 
delay will be processed in a synchronous manner i.e. w/o requesting a 
callback.

Thanks for the hint.

Cheers,
Ben

Replies:
Re: enhanced seq record Luedeke Andreas
References:
RE: enhanced seq record Chestnut, Ronald P.

Navigate by Date:
Prev: RE: enhanced seq record Mark Rivers
Next: Ansi compiler switch Michael Abbott
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: enhanced seq record Chestnut, Ronald P.
Next: Re: enhanced seq record Luedeke Andreas
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024