EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  <20002001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  <20002001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: priority inversions with scanning and channel access
From: "leo dalesio" <[email protected]>
To: "Chip Watson" <[email protected]>, "Dave Reid" <[email protected]>
Cc: <[email protected]>
Date: Tue, 14 Mar 2000 15:37:40 -0500
A reason that the name resolution may be slow is that there is limited idle
time in the IOCs. As the name server is the lowest priority, a highly loaded
CPU could take a long time to respond to a large client that is trying to
connect.

WIth the name server at the highest priority, you will find the IOC, but the
connection will not be made or serviced, as channel access clients will then
be the lowest priority.

If you change the priority of the name server task from the lowest to the
highest, you significantly change the degradation mode of the system. With
the priority inverted, you can starve out the scan tasks with a network
problem that is broadcasting trash. If you are running any interlocks in
your IOC, or any other equipment critical IO, you may want to avoid running
in this configuration. If the names are valid and there is no problem on the
network, this is unlikely to cause more than some timing scew - we were
measuring 10K name resolutions per second on a 68040 (perhaps it was a
68020 - it was measured long ago).

An alternative to running the name server at the highest priority, would be
to either use a gateway (which creates a cache of connected channels at the
host level), or use a name server as the primary means of resolution - then
there is only local network traffic and the name server CPU utilization as
issues. This also relieves a source of network peaks that occur when large
clients are started  - like an archiver or alarm handler that attaches to
most channels in the system.

If the IOC were nothing but an IO multiplexor, one might consider inverting
the priorities - otherwise, consider the potential failure modes as well as
less obvious things like the frequency of a PID controller.

    Bob



References:
IOC Performance numbers Dave Reid
Re: IOC Performance numbers Chip Watson

Navigate by Date:
Prev: Re: IOC Performance numbers Chip Watson
Next: RULES.Host for EPICS 3.13.2 - shareable object libraries on solaris saa
Index: 1994  1995  1996  1997  1998  1999  <20002001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: IOC Performance numbers Chip Watson
Next: Re: IOC Performance numbers Richard Dickson
Index: 1994  1995  1996  1997  1998  1999  <20002001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·