mariadb/newbrt
Bradley C. Kuszmaul c49d7a8c0c The first loader gets 1/2 of cachetable memory.
* That's 2/3 of 3/4, which is calculated as 1/4 is unreservable.  The loader asks for 2/3 of what's reservable, getting one half.
The second loader gets 1/6 of cachetable memory.
 * That's 2/3 of 1/4: The loader asks for 2/3 of what's reservable.  1/2 has been reserved.  1/4 is unreservable.  1/4 is reservable.  2/3 of 1/4 is 1/6.
The third loader gets 1/18 of cachetable memory. 
 * That's 2/3 or 1/12.   (1/4 is unreservable. 1/2 was reserved by the first loader.  1/6 by the second.  That leaves 1/12)
Generally the next one gets 1/3 of what the previous one got.

Refs #2759. [t:2759]


git-svn-id: file:///svn/toku/tokudb@21564 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:19 -04:00
..
checksum-benchmarks Addresses #2257 refs[t:2257] Merge windows port back into main. 2013-04-16 23:58:56 -04:00
compression-ratio Addresses #2257 refs[t:2257] Merge windows port back into main. 2013-04-16 23:58:56 -04:00
hash-benchmarks Addresses #2257 refs[t:2257] Merge windows port back into main. 2013-04-16 23:58:56 -04:00
locking-benchmarks Addresses #2257 refs[t:2257] Merge windows port back into main. 2013-04-16 23:58:56 -04:00
tests The first loader gets 1/2 of cachetable memory. 2013-04-16 23:59:19 -04:00
worker-thread-benchmarks Addresses #2257 refs[t:2257] Merge windows port back into main. 2013-04-16 23:58:56 -04:00
backwards_11.c fix gcc 4.1.2 build on linux 2013-04-16 23:59:18 -04:00
backwards_11.h [t:2561] Merge tokudb.2561b to main. Disabled auto-upgrade and auto-upgrade tests 2013-04-16 23:59:17 -04:00
block_allocator.c Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
block_allocator.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
block_table.c [t:2561] Bugfix in backwards compatibility code. Enums cannot be used for CPP directives, which broke windows build 2013-04-16 23:59:17 -04:00
block_table.h [t:2561] Merge tokudb.2561b to main. Disabled auto-upgrade and auto-upgrade tests 2013-04-16 23:59:17 -04:00
brt-internal.h #2717 refs[t:2717] fix the brtloader subtree estimates 2013-04-16 23:59:19 -04:00
brt-search.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
brt-serialize.c [t:2561] Bugfix in backwards compatibility code. Enums cannot be used for CPP directives, which broke windows build 2013-04-16 23:59:17 -04:00
brt-test-helpers.c [t:2561] Merge tokudb.2561b to main. Disabled auto-upgrade and auto-upgrade tests 2013-04-16 23:59:17 -04:00
brt-verify.c [t:2561] Merge tokudb.2561b to main. Disabled auto-upgrade and auto-upgrade tests 2013-04-16 23:59:17 -04:00
brt-XY.c Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
brt.c closes[t:2692] Fix two races that helgrind reports. 2013-04-16 23:59:18 -04:00
brt.h [t:2641] Merge DB_READCOMMITTED bugfix (r20839) to main. 2013-04-16 23:59:18 -04:00
brt_msg.c Merge in changes. Refs #2608, #2609, and #2610. [t:2608] [t:2609] [t:2610] 2013-04-16 23:59:11 -04:00
brt_msg.h Merge in changes. Refs #2608, #2609, and #2610. [t:2608] [t:2609] [t:2610] 2013-04-16 23:59:11 -04:00
brtdump.c refs[t:2717] dump the subtree estimates 2013-04-16 23:59:19 -04:00
brtloader-callback.c Merge in the double buffered io abstraction. It's not in the loader yet. Refs #2571. [t:2571] 2013-04-16 23:59:11 -04:00
brtloader-internal.h Candidate fix for #2730 (the race in the loader and the io-thread where they glare at each other). Refs #2730. [t:2730] 2013-04-16 23:59:19 -04:00
brtloader.c The first loader gets 1/2 of cachetable memory. 2013-04-16 23:59:19 -04:00
brtloader.h [t:2561] Merge tokudb.2561b to main. Disabled auto-upgrade and auto-upgrade tests 2013-04-16 23:59:17 -04:00
brttypes.h [t:2561] Merge tokudb.2561b to main. Disabled auto-upgrade and auto-upgrade tests 2013-04-16 23:59:17 -04:00
cachetable.c The first loader gets 1/2 of cachetable memory. 2013-04-16 23:59:19 -04:00
cachetable.h Fix the cachetable-race so that it doesn't run in BDB and compiles under windows. Fixes #2699, #2698. close[t:2699] close[t:2698]. 2013-04-16 23:59:18 -04:00
checkpoint.c [t:2504] Improve engine status. 2013-04-16 23:59:11 -04:00
checkpoint.h [t:2504] Improve engine status. 2013-04-16 23:59:11 -04:00
dbufio.c #2738 refs[t:2738] merge dbufio bug fix to main 2013-04-16 23:59:19 -04:00
dbufio.h #2738 refs[t:2738] merge dbufio bug fix to main 2013-04-16 23:59:19 -04:00
fifo.c Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
fifo.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
fifo_msg.c Merge in changes. Refs #2608, #2609, and #2610. [t:2608] [t:2609] [t:2610] 2013-04-16 23:59:11 -04:00
fifo_msg.h Merge in changes. Refs #2608, #2609, and #2610. [t:2608] [t:2609] [t:2610] 2013-04-16 23:59:11 -04:00
fingerprint.c Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
hashfun.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
hclip.c Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
includes.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
key.c Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
key.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
kv-pair.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
leafentry.c Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
leafentry.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
leaflock.c Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
leaflock.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
lock.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
log-internal.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
log.h [t:2561] Merge tokudb.2561b to main. Disabled auto-upgrade and auto-upgrade tests 2013-04-16 23:59:17 -04:00
log_upgrade.c [t:2561] Merge tokudb.2561b to main. Disabled auto-upgrade and auto-upgrade tests 2013-04-16 23:59:17 -04:00
logcursor.c Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
logcursor.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
logfilemgr.c [t:2561] Merge tokudb.2561b to main. Disabled auto-upgrade and auto-upgrade tests 2013-04-16 23:59:17 -04:00
logfilemgr.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
logformat.c [t:2561] Merge tokudb.2561b to main. Disabled auto-upgrade and auto-upgrade tests 2013-04-16 23:59:17 -04:00
logger.c [t:2692] Restore "write_log_files" check to fsync log on checkpoints 2013-04-16 23:59:18 -04:00
logger.h [t:2641] Merge DB_READCOMMITTED bugfix (r20839) to main. 2013-04-16 23:59:18 -04:00
make.include Merge changes from 2216a to main (except possibly for the windows subdirectory, which Yoni will do separately). 2013-04-16 23:59:01 -04:00
Makefile [t:2561] Merge tokudb.2561b to main. Disabled auto-upgrade and auto-upgrade tests 2013-04-16 23:59:17 -04:00
Makefile.new Move newbrt tests to subdir. Fixes #796. 2008-05-08 20:30:33 +00:00
memarena.c Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
memarena.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
memory-debug.c Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
mempool.c Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
mempool.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
minicron.c Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
minicron.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
omt.c Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
omt.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
pqueue.c Merge in changes. Refs #2608, #2609, and #2610. [t:2608] [t:2609] [t:2610] 2013-04-16 23:59:11 -04:00
pqueue.h Merge in changes. Refs #2608, #2609, and #2610. [t:2608] [t:2609] [t:2610] 2013-04-16 23:59:11 -04:00
queue.c The brtloader is now at 95.03% lines covered and 84.64% of branches taken. That's pretty good. We can work to remove a few more, but it's diminishing returns from here. [t:2647] Refs #2647. 2013-04-16 23:59:15 -04:00
queue.h Merge #2623 changes onto main line. The new test fails, but I need to get a merge from main again. Refs #2623. [t:2623] 2013-04-16 23:59:13 -04:00
rbuf.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
recover.c [t:2641] Merge DB_READCOMMITTED bugfix (r20839) to main. 2013-04-16 23:59:18 -04:00
recover.h [t:2561] Merge tokudb.2561b to main. Disabled auto-upgrade and auto-upgrade tests 2013-04-16 23:59:17 -04:00
roll.c Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
roll.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
rollback.c [t:2641] Merge DB_READCOMMITTED bugfix (r20839) to main. 2013-04-16 23:59:18 -04:00
rollback.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
rwlock.c Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
rwlock.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
sub_block.c Merge in changes. Refs #2608, #2609, and #2610. [t:2608] [t:2609] [t:2610] 2013-04-16 23:59:11 -04:00
sub_block.h Merge in changes. Refs #2608, #2609, and #2610. [t:2608] [t:2609] [t:2610] 2013-04-16 23:59:11 -04:00
sub_block_map.h Merge in changes. Refs #2608, #2609, and #2610. [t:2608] [t:2609] [t:2610] 2013-04-16 23:59:11 -04:00
tdb-recover.c Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
tdb_logprint.c Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
threadpool.c Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
threadpool.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
toku_worker.c Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
toku_worker.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
tokuconst.h Merge in changes. Refs #2608, #2609, and #2610. [t:2608] [t:2609] [t:2610] 2013-04-16 23:59:11 -04:00
trace_mem.c Merge in 2013-04-16 23:59:10 -04:00
trace_mem.h Turn off the instrumentation 2013-04-16 23:59:10 -04:00
txn.c [t:2504] Improve engine status. 2013-04-16 23:59:11 -04:00
txn.h [t:2504] Improve engine status. 2013-04-16 23:59:11 -04:00
ule.c [t:2561] Merge tokudb.2561b to main. Disabled auto-upgrade and auto-upgrade tests 2013-04-16 23:59:17 -04:00
ule.h Merge in changes. Refs #2608, #2609, and #2610. [t:2608] [t:2609] [t:2610] 2013-04-16 23:59:11 -04:00
valgrind.suppressions Closes #1378 Merged all changes into main. 2013-04-16 23:57:41 -04:00
wbuf.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
workqueue.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
workset.h Merge in changes. Refs #2608, #2609, and #2610. [t:2608] [t:2609] [t:2610] 2013-04-16 23:59:11 -04:00
x1764.c Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
x1764.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
xids-internal.h Merge in changes. Refs #2608, #2609, and #2610. [t:2608] [t:2609] [t:2610] 2013-04-16 23:59:11 -04:00
xids.c Merge in changes. Refs #2608, #2609, and #2610. [t:2608] [t:2609] [t:2610] 2013-04-16 23:59:11 -04:00
xids.h Merge in changes. Refs #2608, #2609, and #2610. [t:2608] [t:2609] [t:2610] 2013-04-16 23:59:11 -04:00
ybt.c Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00
ybt.h Merge the changes from 2499d onto the main line. Fixes #2499. close[t:2499]. 2013-04-16 23:59:09 -04:00