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  <20212022  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  2018  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Interrupts in Linux
From: Till Straumann via Tech-talk <tech-talk at aps.anl.gov>
To: "Siddons, David" <siddons at bnl.gov>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 5 Apr 2021 14:58:43 +0200
Hi Pete.

FWIW - I have regularly used linux (currently 4.14.139 with RT_PREEMPT but a few other versions, too, over the years)
on the zynq with fabric-generated interrupts. Never experienced anything matching your description.

From the scarce information it is difficult to draw conclusions...

Best
- Till

On 4/5/21 2:49 PM, Siddons, David via Tech-talk wrote:
I have an embedded Linux system based on the ZynQ processor. I have the FPGA configured to generate a hardware interrupt whenever data is ready to be read. The frequency of the interrupts depends on the integration time of the measurement, and should be settable from seconds to around one millisecond. This is all within an EPICS IOC running under ARM Linux, in a Debian 10 system. What I observe is that the maximum frequency I can use is 100Hz, which is the Linux system clock tick frequency. Presumably there is a lock somewhere inhibiting interrupts except at tick time. I tried rebuilding the kernel with the PREEMPT-RT patch enabled, but it seems not to make a difference. I am definitely not a kernel expert; does anyone know what I'm missing?
Thanks,
Pete.





References:
Interrupts in Linux Siddons, David via Tech-talk

Navigate by Date:
Prev: Interrupts in Linux Siddons, David via Tech-talk
Next: RE: Documentation to program CSS Phoebus scripts using JS and Python Manoussakis, Adamandios 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Interrupts in Linux Siddons, David via Tech-talk
Next: Thermo Radiation Detectors FHT 6020 Ernesto Paiser 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  <20212022  2023  2024 
ANJ, 05 Apr 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·