[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 8 Aug 2011 17:41:39 +0800
From: Américo Wang <xiyou.wangcong@...il.com>
To: Andy Lutomirski <luto@....edu>
Cc: "Yung, Winson W" <winson.w.yung@...el.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: Is there a way to offload everything from cpu0 to other cpus?
On Fri, Aug 5, 2011 at 8:48 PM, Andy Lutomirski <luto@....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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists