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  <20182019  2020  2021  2022  2023  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Autosave -- debug output when field is updated
From: "Mooney, Tim M." <[email protected]>
To: "Daykin, Evan" <[email protected]>, "[email protected]" <[email protected]>
Date: Tue, 13 Feb 2018 19:14:27 +0000

Hi Evan


You can invoke this function at the ioc console:

save_restoreSet_Debug(int debug_level)

debug_level==10 will give you a lot of output, but it won't tell you which PV is the problem.  


One easy way to narrow the list of possible culprits is to specify that a sequence file be written, and specify a short period:


# Number of sequenced backup files to write
save_restoreSet_NumSeqFiles(1)

# Time interval between sequenced backups
save_restoreSet_SeqPeriodInSeconds(10)

Then you can diff, for example, auto_settings.sav and auto_settings.sav0


Tim Mooney ([email protected]) (630)252-5417
Beamline Controls Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab


From: [email protected] <[email protected]> on behalf of Daykin, Evan <[email protected]>
Sent: Tuesday, February 13, 2018 12:50:03 PM
To: [email protected]
Subject: Autosave -- debug output when field is updated
 

Hello,

 

Apologies in advance if this is in the documentation somewhere, I was unable to find it.


We have an IOC which uses quite a lot of CPU when autosave is turned on. This is most likely the result of some inadvertently autosaved fields being updated at 100Hz. Is there a straightforward way, such as an IOC shell command, to print some debug output whenever an autosaved field is written?

 

Best,


Evan


References:
Autosave -- debug output when field is updated Daykin, Evan

Navigate by Date:
Prev: Autosave -- debug output when field is updated Daykin, Evan
Next: Re: NSLS-II Debian Repository in 2018 Michael Davidsaver
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Autosave -- debug output when field is updated Daykin, Evan
Next: RE: Autosave -- debug output when field is updated Mark Rivers
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 13 Feb 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·