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
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
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
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
Yoni Fogel
6ccb067147
Addresses #1032
...
Standardize unsigned ints:
uint8_t -> u_int8_t
uint32_t -> u_int32_t
uint64_t ->u_int64_t
Windows seems to differentiate between the two, linux does not.
git-svn-id: file:///svn/tokudb@5239 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-21 18:00:38 +00:00
Rich Prohaska
b584f4fb46
fix a cachefile renumbering problem. addresses #968
...
git-svn-id: file:///svn/tokudb@5238 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-21 17:48:26 +00:00
Yoni Fogel
ab1df07131
Addresses #1031
...
Invalidates cursors when we run off the end of a leaf.
git-svn-id: file:///svn/tokudb@5222 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-21 05:59:25 +00:00
Yoni Fogel
5badbb42a8
Addresses #1031
...
Implements lazy updates for next_shortcut, and prev_shortcut.
git-svn-id: file:///svn/tokudb@5221 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-21 05:37:55 +00:00
Rich Prohaska
efc9a8aa39
merge db->truncate to main. closes #968
...
git-svn-id: file:///svn/tokudb@5218 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-21 02:34:13 +00:00
Bradley C. Kuszmaul
66cd2fdd01
Merge is tokudb.1021 changes. Addresses #1021 .
...
{{{
svn merge -r5107:5184 https://svn.tokutek.com/tokudb/tokudb.1021
}}}
git-svn-id: file:///svn/tokudb@5214 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-20 14:08:55 +00:00
Yoni Fogel
0817ad3042
Addresses #1031
...
Added invalidate_callback function to the OMTcursors.
Added tests for invalidate callback functions.
git-svn-id: file:///svn/tokudb@5203 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-19 06:21:09 +00:00
Bradley C. Kuszmaul
45414a60b0
Remove memory leak. Fixes #1030 .
...
git-svn-id: file:///svn/tokudb@5196 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-18 19:37:31 +00:00
Bradley C. Kuszmaul
acdf833c6c
Remove memory leak. Fixes #1027 .
...
git-svn-id: file:///svn/tokudb@5194 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-18 18:54:17 +00:00
Rich Prohaska
869c0f107c
simplify memory.c, map toku_malloc direct to malloc. closes #1024
...
git-svn-id: file:///svn/tokudb@5167 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-17 20:58:57 +00:00
Bradley C. Kuszmaul
273b90ab7f
Remove memory leak. Fixes #1025 .
...
git-svn-id: file:///svn/tokudb@5165 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-17 19:54:11 +00:00
Yoni Fogel
18b35fc088
Addresses #993
...
Merge branch 993 back into main.
git-svn-id: file:///svn/tokudb@5141 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-16 22:23:29 +00:00
Rich Prohaska
c7c25f5c7e
treak the seq insert algorithm. addresses #1003
...
git-svn-id: file:///svn/tokudb@5091 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-13 00:04:22 +00:00
Bradley C. Kuszmaul
fd6a6d1447
Merge in the tokudb.1017 patches to the main branch. Fixes #1017 .
...
{{{
$ (cd tokudb;svn merge -r5048:5080 https://svn.tokutek.com/tokudb/tokudb.1017 )
$ svn delete tokudb.1017
}}}
git-svn-id: file:///svn/tokudb@5081 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-11 22:00:06 +00:00
Bradley C. Kuszmaul
bf807a8af8
Fixes #853 . {{{svn merge -r5009:5043 https://svn.tokutek.com/tokudb/tokudb.853 }}}.
...
git-svn-id: file:///svn/tokudb@5046 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-10 18:46:41 +00:00
Rich Prohaska
8d432d4bb0
add pthread_mutex_lock/unlock to the test
...
git-svn-id: file:///svn/tokudb@5036 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-10 13:42:39 +00:00
Bradley C. Kuszmaul
674f22ce5e
Buffer the reading of the rollback file. Gains 5% on large transactions. Fixes #1002 .
...
git-svn-id: file:///svn/tokudb@5005 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-09 12:00:26 +00:00
Rich Prohaska
4ac45ace29
detect mostly sequential insertions. addresses #1003
...
git-svn-id: file:///svn/tokudb@4979 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-08 11:08:15 +00:00
Rich Prohaska
97a2188053
send commits for delete operations. addresses #976
...
git-svn-id: file:///svn/tokudb@4875 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-01 19:52:35 +00:00
Rich Prohaska
25019cfce5
reset the seq inserts counter when a node splits
...
git-svn-id: file:///svn/tokudb@4823 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-30 20:15:38 +00:00
Bradley C. Kuszmaul
5cddfeee5c
Get rid of {{{toku_keycompare}}} in favor of {{{brt->compare_fun}}} in {{{brt.c}}}. Fixes #9 .
...
git-svn-id: file:///svn/tokudb@4650 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-19 11:32:25 +00:00
Bradley C. Kuszmaul
93d2d2fcfa
Enable tail calls. Fixes #879 .
...
git-svn-id: file:///svn/tokudb@4645 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-19 01:46:41 +00:00
Bradley C. Kuszmaul
f714e3e873
Merge in the final hash shortcuts.
...
{{{
svn merge -r4633:4638 https://svn.tokutek.com/tokudb/tokudb.906
}}}
Addresses #906 .
git-svn-id: file:///svn/tokudb@4639 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-18 21:38:01 +00:00
Rich Prohaska
77f3953c85
test case for bug 935. addresses #935
...
git-svn-id: file:///svn/tokudb@4635 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-18 20:49:50 +00:00
Rich Prohaska
798e923370
merge some more seq insert code to main. addresses #896
...
git-svn-id: file:///svn/tokudb@4627 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-18 10:22:06 +00:00
Rich Prohaska
f4ec866165
merge some seq insert code to main. addresses #896
...
git-svn-id: file:///svn/tokudb@4626 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-18 10:02:06 +00:00