How to Restrict Oracle to Certain CPUs on a Multi-CPU Machine on Linux

(Doc ID 390079.1)

Last updated on JANUARY 08, 2018

Applies to:

Linux OS - Version 2.6 to 2.6
Linux x86
Linux x86-64
Linux x86-64
Doc is valid for stated releases: ol5, ol6.
For ol7, a new doc is required as the required package differs

Goal

You want to restrict the Oracle processes (or any other process) to certain CPUs of a multi-cpu system. For example, on Windows there is "ORACLE_AFFINITY" registry setting (See <Note 108512.1>). How to do this on Linux?


Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms