EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

<20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  Index <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022 
<== Date ==> <== Thread ==>

Subject: Re: base max thread priority
From: Eric Norum <[email protected]>
To: Marty Kraimer <[email protected]>
Cc: Till Straumann <[email protected]>, Jeff Hill <[email protected]>, "'Johnson, Andrew N.'" <[email protected]>, [email protected]
Date: Mon, 2 Dec 2002 11:05:41 -0600
On Monday, December 2, 2002, at 10:48  AM, Marty Kraimer wrote:

I will add the following to epicsThread.h

static const unsigned epicsThreadPriorityIocsh = 91;
static const unsigned epicsThreadPriorityBaseMax = 91;

Any objections?
Maybe  :-)

Eric Norum wrote:

and I think Till would agree, that the IOC shell should also run at a priority less than the scan tasks to ensure the determinism of the scan tasks.
I don't like the idea of a (l)user disrupting time-critical scan tasks
by typing some long-running command.
I'd rather have IOC shell run just below the scan task priority.

Booting tornado II gives


ExcTask _excTask fe80f4 0 PEND 6cd04 fe8054 0 0 tLogTask _logTask fe57cc 0 PEND 6cd04 fe5728 0 0 tShell _shell ed9540 1 READY 2cfc4 ed91e8 1c0001 0 tTelnetd _telnetd edfb38 2 PEND 253ea edfa48 0 0 tNetTask _netTask f57408 50 PEND 253ea f573b0 0 0 tPortmapd _portmapd ede5f8 100 PEND 253ea ede4b0 16 0
Thus to ensure really good real time performance the priority of all
of the above should be changed.
Indeed.

--
Eric Norum <[email protected]>
Department of Electrical Engineering
University of Saskatchewan
Saskatoon, Canada.
Phone: (306) 966-5394   FAX:   (306) 966-5407


References:
Re: base max thread priority Marty Kraimer

Navigate by Date:
Prev: Re: base max thread priority Marty Kraimer
Next: Re: base max thread priority Andrew Johnson
Index: <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022 
Navigate by Thread:
Prev: Re: base max thread priority Marty Kraimer
Next: Re: base max thread priority Andrew Johnson
Index: <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·