EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: task priorities, busy cpu, and timeout
From: Benjamin Franksen <[email protected]>
To: [email protected]
Date: Thu, 1 Mar 2007 12:27:32 +0100
On Wednesday 28 February 2007 23:18, Andrew Johnson wrote:
> Dennis Nicklaus wrote:
> > Is there an existing document/web page describing the duties and
> > relative priorities of the various Epics tasks somewhere?  Which
> > task(s) are responsible for responding to a CA Client (the CAS-client
> > tasks, I'm guessing)?
>
> Sorry, there probably should be but no such document exists.

I have made a start by quickly compiling teh following table from vxWorks 
console output and what I found in the sources. It might be incomplete 
and/or erroneous.

Apart from filling in missing information (see question marks), it might be 
sensible to have some sort of rationale for the relative priorities. For 
instance, it is unclear to me why the timerQueue task has higher priority 
than cbLow task.

                            EPICS TASKS
======================================================================

    NAME        VX_PRI  OSI_PRI                    DESCRIPTION
-------------   ------  -------           ----------------------------
ts_Casync        109    90=High           drvTS (apsEvent module)
TSwdIncTime      109    90=High           drvTS (apsEvent module)
cbHigh           128    71=ScanHigh+1     callback task (prio=high)
timerQueue       129    70=ScanHigh       scan task
scanOnce         129    70=ScanHigh       scan task
scan0.1          133    66=ScanLow+6      scan task
scan0.2          134    65=ScanLow+5      scan task
cbMedium         135    64=ScanLow+4      callback task (prio=medium)
scan0.5          135    64=ScanLow+4      scan task
scan1            136    63=ScanLow+3      scan task
scan2            137    62=ScanLow+2      scan task
scan5            138    61=ScanLow+1      scan task
scan10           139    60=ScanLow        scan task
timerQueue       139    60=ScanLow        epicsTimer
cbLow            140    59=ScanLow-1      callback task (prio=low)
asCaTask         142    57=ScanLow-3      access security
CAC-UDP          147    52=Medium+2       CA client
timerQueue       148    51=Medium+1       epicsTimer
CAC-event        148    51=Medium+1       CA client
dbCaLink         149    50=Medium         CA links (client? server?)
poolPoll         149    50=Medium         ???
CAC-event        178    21=CAServerLow+1  CA Server
CAS-TCP          181    18=CAServerLow-2  CA Server
CAS-beacon       182    17=CAServerLow-3  CA Server
CAS-UDP          183    16=CAServerLow-4  CA Server
errlog           189    10=Low            errlog
taskwd           189    10=Low            task watchdog
ipToAsciiPr      189    10=Low            ???
CAC-repeate      189    10=Low            CA Client (repeater)

Cheers
Ben
-- 
"Programming = Mathematics + Murphy's Law" (Dijkstra in EWD1008)

Replies:
Re: task priorities, busy cpu, and timeout Kay-Uwe Kasemir
RE: task priorities, busy cpu, and timeout Jeff Hill
Re: task priorities, busy cpu, and timeout Korhonen Timo
References:
task priorities, busy cpu, and timeout Dennis Nicklaus
Re: task priorities, busy cpu, and timeout Andrew Johnson

Navigate by Date:
Prev: Re: ca_sg_put problem with DISP=1 Dirk Zimoch
Next: Re: ca_sg_put problem with DISP=1 Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: task priorities, busy cpu, and timeout Jeff Hill
Next: Re: task priorities, busy cpu, and timeout Kay-Uwe Kasemir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·