Commit Graph

987 Commits

Author SHA1 Message Date
7711a1f6ef Merge branch '1.0' 2017-04-06 11:24:34 +03:00
4762ca56de Fix 'make distcheck'. 2017-04-06 11:24:16 +03:00
3fc3985265 Merge branch '1.0' 2017-04-06 10:37:47 +03:00
e2cf43736a Debian-related packaging fixes. 2017-04-06 10:37:17 +03:00
84aac3f0df Merge branch '1.0' 2017-04-04 14:48:14 +03:00
5ec3df7695 Add libaio-dev to documented build dependencies. 2017-04-04 14:34:39 +03:00
926a36a6d0 Release 1.0.5. 2017-04-02 14:43:12 +03:00
4668ee2fd1 Merge branch '1.0' 2017-04-02 14:36:42 +03:00
b8945d5367 Merge akopytov/LuaJIT up to commit a0b15c7.
This is to cherry-pick the following commit from the Tarantool LuaJIT branch:

commit 0615898d294847677ce8c652f3a67956a48e0ee1
Author: Nick Zavaritsky <mejedi@gmail.com>
Date:   Thu Jul 28 14:24:58 2016 +0300

    Automatically try *.so if *.dylib is missing (osx).
2017-04-02 14:36:03 +03:00
1e20657eb4 Merge branch '1.0' 2017-04-02 11:44:34 +03:00
e60ea86b69 Fix api_basic.t. 2017-04-02 11:29:29 +03:00
480c34c33b Report errors thrown by the script properly with the 'sysbench modulename' syntax. 2017-04-02 10:42:01 +03:00
f55ceecc22 Merge branch '1.0' 2017-04-01 17:23:27 +03:00
3a217b2826 Fix broken Windows section formatting. 2017-04-01 17:22:41 +03:00
126cd10486 Improve formatting. 2017-04-01 17:21:55 +03:00
19f2dc73e2 Fix #114: building sysbench on Windows
Document the current Windows (non)support status and WSL as a
recommended way to build on Windows 10.
2017-04-01 17:17:04 +03:00
f70b68d8db Merge branch '1.0' 2017-04-01 17:01:08 +03:00
84bec5e223 Improved structure + shell decorates in build instructions. 2017-04-01 16:57:51 +03:00
e1cd610c0c Fix #102: Document build requirements
Document build requirements for Debian/Ubuntu, RedHat/CentOS and macOS.
2017-04-01 16:49:27 +03:00
17125bad89 Merge branch '1.0' 2017-03-31 13:56:22 +03:00
fb7e62db24 Allow benchmarks to be specified as a module name, i.e. a require() argument. 2017-03-31 13:52:55 +03:00
b165b838b5 Merge branch '1.0' 2017-03-29 23:35:55 +03:00
1fc8326c0d Prevent compiler from optimizing memory loads/stores in the memory benchmark. 2017-03-29 23:33:58 +03:00
0adddc2b83 Merge branch '1.0' 2017-03-29 21:07:40 +03:00
a0658f09ce Memory benchmark optimizations.
Optimize the memory benchmark:
- get rid of the global mutex to calculate statistics
- remove if() and switch() branches on critical code paths
- align memory blocks to OS page size
- use native machine word size instead of 'int'
2017-03-29 21:02:07 +03:00
f4278f38fa Merge branch '1.0' 2017-03-29 16:44:07 +03:00
d514625849 Override the default time limit in test_memory.t to improve stability. 2017-03-29 16:43:35 +03:00
0a42ae1a92 Merge branch '1.0' 2017-03-29 14:16:52 +03:00
7fcbf2e025 Fix system ConcurrencyKit builds on ARMv6.
The problem reported for i686 in #118 also affects ARMv6. Fixed by
allowing workarounds in sb_ck_pr.h to work on architectures other than
i686.
2017-03-29 14:14:19 +03:00
35811b9b89 Minor README.md fixes. 2017-03-29 08:37:18 +03:00
0245b32375 Fix opt_luajit_cmd.t. 2017-03-29 08:00:53 +03:00
b33e546fcf Add --luajit-cmd option which is equivalent to 'luajit -j'. 2017-03-29 00:21:45 +03:00
899f7be669 Fix typo. 2017-03-28 20:33:24 +03:00
8914ed1a18 Merge branch '1.0' 2017-03-17 11:58:54 +03:00
154335edf6 Rename sb_option_copy() to sb_opt_copy() for consistency with other functions. 2017-03-17 11:57:39 +03:00
03c7eb5c29 Fix #123: Table already exists error on prepare
When the deprecated --num-threads option was used in OLTP prepare, the
sysbench.opt.threads variable exported to Lua scripts contained the
default value of 1, even though the actual number of threads created by
sysbench was higher. Which led to unexpected fireworks.

Now the deprecated options override the correspond sysbench.opt.*
variables when used.
2017-03-17 11:53:04 +03:00
7f053087ff Merge branch '1.0' 2017-03-14 20:40:32 +03:00
7777ff5d85 Fix #121: make buildhost cpudetection optional
Don't fail with an error when --without-gcc-arch is specified, or CPU
autodetection fails.
2017-03-14 20:39:36 +03:00
5e4b86f20a Merge branch '1.0' 2017-03-13 15:23:46 +03:00
75ad51a2b1 Release 1.0.4. 2017-03-13 15:05:12 +03:00
2d2ad20cb9 Merge branch '1.0' 2017-03-13 14:40:34 +03:00
d2bc5d50f8 Fix warning in 32-bit builds. 2017-03-13 14:38:25 +03:00
05f2a8e87b Fix #118: Build fails on i686 when using system ck
Provide compatibility wrappers for system (i.e. distribution-provided)
ConcurrencyKit on i386. Unlike bundled ConcurrencyKit, older versions
that may be provided by distributions do not support CK_USE_CC_BUILTINS,
which makes implementing 64-bit atomics impossible on x86 (32-bit).

Detect if 64-bit atomics are not provided at compile stage and if so,
resort to GCC builtin implementations.
2017-03-13 14:38:19 +03:00
df9217e43a Do not auto-detect -march if already specified in CFLAGS by the user. 2017-03-13 12:07:26 +03:00
7cb522df26 Merge branch '1.0' 2017-03-12 12:03:42 +03:00
956d12996e Fix "PYTHONPATH: unbound variable" error in test_run.sh. 2017-03-12 12:03:21 +03:00
ce7770c626 Merge branch '1.0' 2017-03-12 10:46:59 +03:00
89ab44d50e Fix #119 (oltp_insert.lua + --auto-inc=0 fails)
Fix oltp_insert.lua when run with --auto-inc disabled. Add regression tests.
2017-03-12 10:45:03 +03:00
6c7c13913d Fix -Wformat warnings in sb_fileio.c. 2017-03-10 11:43:25 +03:00
6b83cb3af1 Fix bundled LuaJIT builds on 32-bit x86 where LJ_TARGET_JUMPRANGE is not defined. 2017-03-09 23:52:21 +03:00