EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  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  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: posix osiSpawnDetachedProcess inherits scheduling policy + priority
From: Till Straumann <[email protected]>
To: EPICS Techtalk <[email protected]>
Date: Mon, 26 Nov 2012 16:56:32 -0600
The current implementation of posix/osiSpawnDetachedProcess()
basically just forks and execs. The new process inherits the
scheduling policy and priority of whoever called spawnDetachedProcess().

This means e.g., that a caRepeater spawned by a "real-time enabled"
IOC application executes under SCHED_FIFO with priority 51.

Not sure this is a good thing. IMO osiSpawnDetachedProcess()
should be fixed so that the new process starts out with SCHED_OTHER.

- Till

Replies:
Re: posix osiSpawnDetachedProcess inherits scheduling policy + priority Andrew Johnson

Navigate by Date:
Prev: Re: Error building asyn4-20 on CentOS 6.3 Andre Charbonneau
Next: Re: Problem with medmfonts.ali running under Ubuntu 1204 Ivan Kohler
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: compiling EPICS Channel Archiver using epics.4.14.7 on 32 bit scientific linux James F Ross
Next: Re: posix osiSpawnDetachedProcess inherits scheduling policy + priority Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·