36 Commits

Author SHA1 Message Date
449b70a5b6 Merge branch '1.0' 2018-05-03 19:14:50 +03:00
e633f9c744 Fix GH-229: "--file-fsync-freq=0" seems to prevent fsync() at end of test
Ensure fsync() is called at the end of a fileio benchmark regardless of
--events, --time and --file-fsync-freq values.
2018-05-03 18:41:24 +03:00
651e7fd014 Merge branch '1.0' 2018-02-17 20:38:39 +03:00
4166834248 tests: improve test_fileio.t stability. 2018-02-17 20:37:24 +03:00
831e20a036 Merge branch '1.0' 2018-02-17 19:52:36 +03:00
7263769245 tests: add --validate test to test_fileio.t 2018-02-17 19:42:22 +03:00
a0a26947d6 Merge branch '1.0' 2018-02-04 00:07:30 +03:00
d000761b9c --file-extra-flags now accepts a list of flags rather than a single value 2018-02-03 19:19:12 +03:00
0e79f2033c Merge branch '1.0' 2017-12-23 15:53:28 +03:00
fd343c027e Fix test comment. 2017-12-23 15:53:09 +03:00
ea44344870 Merge branch '1.0' 2017-12-23 14:34:58 +03:00
6e979f5aef GH-198: Tolerate misaligned test_files.
Adjust I/O request size if it crosses file size boundaries. Which may
happen if the specified file size is not a multiple of block size.
2017-12-23 14:07:29 +03:00
f4c0a61fac Merge branch '1.0' 2017-12-23 13:32:32 +03:00
f9d79aefe5 Addendum to patch for GH-196: skip file size validation on seqwr tests. 2017-12-23 13:26:53 +03:00
61db85058e Merge branch '1.0' 2017-12-17 13:37:02 +03:00
b9c6b3a2df Fix GH-196: fileio: validate file sizes on startup
In the fileio test, throw a descriptive error on startup if a test file
size is lower than expected.
2017-12-17 13:07:20 +03:00
07b1146b15 Fix #173: Commit feb0346 removed latency sum from reporting
Add latency sum back to reports.
2017-09-19 08:48:27 +03:00
feb0346fc3 Various cleanups and improvements in benchmark reports. 2017-09-18 23:14:01 +03:00
e9b5f4b71e Fix #167: warmup maybe problem
Fix the --warmup-time option for the fileio test by replacing internal
counters in sb_fileio.c with sb_counters_t / sb_stat_t API used in other
benchmarks. As a result, checkpoints (and --warmup-time) now reset
fileio counters properly.
2017-08-21 18:53:01 +03:00
3fd67c44c5 Add a testcase for the missing file error in fileio. 2017-05-31 21:27:04 +03:00
788fcbb30b Rename --max-requests to --events, --max-time to --time.
Print warnings if old names are used, but accept them for compatibility.
2017-02-01 17:20:22 +03:00
04b4f756d9 Refactor stats reporting to make custom reports possible. 2017-01-29 19:32:14 +03:00
45e219d038 Change the command line syntax: remove the --test option. 2017-01-25 00:02:59 +03:00
d5b661a019 Implement --histogram option.
When --histogram is used, print latency histogram as a part of the
benchmark report. For now, the histogram is actually a text
representation of an internal data structure used by sysbench to
calculate latency percentile.
2016-12-30 20:42:35 +03:00
837b2b6a3e Adjust test_fileio.t to pass on slow machines. 2016-12-23 18:22:34 +08:00
ec2274bf2f Merge branch 'luajit' into concurrency_kit 2016-12-23 17:18:20 +08:00
482136beb5 Lua implementation of the main event loop.
For Lua scripts the main event loop is now implemented in Lua
itself. This is a prerequisite for leveraging LuaJIT optimizations.
2016-12-12 22:48:11 +03:00
f9764f1445 Fixes #54: Reduce overhead from percentile stats
Rewrite percentile calculation to scale on modern hardware. Rename the
underlying data structure from sb_percentile to sb_histogram.
2016-12-05 11:18:40 +03:00
3660c3655b Fix tests for the luajit branch. 2016-10-09 19:33:51 +02:00
93e54ad754 Merge branch '0.5' into 1.0 2016-09-11 16:11:03 +03:00
1cfcacf84f Basic regression tests for cpu, memory, threads and mutex benchmarks. 2016-09-11 14:37:35 +03:00
66248a94e0 Adjust test_fileio.t changes to 1.0. 2016-09-07 21:23:36 +03:00
3f5efdd661 Merge branch '0.5' (early part) into 1.0 2016-09-07 20:36:28 +03:00
e766de86a8 More fileio regression tests. 2016-09-07 20:09:47 +03:00
fb3c2491b5 Merge branch '0.5' into 1.0 2016-09-07 11:46:53 +03:00
7418441572 Move tests into a separate subdirectory.
Move regression tests into a separate subdirectory. Update README in
tests and covert it from org-mode to markdown. Also add 'make distcheck'
to Travis CI testing.
2016-09-07 10:37:15 +03:00