Commit Graph

1114 Commits

Author SHA1 Message Date
6d8338411a Temporarily reverted the fix for #1029088 as it appears to be
incompatible with ancient autotools.
2012-08-30 21:59:06 +04:00
7de9f0bcf7 Bug #1029088: Error compiling on FreeBSD
The problem was in a hard-coded library (-ldl) being added to LIBADD.

Fixed by using the appropriate Libtool/Autoconf macros to check if using
-ldl is necessary.
2012-08-30 13:28:18 +04:00
72711e1207 Automerge from 0.4. 2012-08-30 12:47:49 +04:00
cbed8d8942 Bug #1042442: Automake fails
Merged configure fix for newer Automake versions contributed by
Raghavendra D Prabhu.
2012-08-30 12:46:49 +04:00
8c722c6217 Bug #1043687: Segfault with --debug=on and DB tests
The problem was a typo in a variable name resulting in usage of
uninitialized data structures.
2012-08-30 12:43:42 +04:00
075d5a5319 Bug #1043629: Segfault with tx-rate option
The problem was a stack overflow in the event generation thread due to a
large array allocated on stack.

Fixed by changing the array to a global static variable.
2012-08-30 12:37:09 +04:00
35f42e0b0f Fixed a typo in the previous revision resulting in the "uninitialized
timer queried" fatal error.
2012-03-25 10:10:32 +04:00
f6daa31d15 Fixed a spurious "timer was never started" warning. 2012-03-23 18:25:09 +04:00
fcff2d2386 Fixed a crash at the end of the test when tx-rate is not used. 2012-03-21 12:20:02 +04:00
a169dceb11 Merge trunk. 2012-03-18 18:36:41 -04:00
bdb0f791db Merged and fixed lp:~vadim-tk/sysbench/inj-rate 2012-03-18 18:35:16 -04:00
0e9cad445e Automerge from 0.4 2012-03-10 23:49:42 -08:00
516ae92c46 Update fileio stats in async mode when completing requests rather than
submitting them.
2012-03-10 23:47:56 -08:00
428af92df5 Show 3 digits after dot in fileio response time intermediate stats. 2012-03-10 08:27:21 -08:00
e68630b19e Bug #924585: configure fails on Ubuntu 11.10
Fixed a problem with pthread_once() not being detected by configure on
modern distributions.
2012-02-01 10:12:10 +04:00
a6ce3e9904 Merged lp:~vadim-tk/sysbench/oltp_skip_trx 2011-12-02 09:25:07 +04:00
f31ed32f2c Added oltp_skip_trx option, similar to one in sysbench 0.4 2011-12-01 11:43:29 -08:00
375016c245 Merged PostgreSQL fixes from Samuel J. Greear 2011-11-01 08:47:31 +01:00
051946c9ce Make things play nice with PostgreSQL, tested with 9.1.1 and 9.2 2011-11-01 00:00:27 -06:00
84e7416789 Manual merge from 0.4. 2011-09-30 22:47:19 +04:00
82c96ff62d Bug #863564: Make fileio prepare reuse existing files
Changed the fileio prepare command so that any existing files left from
the previous runs are now reused rather than recreated from
scratch. This is is mostly useful for SSD drives, but may speed up the
prepare stage for regular drives too.
2011-09-30 22:40:56 +04:00
e0fc9ecd8c Automerge from 0.4. 2011-09-30 16:25:49 +04:00
93c2cd6113 Bug #863159: Provide percentile response time stats for intermediate
report in fileio test

Added response time percentile to intermediate reports in fileio.
2011-09-30 16:17:42 +04:00
8d6529c74f Fixed compilation on Windows (patch contributed by Vladislav Vaintroub). 2011-09-26 17:54:56 +04:00
6f3592ec28 Fixed compilation on Windows (patch contributed by Vladislav Vaintroub). 2011-09-26 17:48:33 +04:00
086efdf4b3 Manual merge from 0.4 2011-07-21 21:02:14 +04:00
5020eea644 Make --report-interval stats use the --percentile value rather than
hardcoded ones.
2011-07-21 20:59:45 +04:00
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