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: rtems_cpu_usage_report
From: Matt Rippa <[email protected]>
To: Talk EPICS Tech <[email protected]>
Date: Thu, 26 Apr 2018 21:50:54 +0000

We're running EPICS 3.14.12.7, RTEMS 4.10.2 on the mvme3100 bsp.​ We just added a small support module to calculate cpu statistics.


We're seeing corrupt calculations on some threads. Has anyone seen this? Any advice?

Thank you,
-Matt

tcs-sim-ioc> rtemsStatsReport   
-------------------------------------------------------------------------------
                             CPU USAGE BY THREAD
------------+----------------------------------------+---------------+---------
ID         | NAME                                   | SECONDS       | PERCENT
------------+----------------------------------------+---------------+---------
0x09010001 | IDLE                                   |    153.005592 |  66.361
0x0A010001 | UI1                                    |      6.594606 |   2.860
0x0A010002 | Imsg                                   |      0.000000 |   0.000
0x0A010003 | errl                                   |      0.000000 |   0.000
0x0A010004 | ntwk                                   |      0.177001 |   0.076
0x0A010005 | FECd                                   |      0.105464 |   0.045
0x0A010006 | RPCd                                   |      0.017951 |   0.007
0x0A010007 | NTPT                                   |      0.000240 |   0.000
0x0A010008 | Cloc                                   |      0.000133 |   0.000
0x0A010009 | task                                   |      0.001738 |   0.000
0x0A01000A | time                                   |      0.006104 |   0.002
0x0A01000B | cbLo                                   |      0.063158 |   0.027
0x0A01000C | cbMe                                   |      0.000000 |   0.000
0x0A01000D | cbHi                                   |      0.000000 |   0.000
0x0A01000E | dbCa                                   |     13.028760 |   5.650
0x0A01000F | time                                   |      1.326186 |   0.575
0x0A010010 | scan                                   |      0.124302 |   0.053
0x0A010011 | scan                                   |      0.547109 |   0.237
0x0A010012 | scan                                   |      0.916759 |   0.397
0x0A010013 | scan                                   |4294967295.171835 |80007.024
0x0A010014 | scan                                   |     11.005724 |   4.773
0x0A010015 | scan                                   |     25.785129 |  11.183
0x0A010016 | scan                                   |      1.844036 |   0.799
0x0A010017 | scan                                   |      4.986646 |   2.162
0x0A010018 | scan                                   |      8.144815 |   3.532
0x0A010019 | scan                                   |      0.546069 |   0.236
0x0A01001A | scan                                   |4294967295.354124 |80007.103
0x0A01001B | scan                                   |      2.348328 |   1.018
0x0A01001C | scan                                   |4294967295.022674 |80006.959
0x0A01001D | scan                                   |      1.065378 |   0.462
0x0A01001E | scan                                   |4294967295.505822 |80007.168
0x0A01001F | scan                                   |4294967295.784792 |80007.289
0x0A010020 | CAS-                                   |      0.000000 |   0.000
0x0A010021 | CAS-                                   |      0.001027 |   0.000
0x0A010022 | CAS-                                   |      0.009274 |   0.004
0x0A010023 | bcYe                                   |      0.000000 |   0.000
0x0A010024 | ipTo                                   |      0.000000 |   0.000
0x0A010025 | time                                   |      0.322486 |   0.139
0x0A010026 | CAC-                                   |      0.007932 |   0.003
0x0A010027 | CAC-                                   |      0.003841 |   0.001
0x0A010028 | CAC-                                   |      0.000000 |   0.000
0x0A010029 | CAC-                                   |      0.296865 |   0.128
0x0A01002A | CAC-                                   |      0.506135 |   0.219
0x0A01002B | CAS-                                   |4294967295.982207 |80007.375
0x0A01002C | CAS-                                   |      0.000000 |   0.000
0x0A01002D | time                                   |      0.076084 |   0.032
0x0A01002E | CAC-                                   |      0.000387 |   0.000
0x0A01002F | tcsS                                   |      0.000000 |   0.000
0x0A010030 | tcsS                                   |      0.000000 |   0.000
0x0A010031 | tcsS                                   |      0.000000 |   0.000
0x0A010032 | tcsS                                   |      0.000000 |   0.000
0x0A010033 | tcsS                                   |      0.000000 |   0.000
0x0A010034 | tcsS                                   |      0.000000 |   0.000
0x0A010035 | tcsS                                   |      0.000000 |   0.000
0x0A010036 | tcsS                                   |      0.000000 |   0.000
0x0A010037 | tcsS                                   |      0.000000 |   0.000
0x0A010038 | tcsS                                   |      0.000000 |   0.000
0x0A010039 | tcsS                                   |4294967295.994201 |80007.380
0x0A01003A | time                                   |      0.311219 |   0.134
0x0A01003B | CAC-                                   |      0.005481 |   0.002
0x0A01003C | tcsS                                   |      0.052158 |   0.022
0x0A01003D | tcsS                                   |      0.019990 |   0.008
0x0A01003E | tcsS                                   |4294967295.996309 |80007.381
0x0A01003F | tcsS                                   |      0.181974 |   0.078
0x0A010040 | tcsS                                   |      0.046752 |   0.020
0x0A010041 | tcsS                                   |      0.082502 |   0.035
0x0A010042 | tcsS                                   |      0.053393 |   0.023
0x0A010043 | tcsS                                   |      0.061034 |   0.026
0x0A010044 | tcsS                                   |4294967295.992519 |80007.380
0x0A010045 | tcsS                                   |      0.000000 |   0.000
0x0A010046 | tcsR                                   |      0.079723 |   0.034
------------+----------------------------------------+---------------+---------
TIME SINCE LAST CPU USAGE RESET IN SECONDS:                        230.563022
-------------------------------------------------------------------------------



--


Replies:
Re: rtems_cpu_usage_report Ralph Lange

Navigate by Date:
Prev: Re: NSLS-II Debian Repository in 2018 Michael Davidsaver
Next: Re: NSLS-II Debian Repository in 2018 Konrad, Martin
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: Re: CSS BOY enum local PV Kasemir, Kay
Next: Re: rtems_cpu_usage_report Ralph Lange
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, 27 Apr 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·