EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20222023  2024  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  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Scan overflow issue
From: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Fri, 12 Aug 2022 10:27:07 +0200
On Thu, 11 Aug 2022 at 22:24, Zhang, Tong <ZhangT at frib.msu.edu> wrote:

The version of the deployed EPICS base is 3.15.9. Does it support checking the queue size through some command in the IOC shell? And How?


According to the Release Notes (hint hint), the mechanism was first published in Base 3.16.2, so it is available in any release of the EPICS 7 series.

I would test drive that IOC with a current EPICS 7 release.
First, you will be able to see that everything on the IOC is pretty much the same as under 3.15 and still works fine, so you have a good argument for migrating your IOCs to EPICS 7.
Then, let it run and use the iocShell commands to monitor the usage of the queues. (Again from the release notes: The new iocsh commands are callbackQueueShow and scanOnceQueueShow; both take an optional integer argument which must be non-zero to reset the high-water mark.)
The numbers you determine (with a safety margin of at least 1-2k) will obviously also apply to the same IOC under 3.15.
After all, having too large ring buffers means only a bit of wasted memory. Using some 10s of kB more or less will be noise on a Linux box with virtual memory.

Cheers,
~Ralph


References:
Scan overflow issue Zhang, Tong via Tech-talk
Re: Scan overflow issue Ralph Lange via Tech-talk
RE: Scan overflow issue Zhang, Tong via Tech-talk

Navigate by Date:
Prev: Re: IOC file for motorMicronix MMC200 Mark Rivers via Tech-talk
Next: Re: EPICS Collaboration Meeting September 2022 in Ljubljana Rok Šabjan via Tech-talk
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  <20222023  2024 
Navigate by Thread:
Prev: RE: Scan overflow issue Zhang, Tong via Tech-talk
Next: ai - record unfortunately does not behave as I expect it to Heinz Junkes via Tech-talk
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  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·