![]() |
![]() ![]()
Experimental Physics and
| ||||||||||||||
|
On Mon, 24 Mar 2025 at 08:52, Blomley, Edmund (IBPT) via Tech-talk <tech-talk at aps.anl.gov> wrote: For a second IOC instance with more cameras (14, but in this case only one Asyn (affecting AreaDetector as an Asyn-based driver) is handling the callbacks in a way that uses queue space up to 10 times the number of records. (See https://github.com/epics-modules/asyn/issues/170) For ITER's PLC integration, we eventually used 150k as the queue size to be on the safe side. (On systems with virtual memory management, a few MB more is no show-stopper.) Independent of that, another (probably separate) Asyn issue doesn't allow using parallel callback threads with Asyn drivers. If you enable them, you will see performance going down instead of up. (IMHO, feels like a locking issue.) Each queue element takes a few bytes (~32 bytes x 3 queues), that's about all that there is as a side effect. On recent Base versions, you can use the watermark queue stats mechanism - available through the iocShell and iocStats - to see how much of the queues have actually been used. Cheers, ~Ralph
| ||||||||||||||
ANJ, 24 Mar 2025 |
![]() · Download · Search · IRMIS · Talk · Documents · Links · Licensing · |