diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-09-13 23:57:42 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-09-13 23:57:42 +0200 |
commit | 22ce80766c4f31a218da1694569523eb68737faf (patch) | |
tree | 20328feba34f47839d16b2f93d97ec69acdb6aeb /testsuite/systemtap.examples/locks | |
parent | 6ff3e5250db10f8e6a875bc1ddecf19f8181739c (diff) | |
download | systemtap-steved-22ce80766c4f31a218da1694569523eb68737faf.tar.gz systemtap-steved-22ce80766c4f31a218da1694569523eb68737faf.tar.xz systemtap-steved-22ce80766c4f31a218da1694569523eb68737faf.zip |
Make check.exp not sleep so much in test_installcheck.
A lot of time during the installcheck was spend just sleeping. Reduce the
sleep time by at least one fifth.
* testsuite/systemtap.examples/*/*meta: Reduct -c "sleep" time.
Diffstat (limited to 'testsuite/systemtap.examples/locks')
-rw-r--r-- | testsuite/systemtap.examples/locks/bkl.meta | 2 | ||||
-rw-r--r-- | testsuite/systemtap.examples/locks/bkl_stats.meta | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/systemtap.examples/locks/bkl.meta b/testsuite/systemtap.examples/locks/bkl.meta index e4afabde..61bd4eb7 100644 --- a/testsuite/systemtap.examples/locks/bkl.meta +++ b/testsuite/systemtap.examples/locks/bkl.meta @@ -7,4 +7,4 @@ status: production exit: user-controlled description: The bkl.stp script can help determine whether the Big Kernel Lock (BKL) is causing serialization on a multiprocessor system due to excessive contention of the BKL. The bkl.stp script takes one argument which is the number of processes waiting for the Big Kernel Lock (BKL). When the number of processes waiting for the BKL is reached or exceeded, the script will print a time stamp, the number of processes waiting for the BKL, the holder of the BKL, and the amount of time the BKL was held. test_check: stap -p4 bkl.stp 1 -test_installcheck: stap bkl.stp -c "sleep 1" 1 +test_installcheck: stap bkl.stp -c "sleep 0.2" 1 diff --git a/testsuite/systemtap.examples/locks/bkl_stats.meta b/testsuite/systemtap.examples/locks/bkl_stats.meta index 00d55c68..6db6c72f 100644 --- a/testsuite/systemtap.examples/locks/bkl_stats.meta +++ b/testsuite/systemtap.examples/locks/bkl_stats.meta @@ -10,4 +10,4 @@ output: sorted-list scope: system-wide description: The bkl_stats.stp script can indicate which processes have excessive waits for the Big Kernel Lock (BKL) and which processes are taking the BKL for long periods of time. The bkl_stats.stp script prints lists of all the processes that require the BKL. Every five seconds two tables are printed out. The first table lists the processes that waited for the BKL followed by the number of times that the process waited, the minimum time of the wait, the average and the maximum time waited. The second table lists has similar information for the time spent holding the lock for each of the processes. test_check: stap -p4 bkl_stats.stp -test_installcheck: stap bkl_stats.stp -c "sleep 1" +test_installcheck: stap bkl_stats.stp -c "sleep 0.2" |