Librenix
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Setting Linux processor affinity for a specific process

Up
vote
Down

When you are using SMP (Symmetric MultiProcessing) you might want to override the kernel’s process scheduling and bind a certain process to a specific CPU(s). CPU affinity is nothing but a scheduler property that “bonds” a process to a given set of CPUs on the SMP system.

For example, application such as Oracle licensed per CPU. You can bound Oracle to specific CPU to avoid license problem. This useful on large server having 4 or 8 CPUS. . With the help of Linux scheduler utilities you can set up processor affinity for a certain task or process. The scheduler attempts to keep processes on the same CPU as long as practical for performance reasons. Therefore, forcing a specific CPU affinity is useful in certain applications.
 read more | mail this link | score:7447 | -nixcraft, May 10, 2006
More Sysadmin articles...

Large Abstract Art with Fine Details and Textures

admin headlines

Testing the Digital Ocean $5 Cloud Servers with an MMORPG

Gluster 3.4.2 on Two Node Controller+Compute Neutron GRE+OVS Fedora 20 Cluster

10 basic examples of Linux ps command

Running ownCloud 5.0 On Nginx (LEMP) On Debian Wheezy

How to install S3QL from source on Fedora 19

Setup a chroot environment on Ubuntu with debootstrap

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin