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: Increasing scan rate to 10 kHz
From: Evgeniy <[email protected]>
To: Eric Norum <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Wed, 18 Dec 2013 11:07:24 -0800
Processing of an EPICS record takes ~2 milliseconds on my SL5.3/DELL 2.27 GHz. It is unbelievably slow!
Is it possible to shorten this time without rebuilding Linux kernel?


-------- Original Message --------
On Nov 27, 2013, at 11:29 AM, Evgeniy <[email protected]> wrote:

Thanks, Andrew and Emmanuel for your replies.

I am running Soft IOC on Dell server (64 bit) with eight  Intel Xeon CPUs, each  2.27GHz.
It seems that syntax for dbd file is correct. I found that minimum scan period for my system is 0.001 seconds. For shorter periods it falls down to 0.1 second, as Andrew mentioned.
The difference in one CPU usage is only 5% if I run records with scan 0.1 second or 0.001 second. It looks like it is limitation of EPICS, not hardware.
Or perhaps the kernel timer implementation has a resolution of 1 ms?
  What is the bottleneck for processing of a record on GHz CPUs?
Is it possible to improve it?

Evgeniy


Replies:
RE: Increasing scan rate to 10 kHz Mark Rivers
Re: Increasing scan rate to 10 kHz Andrew Johnson
References:
Increasing scan rate to 10 kHz Evgeniy
Re: Increasing scan rate to 10 kHz Andrew Johnson
Re: Increasing scan rate to 10 kHz Evgeniy
Re: Increasing scan rate to 10 kHz Eric Norum

Navigate by Date:
Prev: Re: Zero length length requests, EPICS upgrades, and cothread Andrew Johnson
Next: RE: Increasing scan rate to 10 kHz Mark Rivers
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: Re: Increasing scan rate to 10 kHz Eric Norum
Next: RE: Increasing scan rate to 10 kHz Mark Rivers
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 ·