401c5a43aa
Merge pull request #93 from fukai-t/fix_memory_test_rnd_mode
...
Fix increment of a loop counter for the random mode of the memory test.
2016-12-15 21:10:59 +04:00
67428d3cea
Fix increment of a loop counter for the random mode of the memory test.
2016-12-16 01:52:10 +09: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
dc8f6dcf57
Pass global CC, CFLAGS and LDFLAGS to ConcurrencyKit build system.
...
This allows higher optimization levels in optimized builds and
gcov-enabled CK libraries in --enable-coverage builds.
2016-12-12 17:30:21 +03:00
b9f660f99b
Add concurrency_kit build directories to .gitignore.
2016-12-12 16:01:09 +03:00
7ba50048a8
Fix AC_SUBST() usage for USE_MYSQL.
2016-12-12 16:01:07 +03:00
4dc366e950
Add LuaJIT build/install directories to .gitignore.
2016-12-09 22:19:37 +03:00
c36861f5ad
Add PostgreSQL tests for select_random_*.lua
2016-12-08 22:31:30 +03:00
bee2ed3c00
Rafactor select_random_* benchmarks,
...
Refactor select_random_*.lua to reuse code from common.lua. Add basic
regression tests.
2016-12-08 22:04:55 +03:00
b5a759fd76
Merge pull request #91 from robins/redshift4
...
select_random_xx should honour oltp_secondary_create
2016-12-08 19:20:32 +04:00
d45e97f6d4
Merge pull request #92 from robins/redshift5
...
Add AWS Redshift support for sysbench
2016-12-08 19:17:43 +04:00
68fda7fbd1
Merge from https://github.com/akopytov/ck
...
Merge AArch64 LSE support from ConcurrencyKit up to commit 5f1be5d.
2016-12-08 10:48:48 +03:00
aead4b99bd
Minor change to ensure all existing tests pass after previous commit
2016-12-05 12:23:46 +00:00
396698aadf
Adding --pgsql-variant=redshift argument targets a Redshift DB
2016-12-05 10:56:17 +00:00
025d2b319c
Split cmd_version.t into cmd_version.t and opt_version.t.
2016-12-05 13:28:22 +03:00
18b7e914a6
Various test-related fixes.
...
1. Fix drivers.t so it passes when no DB drivers are available.
2. Make it possible for the test suite to detect if certain DB drivers
are available, so individual tests that require them can be skipped.
2016-12-05 13:25:39 +03:00
352788cc13
select_random_xx should honour oltp_secondary_create, just like other tests
2016-12-05 10:23:39 +00:00
70a1c04592
Addendum to commit b450bf0.
2016-12-05 12:45:58 +03:00
b450bf0fd6
Fix script_oltp_* tests to take new version format into account.
2016-12-05 12:31:26 +03:00
aade88ed5e
Merge branch '1.0' into concurrency_kit
2016-12-05 12:22:21 +03:00
b71a0c675e
Merge from ConcurrencyKit upstream up to commit 566bb28.
2016-12-05 11:18:46 +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
8f92e21197
Merge pull request #87 from robins/pgsql_bulk_insert
...
Enable Bulk Insert test for Postgres
2016-12-05 12:08:22 +04:00
530ab84b51
Merge pull request #86 from robins/pgsql_multi_select_range
...
Corrected minor typo that was causing pgsql to fail on select_random_xx tests
2016-12-05 11:07:22 +04:00
596a2079ec
Bulk Insert works for postgres. Unlike MySQL, PostgreSQL doesn't take UNSIGNED integers. We could move this to BIGINT as well, but since this is a performance benchmark and since not many would reach the 2Billion mark, think we should be okay with INTEGER for now
2016-12-03 21:43:59 +00:00
4b1eda6b58
Revert "pgsql mode now works with Redshift server. Its working, but need to eventually split this to another Redshift section (because obviously this doesn't work with PGSQL any more)"
...
This reverts commit 23689175eb63f14c7b2e383f8adfad9ad6b4840f.
2016-12-03 21:02:17 +00:00
050fdd7f51
Merge branch '1.0' of github.com:robins/sysbench into 1.0
2016-12-03 21:01:56 +00:00
5b71151da2
Missing braces around an OR. The test (select_random_range) now works for pgsql
2016-12-03 13:24:57 +00:00
d0a85f999f
Missing braces around an OR. The test (select_random_points) now works for pgsql
2016-12-03 13:22:05 +00:00
6ed28e2158
Attempt #4 to fix MacOS builds in Travis CI.
2016-12-03 12:13:27 +03:00
4b0a44c678
Fix obscure error with intermediate reports in tests that don't support them.
...
If a test did not support intermediate reports (i.e. --report-interval
or --report-checkpoints), there was a confusing (but benign) error at
the end of the test: "Terminating the reporting thread failed".
2016-12-02 22:06:47 +03:00
dd9df28ab3
Release memory allocated by command line options on exit.
2016-12-02 19:15:15 +03:00
d49c854e52
Suppress "zero-length gnu_printf format string" warnings from GCC.
2016-12-02 18:34:20 +03:00
90c34e711d
Attempt #3 to fix MacOS builds in Travis CI.
2016-11-30 19:51:18 +03:00
d7d7a68ff0
Attempt #2 to fix MacOS builds in Travis CI.
2016-11-30 17:21:51 +03:00
c39db7fe5e
Attempt to fix MacOS builds in Travis CI.
2016-11-30 15:52:46 +03:00
8ff0cc14e4
Fix help_drv_mysql.t after adding --mysql-ssl-cipher.
2016-11-29 22:04:11 +03:00
be71466faf
Minor fixes to contributed SSL-related changes in drv_mysql.c.
2016-11-29 21:55:01 +03:00
15d0969d18
MySQL/SSL changes:
...
- added MYSQL_OPT_SSL_MODE option that's required now to enable/disable SSL
- added mysql-ssl-cipher option to specify ssl-cipher
2016-11-29 21:55:01 +03:00
2583abbae8
Decrease percentile granularity and value range to reduce memory consumption.
2016-11-27 18:32:39 +03:00
c8845d0e20
Fix check for sb_globals.percentile_rank in sb_percentile_calculate().
2016-11-27 18:01:08 +03:00
23689175eb
pgsql mode now works with Redshift server. Its working, but need to eventually split this to another Redshift section (because obviously this doesn't work with PGSQL any more)
2016-11-23 07:32:59 +00:00
7085367623
Merge pull request #77 from manzur/1.0
...
error out when negative values are passed as parameters
2016-10-26 23:36:37 +04:00
74488e4c11
error out when negative values are passed as num_threads
and num_files
...
Those parameters are not meant to be negative:
* passing `num_threads=1` crashes with "Memory allocation failure."
* while `num_files=-1` is interpreted as unsigned int making it create
lots(2^31-1) of files
2016-10-26 21:09:10 +02:00
e43059d69d
Use glob patterns to hide version-specific COLLATE clauses in script_oltp_mysql.t.
2016-10-23 11:53:48 +03:00
c3aa671364
Fix tests to pass on Travis CI with different MySQL and PostgreSQL server version.
2016-10-23 11:26:01 +03:00
50645177bf
Use DROP TABLE IF EXISTS on cleanup.
2016-10-23 11:23:36 +03:00
0a6bc8a9ed
Add tests for --oltp-create-secondary.
2016-10-22 21:30:24 +03:00
be5ce00ad7
Don't default to the first available driver when an invalid name was specified.
2016-10-22 21:12:07 +03:00
69120c87ff
Rename command-specific tests to cmd_* for clarity.
2016-10-22 19:51:18 +03:00