User Tools

Site Tools


realtime:documentation:howto:tools:cpu-partitioning:cset

Table of Contents

cset

cset is a command of the Python application cpuset. It eases the use of the Linux kernel facility cpusets.

The cpuset project is hosted on github: https://github.com/lpechacek/cpuset

Install cpuset

Cpuset can be installed from source or with a prebuilt binary package.

Clone the repository to install it from source (the author recommends to create an rpm, see INSTALL for detailed description):

git clone https://github.com/lpechacek/cpuset.git

For Debian and Ubuntu cpuset is already packaged. It simply can be installed using the following command on terminal (the version may differ from the latest availabe version on github!):

 $ sudo apt-get update
 $ sudo apt-get install cpuset

Further prebuild binary packages are available on Open Build Service: http://download.opensuse.org/repositories/home:/tsariounov:/cpuset

How to use cset

A detailed tutorial how to use cset is available:

  • in “cpuset/docs/tutorial.[txt/html]”, if the git repository was cloned

or

  • in “/usr/share/doc/cpuset/tutorial.html”, when the package was installed

or

  • refere to github for a cset tutorial.
realtime/documentation/howto/tools/cpu-partitioning/cset.txt · Last modified: 2017/09/11 10:29 by anna-maria