Commit Graph

966 Commits

Author SHA1 Message Date
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
66a410b192 Fix db_connect() in legacy API to initialize db_driver properly.
Fixes #146.
2017-06-07 22:09:55 +03:00
b57453df60 Report events per second in the CPU benchmark. Ref. #140. 2017-06-07 21:49:46 +03:00
6356e2b45e Fix #139: Json format has trailing comma
Remove a superfluous comma from the JSON reporter.
2017-06-04 20:03:17 +03:00
3fd67c44c5 Add a testcase for the missing file error in fileio. 2017-05-31 21:27:04 +03:00
78024349bd sb_fileio.c: suggest to run prepare step
A recurring reason for errors is forgetting to run the prepare
step before running the file io test.

Write a warning line suggesting to run prepare.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2017-05-31 20:59:47 +03:00
f6bbdfa76f fix api_report test latency check 2017-05-27 13:42:08 +03:00
fd34a95595 fix typo in --rand-pareto-h description 2017-05-27 13:42:03 +03:00
e4a08be147 Release 1.0.7. 2017-05-15 17:09:33 +03:00
538521184a Compatibility fix for MySQL 8.0 client libraries.
The type of MYSQL_BIND::is_null has been changed from my_bool* to bool*
in MySQL 8.0. Since the size bool is not defined by the standard, we
either need to change the DB and Lua APIs to ensure is_null points to a
large enough buffer for MySQL API to store a bool, or do conversions
between sysbench and MySQL data structures. For now, just assert that
sizeof(bool) == 1, which is likely the case on all supported platforms.
2017-05-15 14:17:21 +03:00
d8add54b32 Exclude zesty from osx and clang combos in Travis build matrix. 2017-05-02 14:40:20 -07:00
a9a3a0508c Add Ubuntu Zesty to Travis build matrix. 2017-05-02 14:31:39 -07:00
3809f905e2 Fix a bug resulting in incorrect latencies reported from the --rate mode. 2017-05-01 21:44:49 -07:00
e472fb8aff Use sb_rand_uniform() instead of rand() in sb_mutex.c. 2017-04-28 17:16:06 -07:00
d15d273226 Fix #130: Mutex Benchmark Documentation
Fix --mutex-loops description to say it's the number of empty loops
outside the lock. Also, make the loops really empty by using a compiler
barrier instead of incrementing a local variable.
2017-04-28 17:08:54 -07:00
04f2cfabb9 Fix wording in README.md. 2017-04-28 08:49:11 -07:00
b12b377850 Add Ubuntu Zesty to the list of buildpack.sh architectures. 2017-04-27 11:17:43 -07:00
43d5ba2f35 Add TOC to README.md. 2017-04-21 13:40:35 +03:00
f9a5dcd6e1 Typo fix. 2017-04-17 21:26:34 +03:00
c2a8203949 Fix bogus dates in RPM spec changelog. 2017-04-13 23:47:00 +03:00
ac3b64bc34 Bump version to 1.0.6. 2017-04-13 23:38:56 +03:00
fbbfe13a63 Release 1.0.6. 2017-04-13 23:29:28 +03:00
393da8298f Updated Linux installation instructions. 2017-04-13 23:25:45 +03:00
28722a2edf Fix debian/changelog. 2017-04-13 23:04:50 +03:00
770463bdb4 Updated project description in README.md and packaging files. 2017-04-13 23:01:06 +03:00
d8f17708a6 Update Debian changelog. 2017-04-13 22:23:07 +03:00
1d24ae6cad Update RPM changelog. 2017-04-13 22:11:54 +03:00
62b081b57c Remove Ubuntu Precise from the list of aarch64 distributions. 2017-04-13 07:36:02 +03:00
09a48c8421 Use short version number for release builds in .travis.yml. 2017-04-13 00:20:50 +03:00
3b8da2be5e Set git depth to 100500. Ought to be enough for anybody. 2017-04-12 22:30:12 +03:00
f2a89fa492 Show the output of 'git describe' in Travis builds. 2017-04-12 21:58:45 +03:00
0c6517de1a Allow passing extra arguments to package_cloud via PACKAGECLOUD_EXTRA_ARGS. 2017-04-12 20:34:34 +03:00
49d02438aa Syntax fix in .travis.yml. 2017-04-12 20:21:41 +03:00
adf5c76296 Define changelog name and email for .deb packages. 2017-04-12 20:16:42 +03:00
e53e0f9fe9 Use short version numbers for release builds. 2017-04-12 20:16:29 +03:00
75b530c7fc Fix builds with MariaDB client libraries. 2017-04-12 19:34:30 +03:00
589f66f1ad Move code in .travis.yml to avoid ignoring packpack errors. 2017-04-12 19:31:47 +03:00
101543b1ce Fix syntax error. 2017-04-12 18:53:33 +03:00
c8e77d8e9e Default to ARCH=x86_64 for explicit OS/DIST specification. 2017-04-12 18:51:25 +03:00
8e976ca57d Set OS explicitly for 'packpack clean' as well. 2017-04-12 18:50:19 +03:00
88287d9138 Allow explicit OS/DIST specifications in buildpack.sh. 2017-04-12 18:49:04 +03:00
e9ab026a03 Replace "el" with "centos" for packpack.
Replace "el" with "centos" as the OS value for packpack, because there
is no "el-*" docker images for some architectures.
2017-04-12 15:50:30 +03:00
8c3e85dcee Fix non-empty ARCH builds in buildpack.sh. 2017-04-12 15:11:16 +03:00
4b6a6764fa Add buildpack.sh to force package build/upload without Travis. 2017-04-12 14:40:57 +03:00
6ad3f09a07 Fix builds with MySQL 8.0.1 client libraries.
my_bool has been replaced with bool in MySQL 8.0.1.
2017-04-12 00:24:34 +03:00
3348e8dfa3 Remove unused gresults variable from drv_mysql.c. 2017-04-12 00:21:46 +03:00
14ee3375f1 Avoid name conflicts for non-x86_64 architectures when deploying to packagecloud. 2017-04-10 08:46:24 +03:00
1a73781a16 Force --platform=i587 for bundled CK for i486 and i586 targets. 2017-04-10 07:03:55 +03:00
94e48982c8 Force --platform=i686 for bundled CK to avoid its own autodetection. 2017-04-09 23:44:38 +03:00
a0374d46e0 Add libpq-dev to Debian/Ubuntu build dependencies. 2017-04-09 22:37:38 +03:00