#
a7582815 |
| 17-Jan-2014 |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
rcutorture: Add dryrun capability
Actual rcutorture tests take considerable time and machine resources, so it is inconvenient to actually do an rcutorture run when optimizing the bin-packing algorit
rcutorture: Add dryrun capability
Actual rcutorture tests take considerable time and machine resources, so it is inconvenient to actually do an rcutorture run when optimizing the bin-packing algorithm. This commit therefore adds a --dryrun argument, which defaults to doing a run, but for which "sched" says to simply print the run schedule and "script" dumps the script without running it.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
show more ...
|
#
43e38ab3 |
| 15-Jan-2014 |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
rcutorture: Enable concurrent rcutorture runs
The rcutorture tests run by default range from using one CPU to using sixteen of them. Therefore, rcutorture testing could be sped up significantly sim
rcutorture: Enable concurrent rcutorture runs
The rcutorture tests run by default range from using one CPU to using sixteen of them. Therefore, rcutorture testing could be sped up significantly simply by running the kernels in parallel. Building them in parallel is not all that helpful: "make -j" is usually a better bet. So this commit takes a new "--cpus" argument that specifies how many CPUs rcutorture is permitted to use for its parallel runs. The default of zero does sequential runs as before.
The bin-packing is minimal, and will be grossly suboptimal for some configurations. However, powers of two work reasonably well.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
show more ...
|
#
16d301cb |
| 14-Jan-2014 |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
rcutorture: Move common qemu flags to kvm-test-1.sh
Currently, most qemu flags are calculated in kvm-test-1-rcu.sh, except that -nographics is set up by kvm.sh. This commit promotes one-stop shoppi
rcutorture: Move common qemu flags to kvm-test-1.sh
Currently, most qemu flags are calculated in kvm-test-1-rcu.sh, except that -nographics is set up by kvm.sh. This commit promotes one-stop shopping by consolidating the determination of qemu flags into kvm-test-1-rcu.sh.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
show more ...
|
#
4a261dbc |
| 14-Jan-2014 |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
rcutorture: Move common boot flags to kvm-test-1-rcu.sh
Currently, most boot flags are calculated in kvm-test-1-rcu.sh, except that rcutorture.test_no_idle_hz and rcutorture.verbose are set up by kv
rcutorture: Move common boot flags to kvm-test-1-rcu.sh
Currently, most boot flags are calculated in kvm-test-1-rcu.sh, except that rcutorture.test_no_idle_hz and rcutorture.verbose are set up by kvm.sh. This commit promotes one-stop shopping by consolidating the determination of boot flags into kvm-test-1-rcu.sh.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
show more ...
|
Revision tags: v3.13-rc8, v3.13-rc7, v3.13-rc6, v3.13-rc5 |
|
#
1219c863 |
| 19-Dec-2013 |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
rcutorture: Print script and arguments to standard output
Although the script name and arguments are logged in the results directory, it is more convenient to see it in the output. This commit ther
rcutorture: Print script and arguments to standard output
Although the script name and arguments are logged in the results directory, it is more convenient to see it in the output. This commit therefore adds the output of this information.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
show more ...
|
Revision tags: v3.13-rc4, v3.13-rc3 |
|
#
0e342a87 |
| 03-Dec-2013 |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
rcutorture: Stop tracking FSF's postal address
All of the rcutorture scripts has the usual GPL header, which contains a long-obsolete postal address for FSF. To avoid the need to track the FSF offi
rcutorture: Stop tracking FSF's postal address
All of the rcutorture scripts has the usual GPL header, which contains a long-obsolete postal address for FSF. To avoid the need to track the FSF office's movements, this commit substitutes the URL where GPL may be found.
Reported-by: Greg KH <gregkh@linuxfoundation.org> Reported-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
show more ...
|
Revision tags: v3.13-rc2, v3.13-rc1, v3.12 |
|
#
32caccb8 |
| 28-Oct-2013 |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
rcutorture: Move checkarg to functions.sh
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Greg KH <gregkh@linuxfoundation.org>
|
Revision tags: v3.12-rc7, v3.12-rc6 |
|
#
f43f8f73 |
| 19-Oct-2013 |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
rcutorture: Record results from repeated runs of the same test scenario
Repeatedly running a given test, for example, by repeating the name as in "--configs "TREE08 TREE08 TREE08" records the result
rcutorture: Record results from repeated runs of the same test scenario
Repeatedly running a given test, for example, by repeating the name as in "--configs "TREE08 TREE08 TREE08" records the results only of the last run of this test. This is because the earlier results are overwritten by the later results.
This commit therefore checks for earlier results, using numbered file extensions to distinguish multiple runs. The earlier example would therefore create directories TREE01, TREE01.2, and TREE01.3.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Greg KH <gregkh@linuxfoundation.org>
show more ...
|
#
e1362651 |
| 15-Oct-2013 |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
rcutorture: Test summary at end of run with less chattiness
The commit causes kvm.sh to invoke kvm-recheck.sh at the end of each run, and causes kvm-recheck.sh to print only the name of the test, no
rcutorture: Test summary at end of run with less chattiness
The commit causes kvm.sh to invoke kvm-recheck.sh at the end of each run, and causes kvm-recheck.sh to print only the name of the test, not the full path to the corresponding Kconfig file.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Greg KH <gregkh@linuxfoundation.org>
show more ...
|
#
782ab4cd |
| 15-Oct-2013 |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
rcutorture: Update comment in kvm.sh listing typical RCU trace events
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Greg KH <gregkh@linuxfoundation.org>
|
#
74878fb6 |
| 15-Oct-2013 |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
rcutorture: Add --kmake-arg argument to kvm.sh
This commit adds the --kmake-arg to kvm.sh, which allows passing in things like "V=1" to see the build commands, as well as enabling the CROSS_COMPILE=
rcutorture: Add --kmake-arg argument to kvm.sh
This commit adds the --kmake-arg to kvm.sh, which allows passing in things like "V=1" to see the build commands, as well as enabling the CROSS_COMPILE= make macro used for cross-building.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Greg KH <gregkh@linuxfoundation.org>
show more ...
|
#
73931b5e |
| 15-Oct-2013 |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
rcutorture: Add --no-initrd argument to kvm.sh
This commit adds the --no-initrd argument to kvm.sh, which permits initrd to be contained in a root partition specified by the --bootargs argument. Wi
rcutorture: Add --no-initrd argument to kvm.sh
This commit adds the --no-initrd argument to kvm.sh, which permits initrd to be contained in a root partition specified by the --bootargs argument. Without --no-initrd, the kernel build expects an initrd directory in the same rcutorture directory that contains bin and configs.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Greg KH <gregkh@linuxfoundation.org>
show more ...
|
#
e9ce6400 |
| 15-Oct-2013 |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
rcutorture: Add --qemu-args argument to kvm.sh
This commits adds the --qemu-args argument to kvm.sh that is required to pass boot devices down through to qemu.
Signed-off-by: Paul E. McKenney <paul
rcutorture: Add --qemu-args argument to kvm.sh
This commits adds the --qemu-args argument to kvm.sh that is required to pass boot devices down through to qemu.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Greg KH <gregkh@linuxfoundation.org>
show more ...
|
#
7dca9273 |
| 14-Oct-2013 |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
rcutorture: Add --bootargs argument to specify additional boot arguments
This commit allows easy specification of trace_event lists, among other things.
Signed-off-by: Paul E. McKenney <paulmck@lin
rcutorture: Add --bootargs argument to specify additional boot arguments
This commit allows easy specification of trace_event lists, among other things.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Greg KH <gregkh@linuxfoundation.org>
show more ...
|
Revision tags: v3.12-rc5 |
|
#
11274813 |
| 10-Oct-2013 |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
rcutorture: Add --buildonly dry-run capability
This commit adds --buildonly, which does the builds specified by the --configs argument, but does not boot or test the resulting kernels.
Signed-off-b
rcutorture: Add --buildonly dry-run capability
This commit adds --buildonly, which does the builds specified by the --configs argument, but does not boot or test the resulting kernels.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Greg KH <gregkh@linuxfoundation.org>
show more ...
|
Revision tags: v3.12-rc4 |
|
#
315c540d |
| 04-Oct-2013 |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
rcutorture: Refactor to enable non-x86 architectures
This commit expands the checks for what architecture is running to generate additional qemu-system- commands, then uses the resulting qemu-system
rcutorture: Refactor to enable non-x86 architectures
This commit expands the checks for what architecture is running to generate additional qemu-system- commands, then uses the resulting qemu-system- command name to choose different qemu arguments as needed for different architectures.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Greg KH <gregkh@linuxfoundation.org>
show more ...
|
#
2bcdf4e3 |
| 01-Oct-2013 |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
rcutorture: Eliminate --rcu-kvm argument
The --rcu-kvm argument was intended to allow the scripts to live in an alternate location. Unfortunately, this prevents the kvm.sh script from using common
rcutorture: Eliminate --rcu-kvm argument
The --rcu-kvm argument was intended to allow the scripts to live in an alternate location. Unfortunately, this prevents the kvm.sh script from using common functions until after it finished parsing arguments, because it doesn't know where to find them until then. However, "cp -a" and "ln -s" work pretty well, so lack of an --rcu-kvm argument can be easily worked around.
This commit therefore removes this argument.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Greg KH <gregkh@linuxfoundation.org>
show more ...
|
#
4f8a0312 |
| 30-Sep-2013 |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
rcutorture: Abstract qemu-flavor identification
The task of working out which flavor of qemu to use gets more complex as more types of CPUs are supported. Adding Power makes three in addition to 32
rcutorture: Abstract qemu-flavor identification
The task of working out which flavor of qemu to use gets more complex as more types of CPUs are supported. Adding Power makes three in addition to 32-bit and 64-bit x86, so it is time to pull this out into a function. This commit therefore creates an identify_qemu function and also adds a --qemu-cmd command-line argument for the inevitable case where the identify_qemu cannot figure it out.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Greg KH <gregkh@linuxfoundation.org>
show more ...
|
#
330a76f1 |
| 30-Sep-2013 |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
rcutorture: Make test output less chatty
This commit drops no-longer-needed diagnostics from the output. Some of them are retained in logfiles, in case they are ever needed.
Signed-off-by: Paul E.
rcutorture: Make test output less chatty
This commit drops no-longer-needed diagnostics from the output. Some of them are retained in logfiles, in case they are ever needed.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Greg KH <gregkh@linuxfoundation.org>
show more ...
|
Revision tags: v3.12-rc3 |
|
#
4275be83 |
| 29-Sep-2013 |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
rcutorture: Add per-version default Kconfig fragments and module parameters
Different Kconfig parameters apply to different kernel versions, as do different rcutorture module parameters. This commi
rcutorture: Add per-version default Kconfig fragments and module parameters
Different Kconfig parameters apply to different kernel versions, as do different rcutorture module parameters. This commit allows the rcutorture test scripts to adjust for different kernel versions.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Greg KH <gregkh@linuxfoundation.org>
show more ...
|
#
bb918535 |
| 28-Sep-2013 |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
rcutorture: Add kernel-version argument
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Greg KH <gregkh@linuxfoundation.org>
|
#
847bfd25 |
| 28-Sep-2013 |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
rcutorture: Add datestamp argument to kvm.sh
Allow datestamp to be specified to allow tests to be broken up and run in parallel.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Gre
rcutorture: Add datestamp argument to kvm.sh
Allow datestamp to be specified to allow tests to be broken up and run in parallel.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Greg KH <gregkh@linuxfoundation.org>
show more ...
|
#
c87b9c60 |
| 28-Sep-2013 |
Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
rcutorture: Add KVM-based test framework
This commit adds the test framework that I used to test RCU under KVM. This consists of a group of scripts and Kconfig fragments.
Signed-off-by: Paul E. McK
rcutorture: Add KVM-based test framework
This commit adds the test framework that I used to test RCU under KVM. This consists of a group of scripts and Kconfig fragments.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Greg KH <gregkh@linuxfoundation.org>
show more ...
|
#
f511ce14 |
| 03-Sep-2020 |
Paul E. McKenney <paulmck@kernel.org> |
Merge branch 'scftorture.2020.08.24a' into HEAD scftorture.2020.08.24a: Torture tests for smp_call_function() and friends.
|
Revision tags: v5.8.10, v5.8.9, v5.8.8, v5.8.7, v5.8.6, v5.4.62, v5.8.5, v5.8.4, v5.4.61, v5.8.3, v5.4.60, v5.8.2, v5.4.59 |
|
#
b67a9170 |
| 17-Aug-2020 |
Paul E. McKenney <paulmck@kernel.org> |
torture: Add gdb support This commit adds a "--gdb" parameter to kvm.sh, which causes "CONFIG_DEBUG_INFO=y" to be added to the Kconfig options, "nokaslr" to be added to the boot para
torture: Add gdb support This commit adds a "--gdb" parameter to kvm.sh, which causes "CONFIG_DEBUG_INFO=y" to be added to the Kconfig options, "nokaslr" to be added to the boot parameters, and "-s -S" to be added to the qemu arguments. Furthermore, the scripting prints messages telling the user how to start up gdb for the run in question. Because of the interactive nature of gdb sessions, only one "--configs" scenario is permitted when "--gdb" is specified. For most torture types, this means that a "--configs" argument is required, and that argument must specify the single scenario of interest. The usual cautions about breakpoints and timing apply, for example, staring at your gdb prompt for too long will likely get you many complaints, including RCU CPU stall warnings. Omar Sandoval further suggests using gdb's "hbreak" command instead of the "break" command on systems supporting hardware breakpoints, and further using the "commands" option because the resulting non-interactive breakpoints are less likely to get you RCU CPU stall warnings. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
show more ...
|