Skip to content

Commit

Permalink
rcutorture: Exchange TREE03 and TREE08 NR_CPUS, speed up CPU hotplug
Browse files Browse the repository at this point in the history
TREE03 has been especially effective at finding bugs lately.  This commit
makes it even more effective by speeding up its CPU hotplug testing and
increasing its NR_CPUs from 8 to 16.  TREE08's NR_CPUS is decreased from
16 to 8 in order to maintain the same test duration.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
  • Loading branch information
Paul E. McKenney committed May 27, 2015
1 parent f76b244 commit 6530b3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/testing/selftests/rcutorture/configs/rcu/TREE03
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CONFIG_SMP=y
CONFIG_NR_CPUS=8
CONFIG_NR_CPUS=16
CONFIG_PREEMPT_NONE=n
CONFIG_PREEMPT_VOLUNTARY=n
CONFIG_PREEMPT=y
Expand Down
1 change: 1 addition & 0 deletions tools/testing/selftests/rcutorture/configs/rcu/TREE03.boot
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rcutorture.onoff_interval=1 rcutorture.onoff_holdoff=30
2 changes: 1 addition & 1 deletion tools/testing/selftests/rcutorture/configs/rcu/TREE08
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CONFIG_SMP=y
CONFIG_NR_CPUS=16
CONFIG_NR_CPUS=8
CONFIG_PREEMPT_NONE=n
CONFIG_PREEMPT_VOLUNTARY=n
CONFIG_PREEMPT=y
Expand Down

0 comments on commit 6530b3f

Please sign in to comment.