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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/