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: iocStats module on RTEMS-5
From: Joel Sherrill via Tech-talk <tech-talk at aps.anl.gov>
To: Ben Franksen <benjamin.franksen at helmholtz-berlin.de>
Cc: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Thu, 7 Oct 2021 09:47:54 -0500


On Thu, Oct 7, 2021, 9:29 AM Ben Franksen via Tech-talk <tech-talk at aps.anl.gov> wrote:
Hi Andrew

Am 06.10.21 um 17:13 schrieb Johnson, Andrew N.:
> On Oct 6, 2021, at 2:51 AM, Ben Franksen via Tech-talk
> <tech-talk at aps.anl.gov<mailto:tech-talk at aps.anl.gov>> wrote:
>
> I am getting lots of build errors when I try to build
> iocStats-3.16.1 for RTEMS-5 (using base-7.0.6). We compile for the
> BSPs mvme2100 and beatnik.
>
> Has anyone perhaps already been through that and would be willing to
> share?
>
> We have not yet, but we’re going to need it to support that OS soon,
> so I should be able to offer some help from the APS with code reviews
> and maybe more.

Okay, thanks. The main problem seems to be that the CPU load
measurements rely on internal data structures that have changed from
4.10 to 5. Porting this code is going to be messy. It would be ideal if
RTEMS-5 had a stable API for this stuff and perhaps it has, nowadays,
but I haven't investigated this yet.

Feel free to propose an API for RTEMS for this type of information. We have been waiting years for requirements to come from the user community.  

I honestly thought the space community would have some requirements from their telemetry and logging. 


> The iocStats module could use a major overhaul but it doesn’t really
> have a maintainer at the moment and it isn’t clear which parts are
> being used by which labs — nobody wants to rip out stuff that another
> lab might still be using.
>
> Do you have MVME2100 boards running RTEMS-5 yet?

Not yet. Still busy trying to get our support modules to build.

> Any issues with them
> that should be fed back to Base?

Again, not yet, except one fix but that applies to all base and RTEMS
versions for this board, which I made a long time ago and never came
around to pushing upstream. I attached a patch file, it fixes a bad rule
that can fail if run in parallel.

Anything else I will report if/when it comes up. The release notes
mention that mvme2100 BSP needs patches but doesn't provide any details.
So far I found one rather trivial issue: its bsp.h misses a declaration
for bsp_reset() (the function itself is there).

Cheers
Ben
--
"This work was strictly voluntary, but any animal who absented himself
from it would have his rations reduced by half."
                                          -- George Orwell, Animal Farm

References:
iocStats module on RTEMS-5 Ben Franksen via Tech-talk
Re: iocStats module on RTEMS-5 Johnson, Andrew N. via Tech-talk
Re: iocStats module on RTEMS-5 Ben Franksen via Tech-talk

Navigate by Date:
Prev: Re: iocStats module on RTEMS-5 Ben Franksen via Tech-talk
Next: Re: Imaging Source USB Camera William Kirstaedter 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: Re: iocStats module on RTEMS-5 Ben Franksen via Tech-talk
Next: Imaging Source USB Camera William Kirstaedter 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, 07 Oct 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·