Commit graph

1683 commits

Author SHA1 Message Date
Zardosht Kasheff
37e722de22 addresses #1093
another test that exposes a problem

git-svn-id: file:///svn/tokudb@5676 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-15 19:45:17 +00:00
Yoni Fogel
fee8e88257 Addresses #1093
Workaround for nested transactions not aborting correctly.
Needs to be replaced with a better version.

git-svn-id: file:///svn/tokudb@5675 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-15 17:43:37 +00:00
Yoni Fogel
4811a42042 Closes #1098
Reduce overhead of subtransactions

git-svn-id: file:///svn/tokudb@5674 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-15 17:07:44 +00:00
Rich Prohaska
bcacaae98e more the root_put_counter to the brt object. this speeds up cursor operations. we will address multiple brt handles later. addresses #1054
git-svn-id: file:///svn/tokudb@5651 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-14 01:00:48 +00:00
Zardosht Kasheff
c9d01632f8 addresses #1093
test exposing problem

git-svn-id: file:///svn/tokudb@5646 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-13 17:30:17 +00:00
Bradley C. Kuszmaul
30cfaf522b Measure compression ratio
git-svn-id: file:///svn/tokudb@5626 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-12 15:19:34 +00:00
Yoni Fogel
3873681393 Added 'tags' target in makefile to do both TAGS and cscope.out
git-svn-id: file:///svn/tokudb@5620 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-12 13:45:29 +00:00
Yoni Fogel
8a5abb1b83 Addresses #1079
Final changes to make DB_TXN->parent public.

git-svn-id: file:///svn/tokudb@5619 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-12 13:44:58 +00:00
Yoni Fogel
272c9a6b02 Addresses #1079
makes DB_TXN->parent public

git-svn-id: file:///svn/tokudb@5616 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-12 13:38:04 +00:00
Rich Prohaska
2a2e316f18 addresses #1079
git-svn-id: file:///svn/tokudb@5604 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-11 13:02:17 +00:00
Yoni Fogel
4f887136e2 Addresses #1079
Modify sample_offsets to include DB_TXN.parent

git-svn-id: file:///svn/tokudb@5579 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-09 18:02:07 +00:00
Rich Prohaska
58435beac0 add the gcc atomic builtin fetch_and_add
git-svn-id: file:///svn/tokudb@5501 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-04 18:05:09 +00:00
Bradley C. Kuszmaul
f4d9c56627 Measure some more locking primitives.
git-svn-id: file:///svn/tokudb@5498 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-04 14:40:24 +00:00
Bradley C. Kuszmaul
a635d5c552 Measure some more locking primitives.
git-svn-id: file:///svn/tokudb@5497 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-04 14:39:22 +00:00
Bradley C. Kuszmaul
955787457e Improve comment. Addresses #1021.
git-svn-id: file:///svn/tokudb@5472 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-01 17:56:53 +00:00
Yoni Fogel
234f2649d4 Closes #1062
Fix cases in the c_getf_* functions where we were retrieving a key DBT instead of a val.

git-svn-id: file:///svn/tokudb@5454 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-31 16:15:02 +00:00
Rich Prohaska
5fa2c451c5 delete the unused mempool compress feature
git-svn-id: file:///svn/tokudb@5439 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-30 19:36:37 +00:00
Yoni Fogel
094475f72b Closes #1060
Implemented c_getf_(first,last)

git-svn-id: file:///svn/tokudb@5434 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-30 15:26:52 +00:00
Yoni Fogel
180152abf1 Closes #1055
Implement DBC->c_getf_prev

git-svn-id: file:///svn/tokudb@5418 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-29 20:10:23 +00:00
Rich Prohaska
13ccc0f386 this test depends on virtual time which does not exists. closes #1049
git-svn-id: file:///svn/tokudb@5397 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-28 19:56:04 +00:00
Rich Prohaska
723a17edb8 use trace memory. addresses #1042
git-svn-id: file:///svn/tokudb@5390 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-28 18:55:10 +00:00
Yoni Fogel
dabf9fcb06 Closes #1050
Implemented c_getf_next_dup

git-svn-id: file:///svn/tokudb@5389 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-28 18:19:07 +00:00
Yoni Fogel
0ac518ea4f Closes #1048
Replaced 'test_thread_stack.%' in rules with '$<', which refers to the first
prerequisite listed.

This fixes the nondeterministic nature of this test failing (for reasons
of being unable to find the binary).

git-svn-id: file:///svn/tokudb@5387 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-28 17:59:51 +00:00
Yoni Fogel
df1c7a9379 Addresses #903
Created function that peeks at both key and value at the same time
(to avoid repeated OMT calls).
This was worth 4-5% performance in scanscan --lwc --prelock --prelockflag


git-svn-id: file:///svn/tokudb@5386 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-28 17:55:14 +00:00
Yoni Fogel
b5d3b778d6 Addresses #903
Speed up light weight cursors.
Instead of asking the brt to use 'copyout' (by passing key and/or val pointers)
we pass in NULLs to brt_cursor_get.
We then later use the peek_current functions to obtain pointers to the current
key and val of the cursor.

That was worth ~22% reduction in time for scanscan --lwc --prelock --prelockflag

Also, now copyout quits immediately if both key and val are NULL
This increased the (total) value of the patch to ~30% reduction  in time.

git-svn-id: file:///svn/tokudb@5383 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-28 16:19:59 +00:00
Rich Prohaska
1f05fe210f port to 32 bit linux
git-svn-id: file:///svn/tokudb@5381 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-28 14:55:41 +00:00
Bradley C. Kuszmaul
3aafa0d873 Some files didn't merge right. Fixes #1021.
git-svn-id: file:///svn/tokudb@5364 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-27 22:19:08 +00:00
Bradley C. Kuszmaul
9b7fdbcfd0 Convert from crc to x1764. Fixes #1021.
git-svn-id: file:///svn/tokudb@5363 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-27 22:16:49 +00:00
Bradley C. Kuszmaul
84fb9c874e Add sum64
git-svn-id: file:///svn/tokudb@5360 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-27 18:36:56 +00:00
Bradley C. Kuszmaul
4f2c208fc5 Add sum64
git-svn-id: file:///svn/tokudb@5359 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-27 18:36:04 +00:00
Bradley C. Kuszmaul
8640836ef3 up
git-svn-id: file:///svn/tokudb@5358 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-27 18:28:38 +00:00
Bradley C. Kuszmaul
e94d156afe x17 is working, and is reasonably fast. Surprisingly slower than murmurby1, however
git-svn-id: file:///svn/tokudb@5357 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-27 18:09:38 +00:00
Bradley C. Kuszmaul
b5f39e6df6 Fiddle around. l17 looks pretty fast.
git-svn-id: file:///svn/tokudb@5356 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-27 16:37:55 +00:00
Bradley C. Kuszmaul
793bda4fe4 Measure some hash function performance
git-svn-id: file:///svn/tokudb@5355 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-27 10:40:17 +00:00
Bradley C. Kuszmaul
dd615b86cb more fence cases
git-svn-id: file:///svn/tokudb@5344 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-26 15:58:04 +00:00
Bradley C. Kuszmaul
677e7ddcd2 more fence cases
git-svn-id: file:///svn/tokudb@5343 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-26 15:57:13 +00:00
Bradley C. Kuszmaul
9c268111cb more fence cases
git-svn-id: file:///svn/tokudb@5342 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-26 15:50:12 +00:00
Yoni Fogel
2804eb495a Addresses #1032
Removed over-active warnings, moved struct definition to proper place.

git-svn-id: file:///svn/tokudb@5322 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-24 21:31:52 +00:00
Rich Prohaska
b798cd5c31 add a in memory trace log with processor timestamps. closes #1042
git-svn-id: file:///svn/tokudb@5321 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-24 21:26:38 +00:00
Yoni Fogel
c7d9dbbc2a Addresses #1032
Turned some nested functions (that had no free variables) into non-nested functions.

git-svn-id: file:///svn/tokudb@5320 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-24 21:25:31 +00:00
Yoni Fogel
3f49195276 Addresses #1032
Makefile ports for cygwin/Windows

git-svn-id: file:///svn/tokudb@5319 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-24 21:24:27 +00:00
Rich Prohaska
e21db3b0e6 add a in memory trace log with processor timestamps. closes #1042
git-svn-id: file:///svn/tokudb@5318 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-24 21:23:40 +00:00
Rich Prohaska
9a801f6fc6 fix the regressions error on 4.4. addresses #968
git-svn-id: file:///svn/tokudb@5307 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-24 12:16:57 +00:00
Yoni Fogel
31aa0af04e Addresses #1040
Moved a couple of functions out of the critical path for the common case (only needed for uncommon case)

git-svn-id: file:///svn/tokudb@5298 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-23 23:01:13 +00:00
Bradley C. Kuszmaul
ab7a3ca9d3 Quiet down the cxx makefile. Addresses #13.
git-svn-id: file:///svn/tokudb@5286 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-23 12:55:37 +00:00
Bradley C. Kuszmaul
50dfe380f7 Implemented a measurement. On my laptop:
{{{
writeit 2048 blocks of size 1048576 in 124.60s at  17.24MB/s
readit  2048 blocks of size 1048576 in  94.13s at  22.81MB/s   user=  0.08s sys=  4.94s
}}}
Also for 512 blocks it runs at 741MB/s,

It looks like the cachetable is fast enough.

Fixes #1037.


git-svn-id: file:///svn/tokudb@5285 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-23 11:24:13 +00:00
Bradley C. Kuszmaul
9db51893c9 test944a has a memory leak. Fix it. Addresses #944.
git-svn-id: file:///svn/tokudb@5277 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-23 04:46:58 +00:00
Bradley C. Kuszmaul
5c3ec7de12 Revert the murmur checksum. Addresses #1021.
{{{
svn merge https://svn.tokutek.com/tokudb/tokudb.1021@5184 https://svn.tokutek.com/tokudb/tokudb.1021@5107  
}}}
and fix a simple conflict.


git-svn-id: file:///svn/tokudb@5275 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-23 03:47:05 +00:00
Yoni Fogel
daf9154cf8 Closes 1036
Fixes the memory leak with callback invalidation

git-svn-id: file:///svn/tokudb@5274 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-23 02:43:42 +00:00
Bradley C. Kuszmaul
71cb765433 Merge in the branch fix the rollback merging into the parent. Fixes #1035.
{{{
svn merge -r5259:5270 https://svn.tokutek.com/tokudb/tokudb.1035
}}}


git-svn-id: file:///svn/tokudb@5272 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-22 23:25:07 +00:00