Commit Graph

437 Commits

Author SHA1 Message Date
Keith Bostic
937accd07d Merge branch 'develop' into zlib-fixes 2014-02-02 10:00:50 -05:00
Keith Bostic
1b15ccbaa7 typo... 2014-02-01 08:59:34 -05:00
Keith Bostic
0af2e2f39f Make it easier to configure Helium compression in test/format, if
any compression style is configured, turn on Helium compression.
Yeah, it's lazy, but that's how I roll.
2014-02-01 08:59:34 -05:00
Keith Bostic
908671fc2f Remove the automake shared library magic around loading the bzip2 compressor
in raw-test mode, it's a lot simpler to load two compressors, the normal one
and a raw-test version.
2014-01-31 12:38:14 -05:00
Keith Bostic
51b6c7b2df Zlib compression does "raw" compression in all cases, rename the "raw"
configuration to bzip-raw.

Leave bzip raw in place, it deliberately tries to hit some of the edge
cases around raw compression, which can't hurt.
2014-01-31 12:11:04 -05:00
Keith Bostic
5d55b85727 Add compression support for Helium devices (the Helium HE_I_COMPRESS
flag).
2014-01-24 10:10:17 -05:00
Michael Cahill
6844c40e5d Add support for zlib compression 2014-01-23 10:41:29 +11:00
Keith Bostic
be8e8e1657 Add a place for a final sanity check, make sure that value min/max and
key min/max aren't misconfigured (if you set {key,value}_min, but not
the corresponding max value, you could end up with impossible key/value
sizes.
2014-01-22 14:16:54 -05:00
Keith Bostic
3dd702e424 Cleanup pass over test/format kvs/memrata -> helium name changes.
Change Helium code to return success for WT_SESSION.verify rather
than not-supported, applications might reasonable mix-and-match
source types, and verify shouldn't fail.
2014-01-20 09:56:44 -05:00
Keith Bostic
e868998e1a move ext/test/helium to ext/datasources/helium, we're shipping Helium
support for the forseeable future.
2014-01-20 09:44:22 -05:00
Keith Bostic
e535469961 Merge branch 'develop' into helium 2014-01-20 09:03:38 -05:00
Keith Bostic
ac08cd24e8 Add -H to the usage output. 2014-01-18 14:43:31 -05:00
Keith Bostic
51dd5375de Add the "-H helium_mount" command-line option instead of hard-wiring the
Helium volume mount point.
2014-01-18 14:40:45 -05:00
Keith Bostic
64671fb30b Remove helium_env_{read,write}_cache_size settings, they were just there
for testing.
2014-01-18 11:09:29 -05:00
Keith Bostic
7cc25a0644 Fix up the quoting for the Helium devices. 2014-01-18 11:06:39 -05:00
Keith Bostic
f55804b2d4 test/format runs, now.
Remove the Memrata support, add Helium documentation, remaining cleanups.
2014-01-18 11:01:20 -05:00
Keith Bostic
0e351b44ce Turn off verbose messages for now. 2014-01-17 18:12:12 -05:00
Keith Bostic
4760aac2b2 Add a mmap configuration to test/format, run with mmap 90% of the time. 2014-01-16 14:42:15 -05:00
Keith Bostic
d7e7e50a15 More verbose messages, make it possible to configure verbosity at run-time. 2014-01-15 13:10:08 -05:00
Keith Bostic
6063b1cc0e First version of the Levyx/Helium code, derived from the Memrata code.
It doesn't run yet, but it compiles and limps to a core dump.
2014-01-15 11:46:07 -05:00
Michael Cahill
37fdf4b34c Include LSM in random test/format runs. 2014-01-14 15:06:07 +11:00
Keith Bostic
fe644a307a Merge branch 'develop' into helium
Conflicts:
	test/format/bdb.c
2014-01-13 06:56:00 -05:00
Keith Bostic
6792b1aadd Update to match new configuration option, --with-berkeleydb=DIR 2014-01-13 06:26:55 -05:00
Michael Cahill
3620321041 Maintain compatibility with older versions of BDB.
refs #841
2014-01-13 11:24:08 +11:00
Keith Bostic
6d8c107e86 Move to autoconf 1.14; subdir-objects means we have to copy the compression
file and build it locally, we're already building the standard version of it
in the source location.
2014-01-11 15:36:24 -05:00
Keith Bostic
e663539544 The BerkeleyDB 6.0 btree comparison function takes an additional argument,
a size_t reference, currently unused.
2014-01-11 15:24:24 -05:00
Keith Bostic
0841e6f19d Berkeley DB 6.X's application-comparison function takes a size_t reference
as an additional, 4th argument.
2014-01-10 12:12:30 -05:00
Keith Bostic
5b509b7220 Update copyright notices for 2014.
Move lang/java and lang/python into the public domain.
2014-01-07 10:30:12 -05:00
Keith Bostic
9aa469e13e Better/fixed support for huge keys/values.
Change the WT_ITEM::size field from type uint32_t to size_t.

Change test/format configuration to support large key/value items.

Ref: #808 and #70.
2013-12-16 12:55:50 -05:00
Keith Bostic
0d50ab3161 Turn on salvage, hot backup verify and verify for LSM data sources
(leave LSM off by default, though), check for EBUSY returns instead.
2013-12-12 09:07:40 -05:00
Michael Cahill
8a9328bed4 In test/format, have bloom_oldest imply bloom=1 to avoid an error in WT_SESSION::create. 2013-12-11 10:11:43 +11:00
Michael Cahill
41102ae2a8 Make LSM chunk size configurable in test/format. 2013-12-10 16:45:01 +11:00
Michael Cahill
0a03ffc55f Fix a long-standing test/format bug that meant values repeated *way* more often than configured. This showed up because repeating overflow items with large pages result in pathological (quadratic) performance degradation. 2013-12-10 16:40:06 +11:00
Alex Gorrod
cd69b49520 Update test/format to include LSM configuration options. 2013-12-09 19:02:06 +11:00
Keith Bostic
6c9d61f771 Allow replay of threaded runs. 2013-12-07 10:48:52 -05:00
Keith Bostic
797a6a2d5c Get rid of CONFIG.example, it's never correct, futz with the config
error output a little to make it more readable.
2013-12-07 09:29:26 -05:00
Keith Bostic
2c744f2842 Replace an explicit (void)arg with WT_UNUSED. 2013-12-06 19:02:37 -05:00
Keith Bostic
0b4e171313 Add a small hack so the "make check" ignores any local CONFIG file. 2013-12-06 17:00:52 -05:00
Keith Bostic
825310eef0 the maximum value may be -1 when cast to an (int), do the cast in the
other direction after first making sure the supplied value is positive.
2013-12-06 15:12:50 -05:00
Keith Bostic
add06757e6 Add a bunch of the newer LSM configuration options, but leave turned off
for now.
2013-12-06 14:58:11 -05:00
Keith Bostic
8f92bf34be shorten the line so we don't overflow when the numbers get large. 2013-12-06 14:57:56 -05:00
Keith Bostic
f4efe847b8 Make bloom_oldest configurable for LSM runs. 2013-12-06 14:18:44 -05:00
Keith Bostic
18328ef44a Make the case statement consistent with other use in this program. 2013-12-06 14:15:19 -05:00
Keith Bostic
decb4d8437 Make the random number config use consistent, 1-to-X everywhere instead of
0-to-(X-1) in a few places.
2013-12-06 14:11:06 -05:00
Keith Bostic
6b33f719e0 Add configuration support for categories of checksums (10% on, 10% off,
80% uncompressed, by default).

Only run single-threaded 10% of the time (previously, 25%).
2013-12-06 14:02:19 -05:00
Keith Bostic
bdb57e3df6 Add support for a -h home argument so can easily run in a target directory. 2013-12-06 11:54:43 -05:00
Keith Bostic
1d090cf5c4 Always seed the random number generator, otherwise the first time format
runs is always the same run (and if you wrap runs in a loop, you get the
same run over and over).
2013-12-05 09:51:37 -05:00
Keith Bostic
256af27d57 Add a compaction option, set compaction 10% of the time.
Switch first-fit allocation set from 20% to 10% of the time.
2013-12-05 09:26:59 -05:00
Alex Gorrod
79f6384814 Move LSM configuration options to be a group in WT_SESSION->create API.
Options used to be lsm_xxx are now lsm=(xxx,xxx,xxx)
2013-12-03 17:52:03 +11:00
Keith Bostic
23febd77a4 Merge branch 'develop' into wtperf-745 2013-11-25 10:11:31 -05:00