* a LLC sched domain bug for panda board?
@ 2014-02-03 16:17 Alex Shi
2014-02-03 16:27 ` Vincent Guittot
0 siblings, 1 reply; 5+ messages in thread
From: Alex Shi @ 2014-02-03 16:17 UTC (permalink / raw)
To: linux-arm-kernel
I just run the 3.14-rc1 kernel on panda board. The only domain for it is
'CPU' domain, but this domain has no SD_SHARE_PKG_RESOURCES setting, it
has no sd_llc.
Guess the right domain for this board should be MC. So is it a bug?
..
/proc/sys/kernel/sched_domain/cpu0/domain0/name:CPU
..
/proc/sys/kernel/sched_domain/cpu1/domain0/name:CPU
--
Thanks
Alex
^ permalink raw reply [flat|nested] 5+ messages in thread* a LLC sched domain bug for panda board? 2014-02-03 16:17 a LLC sched domain bug for panda board? Alex Shi @ 2014-02-03 16:27 ` Vincent Guittot 2014-02-03 16:28 ` Vincent Guittot 0 siblings, 1 reply; 5+ messages in thread From: Vincent Guittot @ 2014-02-03 16:27 UTC (permalink / raw) To: linux-arm-kernel Have you checked that CONFIG_SCHED_LC is set ? On 3 February 2014 17:17, Alex Shi <alex.shi@linaro.org> wrote: > I just run the 3.14-rc1 kernel on panda board. The only domain for it is > 'CPU' domain, but this domain has no SD_SHARE_PKG_RESOURCES setting, it > has no sd_llc. > > Guess the right domain for this board should be MC. So is it a bug? > > .. > /proc/sys/kernel/sched_domain/cpu0/domain0/name:CPU > .. > /proc/sys/kernel/sched_domain/cpu1/domain0/name:CPU > > -- > Thanks > Alex > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo at vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ ^ permalink raw reply [flat|nested] 5+ messages in thread
* a LLC sched domain bug for panda board? 2014-02-03 16:27 ` Vincent Guittot @ 2014-02-03 16:28 ` Vincent Guittot 2014-02-03 16:49 ` Alex Shi 0 siblings, 1 reply; 5+ messages in thread From: Vincent Guittot @ 2014-02-03 16:28 UTC (permalink / raw) To: linux-arm-kernel On 3 February 2014 17:27, Vincent Guittot <vincent.guittot@linaro.org> wrote: > Have you checked that CONFIG_SCHED_LC is set ? sorry it's CONFIG_SCHED_MC > > > On 3 February 2014 17:17, Alex Shi <alex.shi@linaro.org> wrote: >> I just run the 3.14-rc1 kernel on panda board. The only domain for it is >> 'CPU' domain, but this domain has no SD_SHARE_PKG_RESOURCES setting, it >> has no sd_llc. >> >> Guess the right domain for this board should be MC. So is it a bug? >> >> .. >> /proc/sys/kernel/sched_domain/cpu0/domain0/name:CPU >> .. >> /proc/sys/kernel/sched_domain/cpu1/domain0/name:CPU >> >> -- >> Thanks >> Alex >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in >> the body of a message to majordomo at vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html >> Please read the FAQ at http://www.tux.org/lkml/ ^ permalink raw reply [flat|nested] 5+ messages in thread
* a LLC sched domain bug for panda board? 2014-02-03 16:28 ` Vincent Guittot @ 2014-02-03 16:49 ` Alex Shi [not found] ` <CAKfTPtBV0cSALdVcMsnGHwQPoNCEp5CXQGg36ZAgK7kWJ6gaMQ@mail.gmail.com> 0 siblings, 1 reply; 5+ messages in thread From: Alex Shi @ 2014-02-03 16:49 UTC (permalink / raw) To: linux-arm-kernel On 02/04/2014 12:28 AM, Vincent Guittot wrote: > On 3 February 2014 17:27, Vincent Guittot <vincent.guittot@linaro.org> wrote: >> Have you checked that CONFIG_SCHED_LC is set ? > > sorry it's CONFIG_SCHED_MC Thanks for reminder! no it wasn't set. Does it means arch/arm/configs/omap2plus_defconfig need add this config? > >> >> >> On 3 February 2014 17:17, Alex Shi <alex.shi@linaro.org> wrote: >>> I just run the 3.14-rc1 kernel on panda board. The only domain for it is >>> 'CPU' domain, but this domain has no SD_SHARE_PKG_RESOURCES setting, it >>> has no sd_llc. >>> >>> Guess the right domain for this board should be MC. So is it a bug? >>> >>> .. >>> /proc/sys/kernel/sched_domain/cpu0/domain0/name:CPU >>> .. >>> /proc/sys/kernel/sched_domain/cpu1/domain0/name:CPU >>> >>> -- >>> Thanks >>> Alex >>> -- >>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in >>> the body of a message to majordomo at vger.kernel.org >>> More majordomo info at http://vger.kernel.org/majordomo-info.html >>> Please read the FAQ at http://www.tux.org/lkml/ -- Thanks Alex ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <CAKfTPtBV0cSALdVcMsnGHwQPoNCEp5CXQGg36ZAgK7kWJ6gaMQ@mail.gmail.com>]
* a LLC sched domain bug for panda board? [not found] ` <CAKfTPtBV0cSALdVcMsnGHwQPoNCEp5CXQGg36ZAgK7kWJ6gaMQ@mail.gmail.com> @ 2014-02-04 3:12 ` Preeti U Murthy 0 siblings, 0 replies; 5+ messages in thread From: Preeti U Murthy @ 2014-02-04 3:12 UTC (permalink / raw) To: linux-arm-kernel Hi Alex, Vincent, On 02/04/2014 02:10 AM, Vincent Guittot wrote: > Yes, it's probably worth enabling by default for all ARM arch. > > Vincent > > On 02/04/2014 12:28 AM, Vincent Guittot wrote: >> On 3 February 2014 17:27, Vincent Guittot <vincent.guittot@linaro.org> > wrote: >>> Have you checked that CONFIG_SCHED_LC is set ? >> >> sorry it's CONFIG_SCHED_MC > > Thanks for reminder! no it wasn't set. Does it means > arch/arm/configs/omap2plus_defconfig need add this config? Hmm..ok let me think this aloud. So looks like the SMT,MC and the NUMA sched domains are optional depending on the architecture. They are config dependent. These domains could potentially exist on the processor layout, but if the respective CONFIG options are not set, the scheduler could very well ignore these levels. What this means is that although the architecture could populate the cpu_sibling_mask and cpu_coregroup_mask, the scheduler is not mandated to schedule across the SMT and MC levels of the topology. Its just the CPU sched domain which is guaranteed to be present no matter what. This is indeed interesting to note :) Thanks Alex for bringing up this point :) On PowerPC, the SCHED_MC option can never be set. Its not even optional. On x86, it is on by default and on arm looks like its off by default. Thanks, Regards Preeti U Murthy > >> >>> >>> >>> On 3 February 2014 17:17, Alex Shi <alex.shi@linaro.org> wrote: >>>> I just run the 3.14-rc1 kernel on panda board. The only domain for it is >>>> 'CPU' domain, but this domain has no SD_SHARE_PKG_RESOURCES setting, it >>>> has no sd_llc. >>>> >>>> Guess the right domain for this board should be MC. So is it a bug? >>>> >>>> .. >>>> /proc/sys/kernel/sched_domain/cpu0/domain0/name:CPU >>>> .. >>>> /proc/sys/kernel/sched_domain/cpu1/domain0/name:CPU >>>> >>>> -- >>>> Thanks >>>> Alex >>>> -- >>>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" > in >>>> the body of a message to majordomo at vger.kernel.org >>>> More majordomo info at http://vger.kernel.org/majordomo-info.html >>>> Please read the FAQ at http://www.tux.org/lkml/ > > -- > Thanks > Alex > ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-02-04 3:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-03 16:17 a LLC sched domain bug for panda board? Alex Shi
2014-02-03 16:27 ` Vincent Guittot
2014-02-03 16:28 ` Vincent Guittot
2014-02-03 16:49 ` Alex Shi
[not found] ` <CAKfTPtBV0cSALdVcMsnGHwQPoNCEp5CXQGg36ZAgK7kWJ6gaMQ@mail.gmail.com>
2014-02-04 3:12 ` Preeti U Murthy
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).