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  <20212022  2023  2024  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: UDP search requests caget vs pvget
From: Stainer Tom via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 16 Mar 2021 15:17:05 +0000

Dear,

 

After reading some documentation and presentations I came across the fact that Channel Access will send out UDP search packets at a 30 ms initial interval then doubling until some limit. However I could not find an equivalent algorithm for PVA.

 

I did some basic tests comparing caget with pvget for an invalid PV name to listen to the UDP search packets and indeed witnessed CA as described in the documentation (first dump), but for PVA it seems somewhat different, starting with a 200 ms interval and then roughly doubling until 60 seconds and then having an interval of 30/31 seconds thereafter (second dump).

 

Are my tests correct?

 

If so, can anyone please help me understand why PVA follows a different search pattern?

Is it more efficient, or is it primarily done to not conflict with CA search requests?

 

CA

"No.","Time","Source","Destination","Protocol","Length","Info"

1,0.000000000,"10.0.2.15","10.0.2.255","UDP","92","53434  >  5064 Len=48"

2,0.031722001,"10.0.2.15","10.0.2.255","UDP","92","53434  >  5064 Len=48"

3,0.095184894,"10.0.2.15","10.0.2.255","UDP","92","53434  >  5064 Len=48"

4,0.223854894,"10.0.2.15","10.0.2.255","UDP","92","53434  >  5064 Len=48"

5,0.479483401,"10.0.2.15","10.0.2.255","UDP","92","53434  >  5064 Len=48"

6,0.991141127,"10.0.2.15","10.0.2.255","UDP","92","53434  >  5064 Len=48"

7,2.015237229,"10.0.2.15","10.0.2.255","UDP","92","53434  >  5064 Len=48"

8,4.063262008,"10.0.2.15","10.0.2.255","UDP","92","53434  >  5064 Len=48"

9,8.159122093,"10.0.2.15","10.0.2.255","UDP","92","53434  >  5064 Len=48"

10,16.352008891,"10.0.2.15","10.0.2.255","UDP","92","53434  >  5064 Len=48"

11,32.737132230,"10.0.2.15","10.0.2.255","UDP","92","53434  >  5064 Len=48"

12,65.503686690,"10.0.2.15","10.0.2.255","UDP","92","53434  >  5064 Len=48"

 

PVA

"No.","Time","Source","Destination","Protocol","Length","Info"
1,0.000000000,"10.0.2.15","10.0.2.255","UDP","102","39160  >  5076 Len=58"
2,0.238798042,"10.0.2.15","10.0.2.255","UDP","102","39160  >  5076 Len=58"
3,0.719405981,"10.0.2.15","10.0.2.255","UDP","102","39160  >  5076 Len=58"
4,1.671395331,"10.0.2.15","10.0.2.255","UDP","102","39160  >  5076 Len=58"
5,3.572739798,"10.0.2.15","10.0.2.255","UDP","102","39160  >  5076 Len=58"
6,7.381955685,"10.0.2.15","10.0.2.255","UDP","102","39160  >  5076 Len=58"
7,15.002222834,"10.0.2.15","10.0.2.255","UDP","102","39160  >  5076 Len=58"
8,30.242905754,"10.0.2.15","10.0.2.255","UDP","102","39160  >  5076 Len=58"
9,60.723217274,"10.0.2.15","10.0.2.255","UDP","102","39160  >  5076 Len=58"
10,91.441239917,"10.0.2.15","10.0.2.255","UDP","102","39160  >  5076 Len=58"
11,121.923730892,"10.0.2.15","10.0.2.255","UDP","102","39160  >  5076 Len=58"
12,152.401489023,"10.0.2.15","10.0.2.255","UDP","102","39160  >  5076 Len=58"
13,182.881808983,"10.0.2.15","10.0.2.255","UDP","102","39160  >  5076 Len=58"
14,213.362068330,"10.0.2.15","10.0.2.255","UDP","102","39160  >  5076 Len=58"
15,243.843906293,"10.0.2.15","10.0.2.255","UDP","102","39160  >  5076 Len=58"
16,274.323287000,"10.0.2.15","10.0.2.255","UDP","102","39160  >  5076 Len=58"

 

Apologies if this is already documented somewhere, but I have been unable to find information on this.

 

Kind regards,

Tom


Replies:
Re: UDP search requests caget vs pvget Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: Re: Open additional resources as a separate window(not tab) in CSS-Phoebus server mode Kasemir, Kay via Tech-talk
Next: Re: Open additional resources as a separate window(not tab) in CSS-Phoebus server mode J. Lewis Muir 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: Open additional resources as a separate window(not tab) in CSS-Phoebus server mode J. Lewis Muir via Tech-talk
Next: Re: UDP search requests caget vs pvget Michael Davidsaver 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  <20212022  2023  2024 
ANJ, 16 Mar 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·