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  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: Handling Polling and CPU Bottleneck for Large Image Capture in areaDetector
From: "Kim, Kuktae via Tech-talk" <tech-talk at aps.anl.gov>
To: Mark Rivers <rivers at cars.uchicago.edu>, tech-talk <tech-talk at aps.anl.gov>
Date: Wed, 30 Apr 2025 00:09:31 +0000
Hi Mark,

We performed some optimizations on the IOC by following these steps:

  1. Increased the CPU priorities for the areaDetector plugins from 50 to 70.
  2. Assigned CPU thread 4 for scans, and CPU threads 8 to 28 for plugins.
  3. Set polling features to Passive when capturing images.
  4. Disabled all unnecessary plugins, enabling only the required ones.
  5. Enabled multithreading for applicable plugins.

After these optimizations, we can capture images at 26 Hz, the maximum frame rate supported by the camera, using the full sensor size in HG/LG_HS_12bit mode.

Best regards,
Kuktae



From: Kim, Kuktae <ktkim at slac.stanford.edu>
Sent: Tuesday, April 29, 2025 1:31 AM
To: Mark Rivers <rivers at cars.uchicago.edu>; tech-talk <tech-talk at aps.anl.gov>; Kim, Kuktae <ktkim at slac.stanford.edu>
Subject: Re: Handling Polling and CPU Bottleneck for Large Image Capture in areaDetector
 
Hi Mark,

I’ve attached a few OPI screens for your reference.

Best regards,
Kuktae

References:
Handling Polling and CPU Bottleneck for Large Image Capture in areaDetector Kim, Kuktae via Tech-talk
RE: Handling Polling and CPU Bottleneck for Large Image Capture in areaDetector Mark Rivers via Tech-talk
Re: Handling Polling and CPU Bottleneck for Large Image Capture in areaDetector Kim, Kuktae via Tech-talk
Re: Handling Polling and CPU Bottleneck for Large Image Capture in areaDetector Kim, Kuktae via Tech-talk

Navigate by Date:
Prev: RE: Unable to mind .lib files after successfully compiling EPICS using mingw64 Freddie Akeroyd - STFC UKRI via Tech-talk
Next: Re: Would this motor record documentation be considered "current" Torsten Bögershausen 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  2022  2023  2024  <2025
Navigate by Thread:
Prev: Re: Handling Polling and CPU Bottleneck for Large Image Capture in areaDetector Kim, Kuktae via Tech-talk
Next: FYI, the msys2 compilation approach is not working Wang, Andrew 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  2022  2023  2024  <2025
ANJ, 30 Apr 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·