Commit graph

5264 commits

Author SHA1 Message Date
Bradley C. Kuszmaul
47de66f94e Save 64 bit sample
git-svn-id: file:///svn/tokudb@250 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 17:47:27 +00:00
Bradley C. Kuszmaul
e262e68af0 Get it to work right
git-svn-id: file:///svn/tokudb@249 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 17:47:14 +00:00
Bradley C. Kuszmaul
e3cd1f9826 Do dbt
git-svn-id: file:///svn/tokudb@247 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 17:40:16 +00:00
Rich Prohaska
0b19e86a34 make deleted kv pairs invisible
git-svn-id: file:///svn/tokudb@246 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-05 13:52:52 +00:00
Bradley C. Kuszmaul
356e2cb4c9 Fix where the cplusplus headers go
git-svn-id: file:///svn/tokudb@244 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-04 21:40:11 +00:00
Bradley C. Kuszmaul
e5a90933be Now we can compile stuff on 32 and 64 systems
git-svn-id: file:///svn/tokudb@243 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-04 21:39:03 +00:00
Bradley C. Kuszmaul
6a13ec52e6 Add sample_offsets_64.h
git-svn-id: file:///svn/tokudb@242 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-04 21:19:18 +00:00
Bradley C. Kuszmaul
948986c11e Create sample offsets and test on a 32-bit machine
git-svn-id: file:///svn/tokudb@241 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-04 21:18:09 +00:00
Bradley C. Kuszmaul
801060c7a5 Create sample_offsets
git-svn-id: file:///svn/tokudb@240 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-04 21:01:41 +00:00
Bradley C. Kuszmaul
78b48fa835 Non-portable implementation
git-svn-id: file:///svn/tokudb@239 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-04 20:59:50 +00:00
Rich Prohaska
808951d65d pma delete under cursor changes
git-svn-id: file:///svn/tokudb@236 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-04 13:51:12 +00:00
Rich Prohaska
acd68baef4 implement the rebalance and shrink after pma deletion
git-svn-id: file:///svn/tokudb@220 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-30 15:15:14 +00:00
Rich Prohaska
060f521e03 need to watch the long boundary
git-svn-id: file:///svn/tokudb@219 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-30 15:12:55 +00:00
Rich Prohaska
7490c63f99 convert really long command line arg
git-svn-id: file:///svn/tokudb@218 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-30 15:05:11 +00:00
Rich Prohaska
46abdc1a5c add empty tree test cases
git-svn-id: file:///svn/tokudb@215 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-27 14:11:19 +00:00
Rich Prohaska
075df0ba24 remove some debug printfs
git-svn-id: file:///svn/tokudb@214 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-27 12:08:12 +00:00
Rich Prohaska
9f70fff85d try multiple brt fanout's
git-svn-id: file:///svn/tokudb@197 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-25 21:58:25 +00:00
Rich Prohaska
4a0ff58aa7 remove cursor debug tracing
git-svn-id: file:///svn/tokudb@193 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-24 20:00:25 +00:00
Bradley C. Kuszmaul
8b01b4d7a2 One-per-line in the makefile BINS
git-svn-id: file:///svn/tokudb@192 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-24 18:38:43 +00:00
Bradley C. Kuszmaul
611a2249ec One-per-line in the makefile BINS
git-svn-id: file:///svn/tokudb@191 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-24 18:38:11 +00:00
Bradley C. Kuszmaul
29fe7fa5d6 Rename the files so that the various tests can run concurrently
git-svn-id: file:///svn/tokudb@190 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-24 18:36:02 +00:00
Rich Prohaska
d17bae4542 get tree cursor set last working
git-svn-id: file:///svn/tokudb@186 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-24 12:10:49 +00:00
Rich Prohaska
f4a36c5707 tree cursors that can walk the tree
git-svn-id: file:///svn/tokudb@170 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-23 18:07:18 +00:00
Bradley C. Kuszmaul
3571dbeba0 Put back the free
git-svn-id: file:///svn/tokudb@168 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-22 22:08:26 +00:00
Bradley C. Kuszmaul
b730b03a47 Whoops, freed something not malloced
git-svn-id: file:///svn/tokudb@167 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-22 21:41:29 +00:00
Rich Prohaska
e4b74436d7 changed the tree FANOUT from 16 to 4 and brt-test found a path through the cachetable flush function that followed the wrong linked list.
git-svn-id: file:///svn/tokudb@166 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-22 18:50:49 +00:00
Bradley C. Kuszmaul
2fcb4bfaaf Separate rbuf and wbuf so that log.c can use it. Check in a perliminary version of log.c
git-svn-id: file:///svn/tokudb@162 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-21 23:32:17 +00:00
Rich Prohaska
361c348315 get the bound pma
git-svn-id: file:///svn/tokudb@158 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-20 15:50:46 +00:00
Rich Prohaska
f206871b8e speedup the wbuf_int and wbuf_bytes functions based on profile
data from a long benchmark-test.



git-svn-id: file:///svn/tokudb@155 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-17 12:06:31 +00:00
Rich Prohaska
cda74f7896 short cut pma_free
add some debug asserts to pma_free



git-svn-id: file:///svn/tokudb@147 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-16 13:10:29 +00:00
Bradley C. Kuszmaul
1cd311c093 Speedup toku_hashtable_random_pick
git-svn-id: file:///svn/tokudb@134 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-14 18:50:52 +00:00
Bradley C. Kuszmaul
f9a056213e Unroll keycompare
git-svn-id: file:///svn/tokudb@133 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-14 14:19:05 +00:00
Bradley C. Kuszmaul
cc7a1e665c Actually use maybe-faster-malloc
git-svn-id: file:///svn/tokudb@132 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-14 14:11:55 +00:00
Bradley C. Kuszmaul
727b83a59f Speed up keycompare (maybe)
git-svn-id: file:///svn/tokudb@131 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-14 14:01:51 +00:00
Bradley C. Kuszmaul
1bbd6ea804 Fill in the primeidx
git-svn-id: file:///svn/tokudb@130 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-13 22:59:31 +00:00
Bradley C. Kuszmaul
9c9cff164d Put in error message
git-svn-id: file:///svn/tokudb@129 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-13 22:51:05 +00:00
Bradley C. Kuszmaul
0d4231e0b2 Use primes right in the hash table
git-svn-id: file:///svn/tokudb@128 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-13 22:13:40 +00:00
Bradley C. Kuszmaul
8ae9b13b8e Use fewer mallocs in the hash table
git-svn-id: file:///svn/tokudb@127 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-13 22:07:55 +00:00
Bradley C. Kuszmaul
701339ea1d Use prime numbers for the hash table sizes
git-svn-id: file:///svn/tokudb@126 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-13 21:53:19 +00:00
Bradley C. Kuszmaul
e9f6f94835 Make the cachetable 127 (prime) instead of 128
git-svn-id: file:///svn/tokudb@125 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-13 21:23:11 +00:00
Bradley C. Kuszmaul
18412a5f81 Increase buffer pool size
git-svn-id: file:///svn/tokudb@124 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-13 20:26:23 +00:00
Bradley C. Kuszmaul
11a7c0ab20 Printf fixups
git-svn-id: file:///svn/tokudb@123 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-13 20:21:53 +00:00
Bradley C. Kuszmaul
415aae3698 Add cumulative and a command-line control to benchmark-test
git-svn-id: file:///svn/tokudb@122 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-13 20:20:42 +00:00
Bradley C. Kuszmaul
9921b83cf9 Maybe faster key compare?
git-svn-id: file:///svn/tokudb@121 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-13 20:04:26 +00:00
Bradley C. Kuszmaul
7b2ef97760 Speed up toku_hash_rehash_everything by remembering the hash function
git-svn-id: file:///svn/tokudb@120 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-13 19:49:06 +00:00
Bradley C. Kuszmaul
a1516c3644 Fix up types for FNV hashing
git-svn-id: file:///svn/tokudb@119 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-13 19:04:38 +00:00
Bradley C. Kuszmaul
df1d003f01 Use FNV hash function
git-svn-id: file:///svn/tokudb@118 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-13 18:59:46 +00:00
Bradley C. Kuszmaul
6dc2fb95c6 Use FNV hash function
git-svn-id: file:///svn/tokudb@117 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-13 18:59:09 +00:00
Bradley C. Kuszmaul
c2f9c7b027 Use FNV hash
git-svn-id: file:///svn/tokudb@116 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-13 18:55:20 +00:00
Bradley C. Kuszmaul
3f307a1f8f Remove the silly extra check at the end of pmainternal_find
git-svn-id: file:///svn/tokudb@115 c7de825b-a66e-492c-adef-691d508d4ae1
2007-08-13 18:23:31 +00:00