All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Américo Wang" <xiyou.wangcong@gmail.com>
To: Andy Lutomirski <luto@mit.edu>
Cc: "Yung, Winson W" <winson.w.yung@intel.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Is there a way to offload everything from cpu0 to other cpus?
Date: Mon, 8 Aug 2011 17:41:39 +0800	[thread overview]
Message-ID: <CAM_iQpXRQ8C=y=DUt2pW_wQ_WKZU+2=ZBsGSPA2qmVATkTEQpA@mail.gmail.com> (raw)
In-Reply-To: <4E3BE686.7070501@mit.edu>

On Fri, Aug 5, 2011 at 8:48 PM, Andy Lutomirski <luto@mit.edu> wrote:
> On 08/04/2011 10:53 PM, Yung, Winson W wrote:
>>
>> Hi, I would like to know whether it is possible to offload everything
>> (kernel threads/user apps) to cpu1...x so that I can force cpu0 go into
>> idle?
>>
>> I can affinity all the interrupt to a different cpu by playing with the
>> /proc/irq/irqx/smp_affinity, how about everything else?
>>
>
> You probably want the isolcpus boot option.
>

I think Yung was looking for an interface to move tasks dynamically
after the system is boot.

Yung, why /sys/devices/system/cpu/cpuX/online doesn't work for you?

  reply	other threads:[~2011-08-08  9:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-05  2:53 Is there a way to offload everything from cpu0 to other cpus? Yung, Winson W
2011-08-05 12:48 ` Andy Lutomirski
2011-08-08  9:41   ` Américo Wang [this message]
2011-08-15  6:25     ` Gilad Ben-Yossef

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='CAM_iQpXRQ8C=y=DUt2pW_wQ_WKZU+2=ZBsGSPA2qmVATkTEQpA@mail.gmail.com' \
    --to=xiyou.wangcong@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@mit.edu \
    --cc=winson.w.yung@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.