lkml.org 
[lkml]   [2011]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: HT (Hyper Threading) aware process scheduling doesn't work as it should
From
Date
On Mon, 2011-10-31 at 12:59 -0600, Chris Friesen wrote:

> I created a tiny cpu burner program that just busy-loops. Running two
> instances on my system they were always scheduled on separate physical
> cpus regardless of the values in sched_mc_power_savings or
> sched_smt_power_savings.

A wakeup driven load using sync wakeup hint will wake to siblings of the
same core if there's too not too much imbalance though. Whether that's
good or bad.. depends.

If you turn SD_SHARE_PKG_RESOURCES off in the sibling sched domain,
wakees should be awakened CPU affine in sync hint case, or on separate
cores in no sync hint case. They are here anyway.

-Mike



\
 
 \ /
  Last update: 2011-11-01 07:03    [from the cache]
©2003-2011 Jasper Spaans