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  2018  2019  2020  2021  2022  <20232024  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  2018  2019  2020  2021  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: issue of getTimeStamp from EVR
From: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Fri, 7 Jul 2023 17:29:21 +0200
On Fri, 7 Jul 2023 at 17:17, Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov> wrote:

In many cases, reliance on system time (via. NTP) can be entirely acceptable.
However, if a more precise wall clock time is desired, you could investigate
the  "NTPD Time Source" section.  This allows the system clock to be sync'd
through the EVR, which has much lower jitter than NTP.

I second that.

For the ITER fast controllers, we found that going to the PXIe timing card to read the timestamp is too slow and adds a lot of jitter.
Instead, we're running a PTP daemon that synchronizes the system clock to PTP. This is conceptually similar to what ntpd or chronyd are doing, but PTP allows for a better synchronization.
Result:
- EPICS just reads the system clock and gets a precise, low-jitter time stamp using a fast call.
- IOCs on fast controllers and virtualized not-so-fast hosts run exactly the same code. It's the system clock below that is better on a fast controller with PTP. 

Cheers,
~Ralph


References:
issue of getTimeStamp from EVR Di Wang via Tech-talk
Re: issue of getTimeStamp from EVR Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: Re: issue of getTimeStamp from EVR Michael Davidsaver via Tech-talk
Next: Re: Macro max size is 256 Andrew Johnson via Tech-talk
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  2018  2019  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: Re: issue of getTimeStamp from EVR Michael Davidsaver via Tech-talk
Next: Macro max size is 256 TZVETKOV Stephane via Tech-talk
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  2018  2019  2020  2021  2022  <20232024 
ANJ, 07 Jul 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·