Bug 240981 - Add cmdline for early setting of processor affinity
Add cmdline for early setting of processor affinity
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: initscripts (Show other bugs)
4.5
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-05-23 11:21 EDT by Graham Biswell
Modified: 2014-08-14 21:43 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-05-23 13:21:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch for rc.sysinit (760 bytes, patch)
2007-05-23 11:21 EDT, Graham Biswell
no flags Details | Diff

  None (edit)
Description Graham Biswell 2007-05-23 11:21:46 EDT
As bug 203359, but for RHEL4.

This will allow default_affinity= to be set to a bitmask (lowest bit = cpu 0,
and so on).

Examples:
default_affinity=0x1  (cpu 0 only)
default_affinity=0x3  (cpu 0 and 1 only)
default_affinity=0x00002 (cpu 1 only)

note that taskset ignores bits not corresponding to logical CPUs.  Thus
0x00000001 is valid even on a 2-way system.

Patch attached. 
Caveat with this patch is that /usr has to reside in the root filesystem.
Comment 1 Graham Biswell 2007-05-23 11:21:46 EDT
Created attachment 155259 [details]
Patch for rc.sysinit
Comment 2 Bill Nottingham 2007-05-23 13:05:32 EDT
taskset needs moved to /bin if we want to do this. NAK for now.
Comment 3 RHEL Product and Program Management 2007-05-23 13:21:35 EDT
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request. 

Note You need to log in before you can comment on or make changes to this bug.