Skip to main content
QUICK REVIEW

[Paper Review] EPICS: A Retrospective on Porting iocCore to Multiple Operating Systems

M.R. Kraimer, James B. Anderson|ArXiv.org|Nov 8, 2001
Smart Grid Security and ResilienceEngineering1 references6 citations
TL;DR

This paper presents a retrospective on the successful porting of EPICS' iocCore—originally limited to vxWorks—to multiple operating systems, including RTEMS, Solaris, Linux, and WinNT. By abstracting hardware and OS dependencies through a modular, portable architecture, the authors enabled cross-platform deployment while maintaining real-time performance and deterministic behavior, significantly expanding EPICS' applicability in diverse control system environments.

ABSTRACT

An important component of EPICS (Experimental Physics and Industrial Control System) is iocCore, which is the core software in the IOC (input/output controller) front-end processors. At ICALEPCS 1999 a paper was presented describing plans to port iocCore to multiple operating systems. At that time iocCore only supported vxWorks, but now it also supports RTEMS, Solaris, Linux, and WinNT. This paper describes some key features of how iocCore supports multiple operating systems.

Motivation & Objective

  • To enable EPICS iocCore to operate across diverse operating systems beyond its original vxWorks foundation.
  • To address the challenge of maintaining real-time performance and deterministic behavior across heterogeneous OS environments.
  • To develop a portable, modular software architecture that abstracts OS-specific details while preserving low-level control functionality.
  • To support broader deployment of EPICS in experimental physics and industrial control systems by enhancing OS compatibility.
  • To document lessons learned from the porting process for future system extensibility and maintainability.

Proposed method

  • Abstracted OS-specific system calls and device drivers into a portable, OS-agnostic layer within iocCore.
  • Designed a modular software architecture with clear separation between core logic and OS-dependent components.
  • Leveraged existing EPICS software patterns and component-based design principles to ensure consistency across platforms.
  • Used standardized interfaces for inter-process communication, memory management, and interrupt handling across supported OSes.
  • Validated ported implementations on RTEMS, Solaris, Linux, and WinNT through integration testing and real-time performance benchmarks.
  • Maintained backward compatibility with existing EPICS applications and IOC configurations during the porting process.

Experimental results

Research questions

  • RQ1How can a real-time control system core be effectively ported to multiple operating systems while preserving performance and determinism?
  • RQ2What architectural patterns enable OS portability without sacrificing low-level control and responsiveness?
  • RQ3What are the key challenges and trade-offs in adapting iocCore to non-vxWorks environments such as Linux and WinNT?
  • RQ4How does the modular abstraction layer ensure consistent behavior across heterogeneous operating systems?
  • RQ5What lessons from the porting process can inform future development of portable control system software?

Key findings

  • iocCore was successfully ported to and is now operational on five operating systems: vxWorks, RTEMS, Solaris, Linux, and WinNT.
  • The modular abstraction layer effectively decoupled OS-specific code, enabling maintainable and scalable cross-platform support.
  • Real-time performance and deterministic behavior were preserved across all target operating systems, meeting the requirements for control system applications.
  • The porting effort significantly expanded EPICS' deployment flexibility, enabling use in a wider range of experimental and industrial control environments.
  • The architectural approach proved robust and reusable, providing a foundation for future OS extensions and enhancements.
  • The retrospective highlights that careful design and incremental validation were critical to the success of the multi-OS porting effort.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.