Commit Graph

1107 Commits

Author SHA1 Message Date
edb7e04fa3 Merge branch '1.0' 2017-10-25 14:39:38 +03:00
1d37b3a8b3 Add /usr/local/share/lua/5.1 to default LUA_PATH.
The path is the default LuaRocks global install root, so it is a
frequent request to have it in the default LUA_PATH in sysbench.
2017-10-25 14:35:53 +03:00
76eeace786 Build with -O3 instead of -O2 by default. 2017-09-29 23:53:07 +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
df0403a19c Merge branch '1.0' 2017-09-17 23:33:26 +03:00
f5fa7800cb A better version of the fix for #172. 2017-09-17 23:32:38 +03:00
de8c40f52d Merge branch '1.0' 2017-09-17 22:27:33 +03:00
cd13882cb6 Fix #172: sysbench 1.0.9 doesn't build with mariadb 10.2.8
Add a configure check for <server/mysql_version.h> which appears to be
the most portable way to fix MariaDB builds (see MDEV-13773).
2017-09-17 22:23:30 +03:00
e014288114 Merge branch '1.0' 2017-09-17 20:18:22 +03:00
d2a4e2f8e9 Add Fedora 26 AArch64 to buildpack.sh platform matrix. 2017-09-17 20:17:39 +03:00
9fd483f8ee Merge branch '1.0' 2017-09-16 11:34:12 +03:00
85320c71d9 Add Fedora 26 x86_64 to Travis CI build matrix. 2017-09-16 11:33:47 +03:00
055c438e94 Merge branch '1.0' 2017-09-16 10:40:45 +03:00
416a62b2db Add Fedora 26 x86_64 to buildpack.sh distro matrix. 2017-09-16 10:39:54 +03:00
77c7a9bf5c Switch to akopytov/packpack as the default Docker repo to fix Fedora 25 builds. 2017-09-16 10:19:33 +03:00
c01087138d Make sysbench.opt available to init()/done() by exporting it to global Lua state. 2017-09-15 20:48:27 +03:00
a880fc4bcc Make sysbench.opt available to init()/done() by exporting it to global Lua state. 2017-09-15 20:43:28 +03:00
816511dba4 Merge pull request #171 from akopytov/zipfian
Add Zipfian distribution.
2017-09-12 12:21:00 +03:00
6c2e47ecd6 Add Zipfian distribution.
Zipfian distribution is now available and can be controlled via
--rand-type=zipfian, --rand-zipfian-exp.
2017-09-12 10:18:14 +03:00
b16976cf2e Merge branch '1.0' 2017-09-12 10:13:40 +03:00
cd2b738022 Avoid PK conflicts in oltp_insert.lua by creating empty tables on 'prepare'. 2017-09-12 10:08:59 +03:00
cdfa0b6674 Merge branch '1.0' 2017-09-05 20:49:38 +03:00
78192201c9 Release 1.0.9. 2017-09-05 20:26:28 +03:00
505cd59e57 Silence "used before initialized" compiler warning in sysbench.c. 2017-09-04 20:59:21 +03:00
da8f4b96e2 Fix #169: a fileio bug
Fix async writes being reported as reads, which was a regression
introduced by commit e9b5f4b.
2017-08-30 09:33:31 +03:00
d58e3f6aed Adjust script_oltp_delete_*.t tests for 1.1. 2017-08-23 17:30:55 +03:00
8af8dbb76d Fix the opt_warmup_time test. 2017-08-23 17:20:30 +03:00
bc6ba90a41 Fix the --events limit to work correctly with --warmup-time. 2017-08-23 16:56:35 +03:00
bcebbb39ff Merge branch '1.0' 2017-08-23 16:20:14 +03:00
305be15ebc Fix #168: oltp_delete.lua uses DELETE + INSERT statements
Remove INSERT statements from oltp_delete.lua.
2017-08-23 16:14:14 +03:00
d724133c41 Merge branch '1.0' 2017-08-21 19:25:44 +03:00
9ca119c9c7 Add workaround for MySQL #87337 to build against 8.0.2. 2017-08-21 19:24:13 +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
dcde0d9390 Merge branch '1.0' 2017-07-19 10:06:10 +02:00
21c747a6e4 Fix #161: build failure on debian kfreebsd-i386: "cannot detect the
dynamic library suffix"

Do not be too strict about platforms when choosing the shared library
suffix. Assume ."dylib" for MacOS and ".so" for everything else, since
we there is no Windows support at the moment.
2017-07-19 09:53:44 +02:00
5b32eb516c Merge branch '1.0' 2017-07-13 15:33:35 +03:00
0c12758222 Fix building against MariaDB 10.2 (thanks to Xavier Bachelot). 2017-07-13 15:29:02 +03:00
76e1a07340 Release 1.0.8. 2017-07-05 00:16:52 +03:00
e8f290b064 Temporarily revert Debian Stretch builds support, as they fail in Travis. 2017-07-05 00:16:52 +03:00
ba3d7d868c Add i386 Debian Stretch builds to Travis CI matrix. 2017-07-05 00:16:52 +03:00
a395ac591d Add Debian Stretch to Travis CI matrix and buildpack.sh. 2017-07-05 00:16:52 +03:00
db621cd10a Print queue length and concurrency in the --rate mode.
This has been lost in refactoring beteen 0.5 and 1.0.
2017-07-05 00:16:52 +03:00
3ecc6b6762 Remove busy-wait in --rate mode to avoid CPU hogging.
In the bounded rate (--rate) mode, if the queue is empty, sleep for a
certain amount of time depending on the requested rate and the number of
worker threads instead of spinning on the queue.

Clean up some code duplication by removing sb_next_event().
2017-07-05 00:16:52 +03:00
69214e2d4b Release 1.0.8. 2017-07-04 21:55:46 +03:00
8e5ad1e380 Temporary revert Debian Stretch builfd support, as they fail in Travis. 2017-07-04 21:42:57 +03:00
c9ac5a7ace Add i386 Debian Stretch builds to Travis CI matrix. 2017-07-04 21:25:44 +03:00
1d1fe6ea61 Add Debian Stretch to Travis CI matrix and buildpack.sh. 2017-07-04 21:17:58 +03:00
722b24b389 Print queue length and concurrency in the --rate mode.
This has been lost in refactoring beteen 0.5 and 1.0.
2017-07-04 11:28:07 +03:00
01eed4db66 Remove busy-wait in --rate mode to avoid CPU hogging.
In the bounded rate (--rate) mode, if the queue is empty, sleep for a
certain amount of time depending on the requested rate and the number of
worker threads instead of spinning on the queue.

Clean up some code duplication by removing sb_next_event().
2017-07-04 11:27:16 +03:00