[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <53844277.3050204@huawei.com>
Date: Tue, 27 May 2014 15:44:55 +0800
From: Libo Chen <libo.chen@...wei.com>
To: Mike Galbraith <umgwanakikbuti@...il.com>
CC: <tglx@...utronix.de>, <mingo@...e.hu>,
LKML <linux-kernel@...r.kernel.org>,
Greg KH <gregkh@...uxfoundation.org>,
"Li Zefan" <lizefan@...wei.com>, <peterz@...radead.org>
Subject: Re: balance storm
On 2014/5/26 22:03, Mike Galbraith wrote:
> On Mon, 2014-05-26 at 19:49 +0800, Libo Chen wrote:
>
>> how to turn off SD_SHARE_PKG_RESOURCES in userspace ?
>
> I use a script Ingo gave me years and years ago to
> twiddle /proc/sys/kernel/sched_domain/cpuN/domainN/flags domain wise.
> Doing that won't do you any good without a handler to build/tear down
> sd_llc when you poke at flags though. You can easily add a sched
> feature to play with it.
I make a simple script:
for ((i=0;i<=15;i++))
do
echo 4143 > /proc/sys/kernel/sched_domain/cpu$i/domain1/flags
done
In our kernel SD_SHARE_PKG_RESOURCE is 0x0200, the original flag value is 4655,
domain1's name is MC.
but migrations event doesn't reduce like yours, what problem? I wouldn't like
recompile kernel :(
>
> -Mike
>
>
>
--
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