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


Groups > linux.kernel > #1636839

Re: [PATCH tip/sched/core v2] sched/rt: Simplify the IPI rt balancing logic

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH tip/sched/core v2] sched/rt: Simplify the IPI rt balancing logic
Date 2017-05-06 10:00 +0200
Message-ID <tE2Nb-5f8-5@gated-at.bofh.it> (permalink)
References (4 earlier) <tDuiu-7H9-19@gated-at.bofh.it> <tDJhw-Vh-17@gated-at.bofh.it> <tDKdz-1yR-5@gated-at.bofh.it> <tDPwC-4T3-11@gated-at.bofh.it> <tDQCm-5yw-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, May 05, 2017 at 02:59:16PM -0400, Steven Rostedt wrote:
> On Fri, 5 May 2017 19:39:49 +0200
> Peter Zijlstra <peterz@infradead.org> wrote:
> 
> > On Fri, May 05, 2017 at 08:02:38AM -0400, Steven Rostedt wrote:
> > > Actually what rteval does is basically 3 things. It runs cyclictest,
> > > hackbench in a loop and a kernel build in a loop.  
> > 
> > Of those, only cyclictest uses RT tasks and would end up poking at the
> > bits you just changed.
> > 
> > So just running cyclictest should lock up a ~120 CPU machine?
> 
> The other tools tend to trigger RT kernel threads as well, which causes
> migration. cyclictest tasks don't migrate, but they do cause other
> tasks to want to move around.

There aren't that many RT threads on a !RT kernel. All my laptop has for
example are:

$ ps -faxo pid,class,comm | grep -v TS
  PID CLS COMMAND
    9 FF   \_ migration/0
   10 FF   \_ watchdog/0
   11 FF   \_ watchdog/1
   12 FF   \_ migration/1
   16 FF   \_ watchdog/2
   17 FF   \_ migration/2
   21 FF   \_ watchdog/3
   22 FF   \_ migration/3
  714 FF   \_ irq/48-iwlwifi
24254 FF   \_ irq/47-mei_me
 2444 B            \_ baloo_file

> You can try rt-migrate-test too, because I used that to trigger some
> bugs in previous versions.

Just running rt-migrate-test 'works' on the 144 CPU box. But I ran it
while it was otherwise idle. That is, it ran in reasonable time and no
lockup messages were produced.

I can try and run it together with cyclictest, but over all this sounds
like we're missing a usable test-case. If I have a spare moment (lol) I
might poke at rt-migrate-test to see if I can make it more aggressive or
something.

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


Thread

Re: [PATCH tip/sched/core v2] sched/rt: Simplify the IPI rt  balancing logic Peter Zijlstra <peterz@infradead.org> - 2017-05-04 17:40 +0200
  Re: [PATCH tip/sched/core v2] sched/rt: Simplify the IPI rt  balancing logic Steven Rostedt <rostedt@goodmis.org> - 2017-05-04 19:30 +0200
    Re: [PATCH tip/sched/core v2] sched/rt: Simplify the IPI rt  balancing logic Peter Zijlstra <peterz@infradead.org> - 2017-05-04 20:50 +0200
      Re: [PATCH tip/sched/core v2] sched/rt: Simplify the IPI rt  balancing logic Steven Rostedt <rostedt@goodmis.org> - 2017-05-04 21:10 +0200
        Re: [PATCH tip/sched/core v2] sched/rt: Simplify the IPI rt  balancing logic Mike Galbraith <efault@gmx.de> - 2017-05-05 06:30 +0200
          Re: [PATCH tip/sched/core v2] sched/rt: Simplify the IPI rt  balancing logic Mike Galbraith <efault@gmx.de> - 2017-05-05 07:20 +0200
        Re: [PATCH tip/sched/core v2] sched/rt: Simplify the IPI rt  balancing logic Peter Zijlstra <peterz@infradead.org> - 2017-05-05 13:10 +0200
          Re: [PATCH tip/sched/core v2] sched/rt: Simplify the IPI rt  balancing logic Steven Rostedt <rostedt@goodmis.org> - 2017-05-05 14:10 +0200
            Re: [PATCH tip/sched/core v2] sched/rt: Simplify the IPI rt  balancing logic Peter Zijlstra <peterz@infradead.org> - 2017-05-05 19:50 +0200
              Re: [PATCH tip/sched/core v2] sched/rt: Simplify the IPI rt  balancing logic Steven Rostedt <rostedt@goodmis.org> - 2017-05-05 21:00 +0200
                Re: [PATCH tip/sched/core v2] sched/rt: Simplify the IPI rt  balancing logic Peter Zijlstra <peterz@infradead.org> - 2017-05-06 10:00 +0200

csiph-web