public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Brian McGrew <brian@visionpro.com>
To: <linux-kernel@vger.kernel.org>
Subject: Restricting Processor Usage
Date: Fri, 09 May 2008 09:27:34 -0700	[thread overview]
Message-ID: <C449C986.1E7ED%brian@visionpro.com> (raw)

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


             reply	other threads:[~2008-05-09 16:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-09 16:27 Brian McGrew [this message]
2008-05-09 19:28 ` Restricting Processor Usage Ingo Oeser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C449C986.1E7ED%brian@visionpro.com \
    --to=brian@visionpro.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox