Commit Graph

987 Commits

Author SHA1 Message Date
067134b763 Manual merge from 0.4. 2011-07-21 20:45:22 +04:00
80df3b3500 Bug #811105: Add an option to dump full stats after specified time
intervals.

Added a new --report-checkpoints option that allows to dump full
statistics and reset all counters at specified points in time. The
argument is a list of comma-separated values representing the amount of
time in seconds elapsed from start of test when report checkpoint(s)
must be performed. Report checkpoints are off by   Report checkpoints
are off by default.
2011-07-21 17:29:08 +04:00
1d1073b829 Manual merge from 0.4. 2011-07-19 18:49:27 +04:00
3d52f3e5b5 Bug #797269: Print percentile statistics in --report-interval stats
--report-interval now also prints 95th and 99th percentile of
transactions response times.
2011-07-19 17:53:08 +04:00
4c13bec0d9 * fixed bug #797756 "sequential write test not working correctly"
* advancing position for sequential tests is actually a good idea
* replaced LOG_INFO with LOG_NOTICE for test setup messages to make them
  visible by default
2011-06-19 20:15:59 +04:00
fdbd9ff627 Automerge from 0.4. 2011-05-18 14:25:45 +04:00
3943f66125 Make the prepare stage in fileio honour --file-extra-flags. 2011-05-18 14:24:16 +04:00
a137ab3315 Fixed final fsync() events in sequential fileio tests. 2011-05-16 16:00:02 +04:00
be7ad800c5 Bug #778866: sysbench hangs with --test=fileio --file-test-mode=seqwr
Due to an incorrect merge from 0.4, some code paths in
file_get_seq_request() did not properly release the exec mutex before
returning. This led to deadlocks in sequential fileio tests.
2011-05-16 15:53:36 +04:00
a48a6b38c6 Merge from lp:~vadim-tk/sysbench/sysbench-db-scripts 2011-04-29 11:59:55 +04:00
f2e00b67a0 Merge from lp:~vadim-tk/sysbench/sysbench-stat-fix with minor modifications. 2011-04-28 22:22:05 +04:00
78dc382849 Include common.lua it not depended on path 2011-04-27 22:43:05 -07:00
ea8ebb13da - Rewrote db scripts to use db_query
- combined oltp_complex_ro and oltp_complex_rw into oltp.lua
- improved oltp.lua to understand most parameters from sysbench 0.4 oltp
2011-04-27 15:40:49 -07:00
d2788a00c6 Make statistics available in case we use db_query instead of db_execute in scripts 2011-04-27 09:30:11 -07:00
9a11bb64d6 Automerge from sysbench/0.4 2011-04-19 13:50:26 +04:00
ae40add564 Delay killing the --report-interval thread until the very end of
run_test() to avoid mutex lock leaks.
2011-04-19 13:29:19 +04:00
c0c141e866 Manual merge from 0.4. 2011-01-12 13:48:20 +03:00
c4bb8a246c In --report-interval mode, reads/second and writes/seconds are now displayed
in addition to tps.
2011-01-12 13:39:47 +03:00
87222b57f4 Initialize sb_lua_ctxt_key to avoid a warning when building with Sun Studio. 2010-12-24 16:46:33 +03:00
661757974f * Exported sb_rand_uniform(), sb_rand_gaussian() and sb_rand_special()
to Lua.

* Fixed sb_fileio.c broken by an incorrect merge from 0.4.
2010-12-23 09:48:32 +03:00
721dc0b23c Manual merge from 0.4. 2010-11-09 21:50:25 +03:00
2052190874 Automerge. 2010-11-09 20:00:02 +03:00
1984a294bf Automerge from 0.4 2010-11-09 18:02:51 +03:00
bf3e2c8c0b Fixed an example using an obsolete option in the manual 2010-11-09 18:02:10 +03:00
63f538eb35 Fix race condition. Global variables were begin accessed without a mutex locked. This caused
some fsync calls to use a bogus file descriptor, FATAL errors and early test failure.
2010-11-07 11:30:49 -08:00
eca9c2cc71 Manual merge from 0.4. 2010-11-06 17:30:53 +03:00
55389ac78f Fixed compiler warnings. 2010-11-06 17:10:38 +03:00
4655d17a6f Manual merge from 0.4. 2010-11-06 15:52:30 +03:00
ff225a7490 Fixed LP bug #671684: build broken in lp:sysbench/0.4
Backported autotools-related fixes from trunk.
2010-11-06 15:37:17 +03:00
a7877a00bd Automerge. 2010-11-06 11:03:52 +03:00
de21c2a060 Fixed docs for --report-interval to mention that statistics is
per-interval rather than cumulative.
2010-11-06 11:03:26 +03:00
c055685f24 Fix race condition. Global variables were begin accessed without a mutex locked. This caused
some fsync calls to use a bogus file descriptor, FATAL errors and early test failure.
2010-11-05 18:03:23 -07:00
b93fffdae3 Fixed an incorrect merge.
More compilation warnings fixed.
2010-11-01 12:37:19 +03:00
18307aca62 Manual merge from 0.4. 2010-11-01 12:01:02 +03:00
c33ec00456 Rewrote intermediate statistics feature contributed by Mikael Ronstrom.
Removed "batch mode", --report-interval should now be used instead.
Fixed compile warnings produced by gcc with -Wextra.
2010-11-01 11:35:41 +03:00
59f01faba9 Merge from Hakan (mp39548). 2010-10-29 18:05:42 +04:00
cea90cbc87 Review changes.
Prevent overlapping of range queries by partitioning the whole into num_threads segments
and then make each thread work with its own segment.
2010-10-29 04:15:54 +02:00
7fd5ff7d01 Added two new tests for MariaDB:
* select_random_points
* select_random_ranges

Both test are intended to benchmark MariaDB's key_cache_segmented feature.
2010-10-28 18:53:45 +02:00
e79d5655b2 Automerge. 2010-10-14 13:20:08 +04:00
d34258cf2d Fixed a typo in the manual. 2010-10-14 12:25:00 +04:00
5b65057d19 Manual merge from sysbench-0.4. 2010-10-07 01:20:17 +04:00
51f5dd4f5f Fixed Launchpad bug #654832.
Fixed a couple of build warnings in drv_pgsql.c.
2010-10-07 01:02:41 +04:00
1425aa3c95 Merged Tim Cook's patch adding transaction rate control. 2010-09-24 02:49:21 +04:00
6551ccf20d Automerge from sysbench-0.4. 2010-09-23 16:41:01 +04:00
f81f75d427 Removed auto-generated files from version control.
Created .bzrignore.
2010-09-23 16:37:15 +04:00
46a950f9f9 Added intermediate-result-timer, also fixed more proper timing to avoid thread variations to impact result too much 2010-09-22 11:14:13 +02:00
ce91c1adac Added transaction rate control option oltp test 2010-09-22 10:38:55 +02:00
e622d9a26a Manual merge from sysbench-0.4. 2010-04-26 11:33:28 +04:00
f8280bd124 Increased minimum thread stack size on Windows to 128K to avoid "Can't create TCP/IP socket (10106)" error on Windows 7. 2010-04-26 11:25:11 +04:00
5f5e126f95 Set the default value for --version to "off". 2010-04-06 20:21:36 +04:00