Re: [PATCH] kernel/sched/topology: Clarify root domain(s) debug string

From: Juri Lelli
Date: Fri May 25 2018 - 08:00:49 EST


On 25/05/18 13:35, Dietmar Eggemann wrote:

[...]

>
> Looks good to me. Probably especially helpful when setting up exclusive
> cpusets.
>
> Juno with big and little exclusive cpuset:
>
> ...
> [ 124.231333] CPU1 attaching sched-domain(s):
> [ 124.235482] domain-0: span=1-2 level=MC
> [ 124.239382] groups: 1:{ span=1 }, 2:{ span=2 }
> [ 124.243969] CPU2 attaching sched-domain(s):
> [ 124.248112] domain-0: span=1-2 level=MC
> [ 124.251998] groups: 2:{ span=2 }, 1:{ span=1 }
> [ 124.256585] root domain span: 1-2 (max cpu_capacity = 1024)
> [ 124.262150] CPU0 attaching sched-domain(s):
> [ 124.266307] domain-0: span=0,3-5 level=MC
> [ 124.270366] groups: 0:{ span=0 cap=446 }, 3:{ span=3 cap=446 }, 4:{
> span=4 cap=446 }, 5:{ span=5 cap=446 }
> [ 124.280131] CPU3 attaching sched-domain(s):
> [ 124.284273] domain-0: span=0,3-5 level=MC
> [ 124.288334] groups: 3:{ span=3 cap=446 }, 4:{ span=4 cap=446 }, 5:{
> span=5 cap=446 }, 0:{ span=0 cap=446 }
> [ 124.298096] CPU4 attaching sched-domain(s):
> [ 124.302239] domain-0: span=0,3-5 level=MC
> [ 124.306298] groups: 4:{ span=4 cap=446 }, 5:{ span=5 cap=446 }, 0:{
> span=0 cap=446 }, 3:{ span=3 cap=446 }
> [ 124.316063] CPU5 attaching sched-domain(s):
> [ 124.320205] domain-0: span=0,3-5 level=MC
> [ 124.324265] groups: 5:{ span=5 cap=446 }, 0:{ span=0 cap=446 }, 3:{
> span=3 cap=446 }, 4:{ span=4 cap=446 }
> [ 124.334031] root domain span: 0,3-5 (max cpu_capacity = 446)

Yep, that's similar to how I noticed.

Thanks for testing.

Best,

- Juri