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

Subject: Re: EPICS performance test/benchmark
From: Jiro Fujita <jiro@creighton.edu>
To: Andrew Johnson <anj@aps.anl.gov>
Cc: EPICS tech-talk <tech-talk@aps.anl.gov>
Date: Fri, 5 Apr 2013 17:02:13 -0500
Andrew,

I too am interested in EPICS performance test/benchmark.  I have downloaded the soft-test regression test suite, but could you please explain how to use it and how to interpret the result?

Thanks.



On Thu, Apr 4, 2013 at 11:15 AM, Andrew Johnson <anj@aps.anl.gov> wrote:
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



References:
EPICS performance test/benchmark Andre Charbonneau
Re: EPICS performance test/benchmark Andrew Johnson

Navigate by Date:
Prev: Re: CA beacon / ENOBUFS Benjamin Franksen
Next: Re: EPICS performance test/benchmark Andrew Johnson
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 
Navigate by Thread:
Prev: Re: EPICS performance test/benchmark Andrew Johnson
Next: Re: EPICS performance test/benchmark Andrew Johnson
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 
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 ·