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  <20132014  2015  2016  2017  2018  2019  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  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: devIocStats
From: "Allison, Stephanie" <[email protected]>
To: "'Benjamin Franksen'" <[email protected]>, "[email protected]" <[email protected]>
Date: Sun, 14 Apr 2013 16:10:35 -0700
Hi Ben,

Please send what you have to me and I will test and submit to sourceForge svn repository.  But I don't have a newer version of vxWorks or a newer cpu for testing.

Thanks for your effort.  I know devIocStats has a lot of room for improvement.

Stephanie Allison

> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of
> Benjamin Franksen
> Sent: Saturday, April 13, 2013 5:42 AM
> To: [email protected]
> Subject: devIocStats
> 
> Hi People
> 
> we have recently discovered some bugs in devIocStats in the vxWorks
> implementation that measures the cpu load, which result in wrong results to be
> displayed. I hacked away at the problem for some days and ended up with a
> complete re-write. The solution considerably reduces code size and complexity,
> is therefore much easier to understand and maintain, and --most importantly--
> works correctly. It also contains some additional features:
> 
> * A test procedure that measures how well the initial calibration works by
> doing it for a number of times and gathering statistics (min, max, avg). This
> was useful to determine how long initial calibration should run (the default
> is 30 clock ticks which on a mv2100 gives me a variation of less than 0.4%).
> 
> * Another test procedure (to be called from the shell) adds exactly 50% load
> to the IOC (it burns cpu for one clock tick, then sleeps for one, and repeats
> that in a loop for the given duration), so one can see whether the measured
> cpu load increases appropriately (it does on my test machines).
> 
> * Experienced users can customize behaviour to a certain extent by changing
> the values of some global variables.
> 
> One downside is that I have tested only with a pretty old version of vxWorks
> (5.4.2, we do not have any more recent one here) and with mv162 and mv2100
> boards. I would like to ask anyone interested whether they would be willing to
> test my code with newer vxWorks versions and other hardware. I don't expect
> problems but I would feel safer...
> 
> Who is currently maintaining devIocStats and how do I submit patches?
> 
> Cheers
> --
> Ben Franksen
> ()  ascii ribbon campaign - against html e-mail
> /\  www.asciiribbon.org   - against proprietary attachments
> 
> ________________________________
> 
> Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
> 
> Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.
> 
> Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix
> Vierkorn-Rudolph
> Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking
> 
> Sitz Berlin, AG Charlottenburg, 89 HRB 5583
> 
> Postadresse:
> Hahn-Meitner-Platz 1
> D-14109 Berlin
> 
> http://www.helmholtz-berlin.de



References:
devIocStats Benjamin Franksen

Navigate by Date:
Prev: Re: sequencer and c-code Benjamin Franksen
Next: Spring 2013 EPICS Collaboration Meeting ian.gillingham
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: devIocStats Benjamin Franksen
Next: sequencer and c-code Pierrick Hanlet
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·