1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 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 2007 2008 2009 2010 2011 <2012> 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Utilities for EPICS on Multi-Core Linux |
From: | Ralph Lange <[email protected]> |
To: | EPICS Tech-Talk <[email protected]> |
Date: | Fri, 23 Nov 2012 20:48:33 +0100 |
MCoreUtils - Utilities for EPICS on Multi-Core Linux I recently started working on a collection of useful stuff for running IOCs on multi-core (RT or not) Linux architectures. (*) The first two modules are now available on SourceForge [1]: Real-time threadShow routines Enhanced threadShow functions that print LWP ID, scheduling policy, and CPU affinity. Rule-based setting of real-time properties Pattern matching engine that allows to set real-time properties of EPICS threads (scheduling policy, priority, and CPU affinity) by regular _expression_ matching on thread names. Rules can be set in a config file or from the iocShell, and will be applied to any thread started through the libCom/OSI API of EPICS Base. This allows to restrict the complete IOC onto a subset of CPUs, dedicate CPUs to specific (driver) threads, fine-tune policies and priorities, etc. MCoreUtils need EPICS Base 3.15.0.1 or later, on a Linux platform. This project is in an early stage. I know that more and more EPICS sites are using this family of platforms and have to cope with similar things, so I would like to invite everybody to step forward with ideas and suggestions (and code!). I hope we can manage to minimize parallel developments, and combine efforts for a better real-time behaviour and performance of EPICS. Cheers, ~Ralph [1] http://epics.sourceforge.net/mcoreutils/ (*) Work supported by ITER International Organization and Helmholtz-Zentrum Berlin / BESSY II |