ad2b1bf1e7
Merge branch '1.0'
2018-12-16 17:27:36 +03:00
b017a998ef
Fix GH-282: Mysql's fetch_row() is broken
...
Fix both MySQL and PostgreSQL drivers to return an error when
fetch_row() is called after retrieving all rows in the result set.
2018-12-16 17:21:39 +03:00
44db9bae33
Fix a merge error.
2018-12-11 23:32:42 +03:00
a245b2f531
OLTP scripts: add --reconnect option.
...
oltp_*.lua scripts now support the --reconnect=N option. When specified,
sysbench will reconnect after every N events.
Fixes GH-90.
2018-12-11 23:22:56 +03:00
8c8122080c
Merge branch '1.0'
2018-12-11 23:22:32 +03:00
bb8c3b04c5
--rate mode: fix latency stats skew on low rates
...
Worker threads used sleep() in the bounded rate mode to avoid CPU
hogging when polling on the event queue. The problem was that sleep()
calls increased time spent by events in the queue, which is counted
towards event latency to avoid the coordinated omission problem. The
lower the rate, the bigger impact on latency was observed.
The fix is replacing sleep()s with a condition variable which is now
used to put worker into an idle wait when the queue is empty. The event
generation thread now uses pthread_cond_signal() after each generated
event to wake up an idle worker thread. Which somewhat increases
sysbench CPU consumption, especially for high rates.
2018-12-10 21:05:38 +03:00
5cd1244ecc
Merge branch '1.0'
2018-10-23 14:57:36 +03:00
49f17576f2
Add /usr/share/lua/5.1 to LUA_PATH and /usr/lib/lua/5.1 to LUA_CPATH.
...
Those are the paths used by Luarocks on CentOS by default.
2018-10-23 14:56:40 +03:00
b04e5fd8c5
memory benchmark: code cleanups and optimizations.
...
Get rid of TLS variables in sb_memory.c, because their implementation
varies across platforms and their usage is an overkill for this
benchmark. Instead just use preallocated arrays with per-thread buffers/counters.
2018-10-05 19:12:07 +03:00
c63dbedae0
sb_memory.c: use configurable random function
...
The --rand-type described in man pages don't really work for
sysbench memory tests. So enable this powerful feature.
Tested with
sysbench memory --memory-access-mode=rnd --rand-type=pareto run
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com >
2018-10-05 15:39:32 +03:00
431660d65a
Add -Wvla to default compiler flags.
2018-08-30 06:28:21 +03:00
f5650f4ad5
Merge LuaJIT PPC64 port.
...
PPC64/LuaJIT commit 401cfb, akopytov/LuaJIT commit 5b83fa8.
2018-08-30 06:28:21 +03:00
b76c55aaa8
build/CI/packaging: remove Ubuntu Artful (EOL).
2018-08-30 06:28:21 +03:00
62693649e9
Add -Wvla to default compiler flags.
2018-08-30 06:25:31 +03:00
27dcd0e133
build/CI/packaging: remove Ubuntu Artful (EOL).
2018-08-02 22:21:08 +02:00
e6e6a02914
Merge pull request #257 from delimitry/patch-1
...
Fix rand-zipfian-exp default value
2018-08-01 19:31:53 +03:00
b1257258cd
Fix rand-zipfian-exp default value
2018-08-01 19:25:31 +03:00
7c366c6043
tests: fix script_oltp_general_mysql.t again.
2018-07-17 00:29:51 +03:00
90b7f067f5
tests: portability fix for script_oltp_general_mysql.t.
2018-07-17 00:19:24 +03:00
0aba8f60da
Fix GH-250: mysql_table_options is not supported in oltp tests
...
OLTP scripts now support --create-table-options, which can be used to
pass extra SQL to CREATE TABLE statements executed on 'prepare'.
Ref. GH-252.
2018-07-17 00:05:48 +03:00
a4938af70e
Merge branch '1.0'
2018-07-09 10:11:01 +03:00
82cdae5b0b
Fix debian/changelog again.
2018-07-09 09:57:03 +03:00
1772da9fb6
Fix a comment typo in buildpack.sh.
2018-07-09 09:44:41 +03:00
89eb487bd5
Fix debian/changelog entry.
2018-07-09 09:24:48 +03:00
f68ac89885
Fix buildpack.sh to not push multiple file types to packagecloud.
...
Latest package_cloud versions disallow pushing multiple file types with
a single command. So just push all packages one by one.
2018-07-09 09:19:23 +03:00
69d269a737
packaging: add libaio-dev to Debian/Ubuntu build dependencies.
2018-07-09 09:04:56 +03:00
0f3cc25ca5
Fix package_cloud availability detection in buildpack.sh.
2018-07-09 08:20:58 +03:00
4b3cd3ed90
Merge branch '1.0'
2018-07-04 17:34:16 +03:00
ec27fc0f4e
Release 1.0.15.
2018-07-03 22:49:50 +03:00
225edae5db
Add OpenSSL development libs to instructions on building from source.
2018-07-03 22:37:53 +03:00
50966c85ce
Merge branch '1.0'
2018-06-26 21:35:39 +03:00
d811d200d9
Add Fedora 28 to CI/build/packaging matrices.
2018-06-26 20:49:41 +03:00
cb0d002750
Remove Fedora 26 from CI/build/packaging matrices (EOL).
2018-06-26 20:18:37 +03:00
352e0138eb
Remove Debian Wheezy From CI/build/packaging matrices (EOL).
2018-06-26 20:15:30 +03:00
aa52c53001
Update copyright year in sysbench.cmdline.lua.
2018-05-11 22:24:41 +03:00
d805300846
Fix GH-223: test failure on ppc64
...
Make sysbench.cmdline.print_test_options() output deterministic by
sorting option names when parsing.
2018-05-11 22:22:33 +03:00
2e6b7d56a6
Merge branch '1.0'
2018-05-03 20:42:10 +03:00
2368f4d653
Add Ubuntu Bionic to CI/build/packaging matrices.
2018-05-03 20:25:09 +03:00
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
4412a54e82
Fix 'make distcheck' broken by the previous commit.
2018-04-21 15:26:24 +03:00
3a5475b53e
Remove Windows support which was broken in 1.0.
2018-04-21 15:19:36 +03:00
565e93cf37
Update copyright years.
2018-04-21 08:14:20 +03:00
8ded1d9f10
Remove unsupported Oracle, Drizzle and AttachSQL drivers from the source tree.
2018-04-21 08:08:48 +03:00
9ef42e269f
Remove deprecated options.
...
--tx-rate, --max-requests, --max-time and --num-threads are no longer
supported. --rate, --events, --time and --threads should be used
instead.
2018-04-20 18:20:29 +03:00
ecf119106b
Merge branch '1.0'
2018-04-16 13:23:27 +03:00
061ba339fc
Update copyright year in sb_options.c.
2018-04-16 13:22:46 +03:00
6d5ce80c24
Merge branch '1.0'
2018-04-15 20:28:14 +03:00
d232e6f228
Add section about semantic versioning to README.md.
2018-04-15 20:24:46 +03:00
3a06fdc87b
Merge branch '1.0'
2018-04-12 22:14:44 +03:00