Commit graph

  • f7219dcaec WIP: Fix minor C89 issue Gregory Burd 2013-04-06 11:14:23 -0400
  • b4f82a388d WIP-- Compiling, not yet tested/functional -- WIP Gregory Burd 2013-04-06 11:05:41 -0400
  • 19268b7c77 WIP-- Not Yet Compiling or Functional -- WIP Gregory Burd 2013-04-05 18:09:54 -0400
  • 163a5073cb An updated Emacs cmode leads to all sorts of whitespace fixes intermixed with some merge changes. Gregory Burd 2013-04-02 09:42:07 -0400
  • 9c379a21dd Ignore a bit more. Gregory Burd 2013-04-02 09:39:05 -0400
  • 254891e776 Bumping reductions manually will not be supported in future releases of the BEAM and has dubious value anyway. Remove that and ignore queue depth for now. Gregory Burd 2013-04-02 09:37:49 -0400
  • 609676917d Rename function to match new API. Gregory Burd 2013-04-02 09:36:34 -0400
  • 6aa51437cc Merge remote-tracking branch 'origin/master' into gsb-async-nifs2 Gregory Burd 2013-04-02 09:33:41 -0400
  • a75d60bf27 Add an RPATH to the extionsion shared libs so they can find objects in the priv/ directory at runtime Gregory Burd 2013-04-01 16:17:18 -0400
  • 95a6f52a1d Whitespace Gregory Burd 2013-04-01 14:00:06 -0400
  • e3219ff2c5 Add linker flags so that shared libraries are found relative to either the wterl layout or the Riak layout. gsb-enable-compression Gregory Burd 2013-03-28 22:21:36 -0400
  • 1595ce3096 Automatically load all WiredTiger extension shared libraries found in the priv dir at load time. Gregory Burd 2013-03-28 10:45:24 -0400
  • 3ef48e0ac0 Change from static linking to dynamic. Enable snappy and bzip2 compression. Gregory Burd 2013-03-28 10:24:26 -0400
  • 46214daa06 Remove check for other module. Gregory Burd 2013-03-28 10:23:56 -0400
  • 77e0dacdb5 Use a set of {Session, Cursor} pairs ("passes") for calls into WiredTiger to avoid a) opening a large number of Sessions or Cursors and b) avoid reusing a Session/Cursor pair in more than one thread. Each operation, except folds, use the Session/Cursor pair corresponding to the scheduler id (roughly "core") they are running on. Each vnode instance will have (count(schedulers) + count(active folds)) Session/Cursor pairs in use so be sure to set session_max large enough when opening the connection to WiredTiger. This method will cause problems with scheduler threads going to "sleep" so be sure to run schedmon to wake them up. Gregory Burd 2013-03-26 14:17:21 -0400
  • 78e667bc09 Depend on async_nif.h Gregory Burd 2013-03-26 13:02:45 -0400
  • 9f4e08ca6e Queue and execute work from scheduler threads on other threads to prevent schedulers from sleeping. Gregory Burd 2013-03-24 21:00:48 -0400
  • 85b84a5343 Folds need a separate cursor, but not a separate session, so use the shared connection and session. Gregory Burd 2013-03-21 21:39:47 -0400
  • 9834f54991 Cover a few more corner cases when encoding cache size and other values to config strings. Gregory Burd 2013-03-21 21:05:01 -0400
  • 9302def7cc Lower cache size guess from 1/3 to 1/4 of available memory. Finally correct lsm_bloom_new/oldest config. Gregory Burd 2013-03-21 18:56:01 -0400
  • 0203b06a61 Cursor delete operation only requires cursor handle and key (no need for a value) Gregory Burd 2013-03-21 18:44:13 -0400
  • a844dc5846 Whitespace Gregory Burd 2013-03-21 14:37:37 -0400
  • e02eb8ef9f Don't log the cache size guess. Gregory Burd 2013-03-21 14:37:24 -0400
  • 50d44ecedf Move LSM config to the table open options where they belong. Gregory Burd 2013-03-21 14:35:53 -0400
  • 6225f9fde1 Share cursors managed stored in the module's ets table. Gregory Burd 2013-03-21 14:34:54 -0400
  • 9ab363adfe Indention Gregory Burd 2013-03-21 14:12:03 -0400
  • b905cce833 Add lsm_bloom_{newest,oldest}=true to set of defaults. Gregory Burd 2013-03-19 15:29:13 -0400
  • f9fcf305ae Revert list change. Gregory Burd 2013-03-19 14:51:22 -0400
  • 8ed1c4000e Additional LSM Tree config parameters. Gregory Burd 2013-03-19 14:34:01 -0400
  • 33e66ec4e5 Minor change to array construction. Gregory Burd 2013-03-19 14:33:38 -0400
  • 39fb4ff710 Pass config into connection:open() rather than ignoring it and do a better job of integrating config options from the app environment as well as config file while we're at it. Gregory Burd 2013-03-18 15:32:03 -0400
  • 24527cf453 Break out connection and session startup into functions. Gregory Burd 2013-03-17 14:04:31 -0400
  • ce79d22659 Revert shared cursor changes for now. Gregory Burd 2013-03-17 08:15:33 -0400
  • 1129241fe0 Only open a session/cursor when first needed. There is still a race between vnodes during startup, ideally wterl_conn would only be opened once. Gregory Burd 2013-03-16 23:28:13 -0400
  • 22d42f5076 Fixed issue reusing cursors. Gregory Burd 2013-03-16 16:42:43 -0400
  • ab45690a4b Pull via http to avoid certificate errors with https on certain platforms (Illumos, SmartOS, Solaris... I'm looking at you.) Speed up builds by running make in parallel (use all the cores!). Gregory Burd 2013-03-16 16:41:26 -0400
  • fab5877ff5 Mistakenly allowed a file rename from another branch here. Use "wterl" not just "wt" for the shared library name. Gregory Burd 2013-03-14 17:36:45 -0400
  • 3543b42df8 Whitespace fixes (s/tab/space/g) and added two new configuration settings from the 1.5.0 release. Checkpoint every second, dump stats every 30 sec. Gregory Burd 2013-03-14 15:26:28 -0400
  • 85fadeec70 Merge pull request #5 from basho-labs/gsb-cache-size-est Steve Vinoski 2013-03-14 11:05:38 -0700
  • 00c9550d18 Merge 1d6dfee192 into ef3e161f12 Gregory Burd 2013-03-14 10:35:18 -0700
  • ef3e161f12 Embelish rebar's config a bit. Gregory Burd 2013-03-14 13:33:34 -0400
  • 1d6dfee192 Cache sizing is critical for performance. This change guesses at a reasonable setting for the WiredTiger cache size at runtime. This cache is shared across all vnodes regarless of how many are active at any given time. The algorithm is: max(1GB, 1/3 (RAM - Beam RSS size)). We don't enable direct_io on purpose and data will be double buffered in WiredTiger's cache and the filesystem buffer cache. This turns out to be faster than direct I/O despite wasting a bit of RAM. gsb-cache-size-est Gregory Burd 2013-03-14 13:27:59 -0400
  • efdeb70764 Merge pull request #4 from basho-labs/gsb-shared-cursors Steve Vinoski 2013-03-13 15:15:35 -0700
  • 46c3144810 Merge e4b3acbd11 into f94336f3eb Gregory Burd 2013-03-13 14:34:49 -0700
  • e4b3acbd11 Share per-table cursors for get/put/delete operations. gsb-shared-cursors Gregory Burd 2013-03-13 17:27:00 -0400
  • f94336f3eb base WiredTiger max session config setting on ring size Steve Vinoski 2013-03-12 18:08:04 -0400
  • 85ebe3d123 Merge b47d15fa21 into 021dcb10f5 Gregory Burd 2013-03-12 14:20:32 -0700
  • 021dcb10f5 Build from source pulled from a specific branch on GitHub for "basho" related work and integration of WiredTiger rather than the latest .tar.bz2 file they distribute. gsb-optimize-for-kv-crud Gregory Burd 2013-03-12 16:56:00 -0400
  • 789c44b133 Change the config to use a lsm tree rather than btree for tables. Stop using direct_io as it forces operations to sync more often, slowing things down, at the expense of double-buffering (this will use more RAM). Gregory Burd 2013-03-08 13:33:12 -0500
  • c6eac27ea7 Start with a more rational default configuration. (Before you ask... the answer is 'no'). So far there has been no effort to validate that these settings are in fact the best for Riak/KV or CS data access patterns. These particular settings are, at best, an educated guess based on past experience, the docs and reading about the benchmark the WiredTiger team published here: Gregory Burd 2013-03-07 20:48:26 -0500
  • 9a02718a2e Pass configuration along when opening sessions. Gregory Burd 2013-03-07 20:31:42 -0500
  • b47d15fa21 Build from source pulled from a specific branch on GitHub for "basho" related work and integration of WiredTiger rather than the latest .tar.bz2 file they distribute. Gregory Burd 2013-03-12 16:56:00 -0400
  • 169a9663b2 Set a lower bound for session_max to 1024 (which is a guess) or 2x ring_size (another guess). gsb-shared-cache-across-vnodes Gregory Burd 2013-03-12 10:29:33 -0400
  • 7a7350be42 Set session max based on ring size. Gregory Burd 2013-03-11 20:34:21 -0400
  • f5a5208b1b Filter only the wt specific parts, not all of app.config Gregory Burd 2013-03-11 15:44:19 -0400
  • db28e6b50d Renaming the repo to wt eventually. Gregory Burd 2013-03-11 14:57:46 -0400
  • 0ec817ae9f Restructure the way we create/merge default configuration setttings with user supplied settings. Move cache estimate to its own function. Gregory Burd 2013-03-11 12:59:31 -0400
  • e6dc7a5936 fix new config problems, tests all pass again Steve Vinoski 2013-03-11 11:12:12 -0400
  • 83dfc9e396 Renaming from wterl to wt (less redundant and more meaningful name) and working on a shared single cache for all vnodes. Gregory Burd 2013-03-10 21:42:31 -0400
  • 57917f8bc6 Change the config to use a lsm tree rather than btree for tables. Stop using direct_io as it forces operations to sync more often, slowing things down, at the expense of double-buffering (this will use more RAM). Gregory Burd 2013-03-08 13:33:12 -0500
  • 3cff357e49 Spelling mistake. Gregory Burd 2013-03-08 10:29:54 -0500
  • 137088ff55 Start with a more rational default configuration. (Before you ask... the answer is 'no'). So far there has been no effort to validate that these settings are in fact the best for Riak/KV or CS data access patterns. These particular settings are, at best, an educated guess based on past experience, the docs and reading about the benchmark the WiredTiger team published here: Gregory Burd 2013-03-07 20:48:26 -0500
  • a8bc4bf6c0 Pass configuration along when opening sessions. Gregory Burd 2013-03-07 20:31:42 -0500
  • b063d866cc Merge pull request #2 from basho-labs/gsb-makefile Gregory Burd 2013-03-07 17:24:29 -0800
  • 0ff242ac70 Merge f224c61b7a into 446362d11a Gregory Burd 2013-03-07 13:04:38 -0800
  • f224c61b7a Add some more depth to the targets. gsb-makefile Gregory Burd 2013-03-07 16:03:30 -0500
  • 446362d11a update to WiredTiger 1.4.2 Steve Vinoski 2013-01-14 19:13:45 -0500
  • f67a2dd7af update to WiredTiger 1.4.1 Steve Vinoski 2012-12-12 23:57:21 -0500
  • 134e3abc0b Merge 264d189947 into 6768b86484 Gregory Burd 2012-12-04 11:29:15 -0800
  • 264d189947 Update defaults gsb-async-nifs Gregory Burd 2012-12-04 14:29:07 -0500
  • 510b589edb Improve, extend the configuration prep code. Gregory Burd 2012-12-04 14:28:20 -0500
  • f002df1844 Update default configuration settings for WiredTiger when used as a backend to better match their benchmark settings. Gregory Burd 2012-12-04 14:27:47 -0500
  • 6a47c89acd Ensure we have the proper number of arguments first. Pass configuration information on session open. Fix a few mistakes for preconditions. Gregory Burd 2012-12-04 14:26:46 -0500
  • d169796c89 Remove old release package. Gregory Burd 2012-12-04 13:37:59 -0500
  • c59504d229 Remove non-portable and unnecessary include. Gregory Burd 2012-12-04 13:35:39 -0500
  • 2a47d63ce9 Enable compression in WiredTiger build. Gregory Burd 2012-12-04 13:35:10 -0500
  • 6768b86484 update to WiredTiger 1.4.0 Steve Vinoski 2012-12-04 11:20:33 -0500
  • 70f6e17505 Update to version 1.4.0 Gregory Burd 2012-12-03 09:28:10 -0500
  • 9f89fcc670 Many happy returns. Gregory Burd 2012-11-29 21:19:39 -0500
  • 0689cc5f23 Reduce workers a bit. Gregory Burd 2012-11-29 21:18:53 -0500
  • 30dbef63a2 Another useful debugging target. Gregory Burd 2012-11-29 21:16:23 -0500
  • 01eae9b844 WIP: Closer to async... Gregory Burd 2012-11-29 16:28:02 -0500
  • c0231923f9 Update to latest async_nif. Gregory Burd 2012-11-29 11:37:36 -0500
  • eacc8514ac First import, integration of async NIFs pattern. Gregory Burd 2012-11-25 15:42:18 -0500
  • cb0a535113 Improve things a bit. Gregory Burd 2012-11-25 15:40:34 -0500
  • c9df3959c8 update to WiredTiger 1.3.8 Steve Vinoski 2012-11-22 23:14:01 -0500
  • bb4de898ab update to WiredTiger 1.3.7 Steve Vinoski 2012-11-09 12:51:40 -0500
  • 317ae4164d update to WiredTiger 1.3.6 Steve Vinoski 2012-11-06 12:41:36 -0500
  • 43a5325b4f add editor settings to rebar.config Steve Vinoski 2012-10-26 10:25:02 -0400
  • 86955b0aef modify enable-wterl to avoid adding wterl repeatedly Steve Vinoski 2012-10-26 10:22:59 -0400
  • 1de84ff8c3 update rebar and rebar.config Steve Vinoski 2012-10-26 09:20:08 -0400
  • f8454b11e1 update to WiredTiger 1.3.5 Steve Vinoski 2012-10-26 09:19:47 -0400
  • 62252ee6ba update to WiredTiger 1.3.4 Steve Vinoski 2012-10-19 08:17:19 -0400
  • 99b096caf3 check return value of wterl:session_create Steve Vinoski 2012-10-14 13:43:21 -0400
  • 4f17de26d4 fix wterl git url in enable-wterl script Steve Vinoski 2012-10-14 13:35:19 -0400
  • d7127b03e2 update to WiredTiger 1.3.3 Steve Vinoski 2012-10-11 13:33:37 -0400
  • b2807e2c14 upgrade to WiredTiger version 1.3.0 Steve Vinoski 2012-09-17 10:58:48 -0400
  • 6c808da7af update to WiredTiger 1.2.2 Steve Vinoski 2012-06-20 15:24:16 -0400
  • d766ca1790 update to WiredTiger 1.2.1 Steve Vinoski 2012-06-15 08:54:13 -0400
  • efc0b3e82c Make sure wterl is started Gregory Burd 2012-06-07 13:20:28 +0100