Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1276184

Re: [PATCH 3/4] sched: introduce synchronized idle injection

From Javi Merino <javi.merino@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/4] sched: introduce synchronized idle injection
Date 2015-11-24 10:20 +0100
Message-ID <qyhVv-6c8-9@gated-at.bofh.it> (permalink)
References <qusFP-2eI-3@gated-at.bofh.it> <qusFQ-2eI-21@gated-at.bofh.it> <qy3zc-55c-13@gated-at.bofh.it> <qy3IR-5o5-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Nov 23, 2015 at 07:07:06PM +0100, Peter Zijlstra wrote:
> On Mon, Nov 23, 2015 at 05:56:44PM +0000, Javi Merino wrote:
> > I've tested this series on Juno (2xCortex-A57 4xCortex-A53).  If you
> > idle inject for 50% of the time, when I run 6 busy loops the scheduler
> > sometimes keeps two of them in the same cpu while the another cpu is
> > completely idle.  Without idle injection the scheduler does the
> > sensible thing: put one busy loop in each CPU.  I'm running systemd
> > and this only happens with CONFIG_SCHED_AUTOGROUP=y.  If I unset
> > CONFIG_SCHED_AUTOGROUP, the tasks are spread across all cpus as usual.
> 
> That's not a plus for this patch though; but a bug report against
> AUTOGROUP/cgroup muck, right?

The bug only happens when you apply this series and you set the system
to idle inject 50% of the time.  SCHED_AUTOGROUP is already part of
the kernel and behaves properly with the kernel as is.  I think that
this patch should not introduce new bugs.

Cheers,
Javi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 3/4] sched: introduce synchronized idle injection Javi Merino <javi.merino@arm.com> - 2015-11-23 19:00 +0100
  Re: [PATCH 3/4] sched: introduce synchronized idle injection Peter Zijlstra <peterz@infradead.org> - 2015-11-23 19:10 +0100
    Re: [PATCH 3/4] sched: introduce synchronized idle injection Javi Merino <javi.merino@arm.com> - 2015-11-24 10:20 +0100
      Re: [PATCH 3/4] sched: introduce synchronized idle injection Peter Zijlstra <peterz@infradead.org> - 2015-11-24 11:20 +0100
        Re: [PATCH 3/4] sched: introduce synchronized idle injection Jacob Pan <jacob.jun.pan@linux.intel.com> - 2015-11-24 12:20 +0100
          Re: [PATCH 3/4] sched: introduce synchronized idle injection Javi Merino <javi.merino@arm.com> - 2015-11-24 13:10 +0100
            Re: [PATCH 3/4] sched: introduce synchronized idle injection Jacob Pan <jacob.jun.pan@linux.intel.com> - 2015-11-24 19:30 +0100
              Re: [PATCH 3/4] sched: introduce synchronized idle injection Javi Merino <javi.merino@arm.com> - 2015-11-25 10:50 +0100

csiph-web