SUSE Linux Enterprise Real Time is an add-on to SUSE® Linux Enterprise that allows you to run tasks which require
deterministic real-time processing, in a SUSE Linux Enterprise environment. SUSE Linux Enterprise Real Time
meets this requirement by offering several different options for CPU and IO scheduling, CPU shielding and setting
CPU affinities to processes.
Installing SUSE Linux Enterprise Real
Time
There are two ways to set up SUSE Linux Enterprise Real
Time:
• Install it as an add-on product when installing the SUSE
Linux Enterprise Server 10 SP1.
• Install it on top of an already installed SUSE Linux Enter-
prise Server 10 SP1.
SUSE Linux Enterprise Real Time always needs a SUSE Linux
Enterprise Server SP1 base, it cannot be installed in stan-
dalone mode. Refer to the SUSE Linux Enterprise Server
Installation and Administration manual, Section “Installing
Add-On Products” at
http://www.novell.com/
documentation/sles10/sles_admin/index.html
?page=/documentation/sles10/sles_admin/
data/sec_yast2_sw.html
to learn more about in-
stalling add-on products.
The following sections provide a brief introduction to the
tools and possibilities of SUSE Linux Enterprise Real Time.
Using CPU Sets
In some circumstances, it is beneficial to be able to run
specific tasks only on defined CPUs. For this reason, the
linux kernel provides a feature called cpuset. Cpusets pro-
vide the means to do a so called “soft partitioning” of the
system. Dedicated CPUs, together with some predefined
memory, work on a number of tasks.
All systems have at least one cpuset that is called
/
. To re-
trieve the cpuset of a specific task with a certain process id
pid
, use the command
cat /proc/
pid
/cpuset
. To
add, remove, or manage cpusets, a special file system with
file system type
cpuset
is available. Before you can use
this file system type, mount it to
/dev/cpuset
with the
following commands:
mkdir /dev/cpuset
mount -t cpuset none /dev/cpuset
Every cpuset has the following entries:
cpus
A list of CPUs available for the current cpuset. Ranges
of CPUs are displayed with a dash between the first and
the last CPU, else CPUs are represented by a comma
separated list of CPU numbers.
mems
A list of memory nodes available to the current cpuset.
memory_migrate
This flag determines if memory pages should be moved
to the new configuration, in case the memory configura-
tion of the cpuset changes.
cpu_exclusive
Defines if this cpuset becomes a scheduling domain, that
shares properties and policies.
SUSE Linux Enterprise Real Time 10 SP1 Quick Start
SUSE Linux Enterprise 10 SP1
NOVELL® QUICK START CARD
1