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  2012  <20132014  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  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Linux Multi-Core Utilities 1.2 Released
From: Till Straumann <[email protected]>
To: Ralph Lange <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Tue, 14 May 2013 09:11:21 -0700
We simply have patched base so that on systems which support mlockall(2):
if the application is able (has appropriate privilege/resource limits) to use SCHED_FIFO
then it tries mlockall(). If this fails (e.g., due to insufficient RLIMIT_MEMLOCK) a warning is printed.

This way: if you give your IOC app privilege and resource limits to use SCHED_FIFO and mlockall
then it will use them. If you don't then the app executes as an ordinary (paged, SCHED_OTHER)
process.

- Till


On 05/14/2013 05:27 AM, Ralph Lange wrote:
All,

I just uploaded release 1.2 of the mcoreutils module, i.e. Real-Time Utilities for EPICS IOCs on Multi-Core Linux.

Apart from fixes in the documentation [1], this version adds iocShell calls to lock a running IOC's virtual memory into RAM, to avoid swapping and page faults, which would introduce delays and non-deterministic timing behaviour. Thanks to Dirk Zimoch (PSI) for contributing his code.

The mcoreutils module is hosted by the EPICS Applications project on SourceForge. [2]
It requires Linux, and EPICS Base 3.15 (trunk, revision 12372 of 20 Sep 2012 or later).

Any contributions and ideas are very welcome!

Cheers,
~Ralph

[1] http://epics.sourceforge.net/mcoreutils/
[2] http://sourceforge.net/projects/epics/



References:
Linux Multi-Core Utilities 1.2 Released Ralph Lange

Navigate by Date:
Prev: Linux Multi-Core Utilities 1.2 Released Ralph Lange
Next: using the EPICS build system with an IDE Hill, Jeff
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Linux Multi-Core Utilities 1.2 Released Ralph Lange
Next: using the EPICS build system with an IDE Hill, Jeff
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·