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


Groups > linux.kernel > #1405403 > unrolled thread

Bisection: Lost wakeups from b5179ac70de8

Started by"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
First post2016-05-23 16:10 +0200
Last post2016-05-24 15:00 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  Bisection: Lost wakeups from b5179ac70de8 "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-05-23 16:10 +0200
    Re: Bisection: Lost wakeups from b5179ac70de8 Peter Zijlstra <peterz@infradead.org> - 2016-05-24 11:10 +0200
      Re: Bisection: Lost wakeups from b5179ac70de8 "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-05-24 15:00 +0200

#1405403 — Bisection: Lost wakeups from b5179ac70de8

From"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Date2016-05-23 16:10 +0200
SubjectBisection: Lost wakeups from b5179ac70de8
Message-ID<rBYIq-6Rg-19@gated-at.bofh.it>
Hello, Peter,

Current mainline doesn't do well with RCU torture testing, and the
symptom once again looks like lost wakeups.  Thankfully, this time each
run takes only about an hour, and the false-positive/-negative rate
is negligible.  This means that for the first time ever, "git bisect"
actually did something useful for me.  The first bad commit is:

b5179ac70de8 ("sched/fair: Prepare to fix fairness problems on migration").

This patch also seems to result in softlockups:

http://permalink.gmane.org/gmane.linux.kernel/2225784

As always, this was on a virtualized environment, but the exact same
environment was used for both the good and the bad runs.  Sadly, the
much lower-probability bugs appear to be alive and well, but I guess
you can't have everything.

Please let me know if there is additional debug information that would
be useful to you.

							Thanx, Paul

PS: For whatever it is worth, the summary output from a good run and a
    bad run is shown below.

------------------------------------------------------------------------
Good run:
------------------------------------------------------------------------

Results directory: /home/paulmck/public_git/bisect-linux-rcu/tools/testing/selftests/rcutorture/res/2016.05.22-21:12:31
tools/testing/selftests/rcutorture/bin/kvm.sh --cpus 54 --duration 20
SRCU-N ------- 31383 grace periods (26.1525 per second)
SRCU-P ------- 451 grace periods (0.375833 per second)
TASKS01 ------- 820 grace periods (0.683333 per second)
TASKS02 ------- 845 grace periods (0.704167 per second)
TASKS03 ------- 766 grace periods (0.638333 per second)
TINY01 ------- 137261 grace periods (114.384 per second)
TINY02 ------- 386191 grace periods (321.826 per second)
TREE01 ------- 60501 grace periods (50.4175 per second)
TREE02 ------- 34814 grace periods (29.0117 per second)
TREE03 ------- 14581 grace periods (12.1508 per second)
no success message, 81 successful version messages
!!! PID 40003 hung at 1380 vs. 1200 seconds
TREE04 ------- 7856 grace periods (6.54667 per second)
TREE05 ------- 39473 grace periods (32.8942 per second)
TREE06 ------- 38812 grace periods (32.3433 per second)
TREE07 ------- 6874 grace periods (5.72833 per second)
TREE08 ------- 27803 grace periods (23.1692 per second)
TREE09 ------- 88783 grace periods (73.9858 per second)

------------------------------------------------------------------------
Bad run:
------------------------------------------------------------------------

Results directory: /home/paulmck/public_git/bisect-linux-rcu/tools/testing/selftests/rcutorture/res/2016.05.22-17:22:11
tools/testing/selftests/rcutorture/bin/kvm.sh --cpus 54 --duration 20
SRCU-N ------- 5108 grace periods (4.25667 per second)
no success message, 14 successful version messages
WARNING: Assertion failure in /home/paulmck/public_git/bisect-linux-rcu/tools/testing/selftests/rcutorture/res/2016.05.22-17:22:11/SRCU-N/console.log
WARNING: Summary: Call Traces: 116 Stalls: 58
!!! PID 40837 hung at 1380 vs. 1200 seconds
SRCU-P ------- 580 grace periods (0.483333 per second)
WARNING: BAD SEQ 384:384 last:578 version 33
    /home/paulmck/public_git/bisect-linux-rcu/tools/testing/selftests/rcutorture/res/2016.05.22-17:22:11/SRCU-P/console.log
WARNING: Assertion failure in /home/paulmck/public_git/bisect-linux-rcu/tools/testing/selftests/rcutorture/res/2016.05.22-17:22:11/SRCU-P/console.log
WARNING: Summary: Call Traces: 1 Stalls: 11
TASKS01 ------- [ grace periods (0 per second)
no success message, 1 successful version messages
WARNING: Assertion failure in /home/paulmck/public_git/bisect-linux-rcu/tools/testing/selftests/rcutorture/res/2016.05.22-17:22:11/TASKS01/console.log
WARNING: Summary: Call Traces: 36
!!! PID 40965 hung at 1380 vs. 1200 seconds
TASKS02 ------- 831 grace periods (0.6925 per second)
TASKS03 ------- 14 grace periods (0.0116667 per second)
no success message, 4 successful version messages
WARNING: Assertion failure in /home/paulmck/public_git/bisect-linux-rcu/tools/testing/selftests/rcutorture/res/2016.05.22-17:22:11/TASKS03/console.log
WARNING: Summary: Call Traces: 10
!!! PID 15654 hung at 1380 vs. 1200 seconds
TINY01 ------- 140482 grace periods (117.068 per second)
TINY02 ------- 416484 grace periods (347.07 per second)
TREE01 ------- 17599 grace periods (14.6658 per second)
WARNING: BAD SEQ 2251:2251 last:17598 version 19
    /home/paulmck/public_git/bisect-linux-rcu/tools/testing/selftests/rcutorture/res/2016.05.22-17:22:11/TREE01/console.log
WARNING: Assertion failure in /home/paulmck/public_git/bisect-linux-rcu/tools/testing/selftests/rcutorture/res/2016.05.22-17:22:11/TREE01/console.log
WARNING: Summary: Stalls: 4
TREE02 ------- 15117 grace periods (12.5975 per second)
TREE03 ------- 4460 grace periods (3.71667 per second)
WARNING: BAD SEQ 1846:1846 last:4456 version 29
    /home/paulmck/public_git/bisect-linux-rcu/tools/testing/selftests/rcutorture/res/2016.05.22-17:22:11/TREE03/console.log
WARNING: Assertion failure in /home/paulmck/public_git/bisect-linux-rcu/tools/testing/selftests/rcutorture/res/2016.05.22-17:22:11/TREE03/console.log
WARNING: Summary: Stalls: 2
!!! PID 40927 hung at 1380 vs. 1200 seconds
TREE04 ------- 1247 grace periods (1.03917 per second)
WARNING: BAD SEQ 134:134 last:1247 version 6
    /home/paulmck/public_git/bisect-linux-rcu/tools/testing/selftests/rcutorture/res/2016.05.22-17:22:11/TREE04/console.log
WARNING: Assertion failure in /home/paulmck/public_git/bisect-linux-rcu/tools/testing/selftests/rcutorture/res/2016.05.22-17:22:11/TREE04/console.log
WARNING: Summary: Stalls: 7
TREE05 ------- 5543 grace periods (4.61917 per second)
WARNING: BAD SEQ 1854:1854 last:5542 version 28
    /home/paulmck/public_git/bisect-linux-rcu/tools/testing/selftests/rcutorture/res/2016.05.22-17:22:11/TREE05/console.log
WARNING: Assertion failure in /home/paulmck/public_git/bisect-linux-rcu/tools/testing/selftests/rcutorture/res/2016.05.22-17:22:11/TREE05/console.log
WARNING: Summary: Call Traces: 2 Stalls: 28
TREE06 ------- 15510 grace periods (12.925 per second)
WARNING: BAD SEQ 5445:5445 last:15457 version 29
    /home/paulmck/public_git/bisect-linux-rcu/tools/testing/selftests/rcutorture/res/2016.05.22-17:22:11/TREE06/console.log
WARNING: Assertion failure in /home/paulmck/public_git/bisect-linux-rcu/tools/testing/selftests/rcutorture/res/2016.05.22-17:22:11/TREE06/console.log
WARNING: Summary: Stalls: 2
TREE07 ------- 857 grace periods (0.714167 per second)
no success message, 78 successful version messages
WARNING: BAD SEQ 211:211 last:857 version 9
WARNING: Assertion failure in /home/paulmck/public_git/bisect-linux-rcu/tools/testing/selftests/rcutorture/res/2016.05.22-17:22:11/TREE07/console.log
WARNING: Summary: Stalls: 36
!!! PID 40988 hung at 1380 vs. 1200 seconds
TREE08 ------- 7868 grace periods (6.55667 per second)
TREE09 ------- 89784 grace periods (74.82 per second)

[toc] | [next] | [standalone]


#1405963

FromPeter Zijlstra <peterz@infradead.org>
Date2016-05-24 11:10 +0200
Message-ID<rCgvE-1kA-17@gated-at.bofh.it>
In reply to#1405403
On Mon, May 23, 2016 at 07:04:10AM -0700, Paul E. McKenney wrote:
> Hello, Peter,
> 
> Current mainline doesn't do well with RCU torture testing, and the
> symptom once again looks like lost wakeups.  Thankfully, this time each
> run takes only about an hour, and the false-positive/-negative rate
> is negligible.  This means that for the first time ever, "git bisect"
> actually did something useful for me.  The first bad commit is:
> 
> b5179ac70de8 ("sched/fair: Prepare to fix fairness problems on migration").
> 

Yeah, we have a patch for that.. I'll go writes a Changelog for it and
put it to sched/urgent.

See lkml.kernel.org/r/20160523091907.GD15728@worktop.ger.corp.intel.com

[toc] | [prev] | [next] | [standalone]


#1406130

From"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Date2016-05-24 15:00 +0200
Message-ID<rCk6i-3mY-13@gated-at.bofh.it>
In reply to#1405963
On Tue, May 24, 2016 at 11:04:55AM +0200, Peter Zijlstra wrote:
> On Mon, May 23, 2016 at 07:04:10AM -0700, Paul E. McKenney wrote:
> > Hello, Peter,
> > 
> > Current mainline doesn't do well with RCU torture testing, and the
> > symptom once again looks like lost wakeups.  Thankfully, this time each
> > run takes only about an hour, and the false-positive/-negative rate
> > is negligible.  This means that for the first time ever, "git bisect"
> > actually did something useful for me.  The first bad commit is:
> > 
> > b5179ac70de8 ("sched/fair: Prepare to fix fairness problems on migration").
> > 
> 
> Yeah, we have a patch for that.. I'll go writes a Changelog for it and
> put it to sched/urgent.
> 
> See lkml.kernel.org/r/20160523091907.GD15728@worktop.ger.corp.intel.com

Thank you, will give it a shot.

							Thanx, Paul

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web