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