Bug 240981 - Add cmdline for early setting of processor affinity
Summary: Add cmdline for early setting of processor affinity
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: initscripts
Version: 4.5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-05-23 15:21 UTC by Graham Biswell
Modified: 2014-08-15 01:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-05-23 17:21:35 UTC
Target Upstream Version:
Embargoed:


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

Description Graham Biswell 2007-05-23 15:21:46 UTC
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 15:21:46 UTC
Created attachment 155259 [details]
Patch for rc.sysinit

Comment 2 Bill Nottingham 2007-05-23 17:05:32 UTC
taskset needs moved to /bin if we want to do this. NAK for now.

Comment 3 RHEL Program Management 2007-05-23 17:21:35 UTC
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.