EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: posix thread priorities
From: Andrew Johnson <[email protected]>
To: Ralph Lange <[email protected]>
Cc: Jeff Hill <[email protected]>, EPICS core-talk <[email protected]>
Date: Fri, 18 Nov 2005 09:22:59 -0600
Ralph Lange wrote:

wasn't it that you had to be running the soft IOC as root on Linux to see the OS priorities?

Right, although even this may not be sufficient - running an IOC as root on my 2.4.20-19.9 UP kernel doesn't give me non-zero values for OSSPRI. Jeff has an SMP machine and if he runs as root he might be Ok, but I don't have sudo priviledge on the only SMP machine I have access to. Marty and Shifu have been developing this on newer kernels for which the results are probably different, and it also works on Solaris without root.

Jeff Hill also replied:
Know that now, but I *am* still amazed that one can't get prioritized
scheduling of threads (at a lower priority) on Linux as a non privileged
user (this is allowed on windows for example).

It's possible that you can if you have a more recent kernel - IIRC we're both running 2.4.2x versions, when the latest is something like 2.6.14 and has significantly different real-time functionality.

- Andrew
--
* * Matt Santos / / Leo McGarry * * For a Brighter America * *

References:
posix thread priorities Jeff Hill
Re: posix thread priorities Ralph Lange

Navigate by Date:
Prev: RE: epicsThreadSetPriority called by non epics thread Jeff Hill
Next: RE: R3.14.8 Status/logClient patch Jeff Hill
Index: 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: posix thread priorities Jeff Hill
Next: linux-x86_64 issue: epicsThread: Unknown C++ exception in thread "timerQueue" Ernest L. Williams Jr.
Index: 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
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 ·