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  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 
<== Date ==> <== Thread ==>

Subject: Re: EPICS performance test/benchmark
From: Andrew Johnson <anj@aps.anl.gov>
To: tech-talk@aps.anl.gov
Date: Thu, 4 Apr 2013 11:15:09 -0500
Hi Andre,

On 2013-04-04 Andre Charbonneau wrote:
> Now I would like to do a benchmark test of EPICS on the Raspberry Pi to
> get an idea of the limits of running EPICS on that particular hardware
> and see how it compares to other system.  That would also help me to
> fine-tune the setup to get better performance.
> 
> Did anyone did such tests before?  Or maybe have some pointers about
> where I should look to get started on this?

We don't really have an easy-to-use set of standard IOC database performance 
tests.  You can use the ca_test program to measure and compare the CA network 
performance, and there are a couple of simple performance measurement 
applications in the (not often used) soft-test regression test suite.  
Unfortunately we don't currently publish a tar-file of that which you can 
download, you'd need to check out a local copy using Bazaar, although I can 
create one for you if you get stuck doing that.  The relevant checkout command 
is:
    bzr branch lp:epics-base-tests/3.14 base-tests

After checkout you'd edit the configure/RELEASE file, build the module, then 
cd into the performApp and/or dbcaPerform directories and follow the README 
instructions to run the tests.  Note that you have to cd into the equivalent 
iocBoot/iocXxx directory to run the IOCs in each case.  Let me know if you get 
stuck.

Feel free to take any code that you like from there and re-work it into a more 
user-friendly format.  We really should have a standard easy-to-use IOC 
performance testing application, so I'd be happy to help publish such a thing 
if you would like to contribute toward one.

> By googling around I found:
> 
> http://www.aps.anl.gov/epics/modules/soft/realTimePerform/R1-1/testDescription.html
> 
> But I'm not sure if this is the right way to go for what I'm trying to do.

That particular module really just tests the latency between an incoming 
hardware interrupt and subsequent record processing; it's not really testing 
the IOC database performance at all, and it does require specific hardware 
support so I don't think it's worth your looking at it.

- Andrew
-- 
There has grown up in the minds of certain groups in this country the
notion that because a man or corporation has made a profit out of the
public for a number of years, the government and the courts are charged
with the duty of guaranteeing such profit in the future, even in the face
of changing circumstances and contrary to public interest. This strange
doctrine is not supported by statute or common law. Neither individuals
nor corporations have any right to come into court and ask that the clock
of history be stopped, or turned back. -- Robert A Heinlein, Life-Line


Replies:
Re: EPICS performance test/benchmark Jiro Fujita
References:
EPICS performance test/benchmark Andre Charbonneau

Navigate by Date:
Prev: EPICS performance test/benchmark Andre Charbonneau
Next: asynAddress, asynPortDriver maxAddr, and addr in setXXXParam Emmanuel Mayssat
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 
Navigate by Thread:
Prev: EPICS performance test/benchmark Andre Charbonneau
Next: Re: EPICS performance test/benchmark Jiro Fujita
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 
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 ·