lkml.org 
[lkml]   [2008]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRestricting Processor Usage
From
Now that I've got sched_(set|get)affinity working (thank you all for all of
the great help), I need to figure out how to unload the processors in the
machine.

When the system comes up, by default the general system load is spread
across all the processors, even when it is idle. I'm looking for a way to
force everything on the system (kernel, X, gnome, etc.) to run on only one
processor and leave the remaining processors idea for thread assignments.
I'm doing very heavy image processing and need all the power I can get out
of each CPU.

How can I do this? Just make the system as a whole run on only one CPU but
allow processes and threads that I create to set their affinity to the
remaining unloaded CPU's???

-brian



\
 
 \ /
  Last update: 2008-05-09 18:43    [W:0.054 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site