lkml.org 
[lkml]   [2012]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Plumbers: Tweaking scheduler policy micro-conf RFP
From
Date
On Tue, 2012-05-15 at 17:35 +0200, Peter Zijlstra wrote:
> To aid this we can add some SDTL_flags, initially I was thinking of:
>
> SDTL_SHARE_CORE -- aka SMT
> SDTL_SHARE_CACHE -- LLC cache domain (typically multi-core)
> SDTL_SHARE_MEMORY -- NUMA-node (typically socket)
>
> The 'performance' policy is typically to spread over shared resources so
> as to minimize contention on these.
>
> If you want to add some power we need some extra flags, maybe something
> like:
>
> SDTL_SHARE_POWERLINE -- power domain (typically socket)
>
> so you know where the boundaries are where you can turn stuff off so you
> know what/where to pack bits.

Similarly if someone fancies doing the core-hopping muck and can get the
sensor data etc..

SDTL_SHARE_TEMPERATURE could indicate cpumask that shares a temperature
sensor and needs hopping when the temperature rises to some threshold.

Assumes here is that all these mask are strongly hierarchical and don't
have weird overlaps (I'd like to meet the hardware architect who puts
SMT threads in different memory domains).


\
 
 \ /
  Last update: 2012-05-15 21:01    [from the cache]
©2003-2011 Jasper Spaans