EPICS Home

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  2023  2024  Index <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: base max thread priority
From: Marty Kraimer <[email protected]>
To: Eric Norum <[email protected]>
Cc: Till Straumann <[email protected]>, Jeff Hill <[email protected]>, "'Johnson, Andrew N.'" <[email protected]>, [email protected]
Date: Mon, 02 Dec 2002 10:48:09 -0600
I will add the following to epicsThread.h

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

Any objections?

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.


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.

Marty


Replies:
Re: base max thread priority Eric Norum
Re: base max thread priority Andrew Johnson
References:
Re: base max thread priority Eric Norum

Navigate by Date:
Prev: Re: base max thread priority Marty Kraimer
Next: Re: base max thread priority Eric Norum
Index: <20022003  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: base max thread priority Marty Kraimer
Next: Re: base max thread priority Eric Norum
Index: <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024