Commit graph

5445 commits

Author SHA1 Message Date
John Esmet
c9ded07b2f fixes #5848 add "Id" keyword to each file that did not already have it
git-svn-id: file:///svn/toku/tokudb@51639 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
John Esmet
fbedcc475d refs #5801 merge 5801 (improve threaded stress test framework) to main: now the loader is used for sufficiently large tables, correctness tests fill tables with zeroes while performance tests fill them with bytes based on compressibility, and both use similar code paths for key/val generation for better consistency and readability
git-svn-id: file:///svn/toku/tokudb@51638 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
Leif Walsh
69910da437 refs #5861 fix the bug on mainline
git-svn-id: file:///svn/toku/tokudb@51529 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
Leif Walsh
0d80171a74 run upgrade stress tests on 6.5.1 with python script
git-svn-id: file:///svn/toku/tokudb@51482 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
Leif Walsh
8698cd86b3 run upgrade stress tests on 6.5.1 with cmake
git-svn-id: file:///svn/toku/tokudb@51480 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
Leif Walsh
97df96664e tweak drd timeouts again
git-svn-id: file:///svn/toku/tokudb@51477 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
Leif Walsh
cf91d65b53 refs #5672 tune timeouts for drd tests
git-svn-id: file:///svn/toku/tokudb@51473 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
Leif Walsh
2ae96c7073 refs #5798 update cachetable-clock-eviction to reflect new probabilistic eviction strategy
git-svn-id: file:///svn/toku/tokudb@51472 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
Leif Walsh
7e154676dd refs #5850 try scaling loader-stress-test4z.tdb back a bit
git-svn-id: file:///svn/toku/tokudb@51471 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
Leif Walsh
d04efb0304 refs #5742 #5743 suppress more helgrind warnings due to kde bug 307082
git-svn-id: file:///svn/toku/tokudb@51470 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
Leif Walsh
7ef0dba244 refs #5351 add drd suppression
git-svn-id: file:///svn/toku/tokudb@51469 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
Leif Walsh
f61eeb6b74 refs #5833 don't run valgrind over helgrind
git-svn-id: file:///svn/toku/tokudb@51468 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
Yoni Fogel
c94d4395a7 refs #5850 Add loader-stress-test support for different valsizes
Modified loader-stress-test-4z (row count /= 10, row size *= 10) to make it faster in valgrind

git-svn-id: file:///svn/toku/tokudb@51458 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
Yoni Fogel
554f73c48a refs #5810 Modify maxsize so it can fail (and detect failure) on any db
git-svn-id: file:///svn/toku/tokudb@51457 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
Leif Walsh
4c17413ad2 refs #5833 skip helgrind test on darwin/others
git-svn-id: file:///svn/toku/tokudb@51446 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
Leif Walsh
5055a42984 refs #5781 fix stress test script, copy more libs
git-svn-id: file:///svn/toku/tokudb@51429 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
Leif Walsh
1c2644fb23 refs #5833 don't return from allocate_counter without unlocking
git-svn-id: file:///svn/toku/tokudb@51425 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
Leif Walsh
32698fa975 refs #5672 #5351 increase drd timeouts some more (ugh), make locktree stop reporting false positives
git-svn-id: file:///svn/toku/tokudb@51378 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:25 -04:00
Bradley C. Kuszmaul
0137da6728 Fix #5833. Add a test that notices the lack of locking while initialing a partitioned counter, and fix it.
git-svn-id: file:///svn/toku/tokudb@51376 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
Bradley C. Kuszmaul
a06169079c Fix #5835: minor fixes to partitioned_counters.
git-svn-id: file:///svn/toku/tokudb@51374 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
John Esmet
2ce44e52ee refs #5828 destroy the root node when the concurrent tree is destroyed.
git-svn-id: file:///svn/toku/tokudb@51345 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
Leif Walsh
95dc3b3635 refs #5670 quick fix
git-svn-id: file:///svn/toku/tokudb@51327 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
Leif Walsh
69ac91d63d refs #5781 #5670 clean up stress test script, email about more failures
git-svn-id: file:///svn/toku/tokudb@51326 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
Leif Walsh
23d7bd902b increase timeouts for some compressed loader tests
git-svn-id: file:///svn/toku/tokudb@51322 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
Leif Walsh
5136c153bd refs #5672 add suppression for signaling the eviction thread cond without holding its mutex
git-svn-id: file:///svn/toku/tokudb@51310 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
Leif Walsh
1517b01985 refs #5672 compile drd/helgrind tests with -O1 so they complete in a reasonable amount of time
git-svn-id: file:///svn/toku/tokudb@51305 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
Leif Walsh
d5f87ff058 closes #5784 don't run valgrind on tdb-recover because it's statically linked and we can't change --soname-synonyms for just one child
git-svn-id: file:///svn/toku/tokudb@51299 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
John Esmet
62c43ec68e back out change
git-svn-id: file:///svn/toku/tokudb@51266 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
Yoni Fogel
93515995a5 refs #5663 Delete obsolete todo
git-svn-id: file:///svn/toku/tokudb@51265 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
John Esmet
21c497abe8 refs #5801 wrangle with the optimizer over strict-aliasing
git-svn-id: file:///svn/toku/tokudb@51260 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
John Esmet
05eeb46a18 fixes #5801 perf framework has been improved in a few ways:
- minimum key/val size is up to 8 bytes. now perf tests and stress tests have a consistent mechanism for generating keys and values, reducing headache.
- perf tests use a "main" function that generates tables based on the provided key/val size and compressibility, while stress (correctness) tests use a main function that generates tables with a provided (default in all cases, I think) key/val size and fully zero'd values, so the table is in the "correct" zero-sum state. previously this was causing perf tests to generate zer-valued rows always, no matter what row size you wanted or how much compressibility was requested, which clearly skewed performance results (ie: your 100 byte rows are only 8 bytes)
- renamed legacy NULL pointers to nullptr
- moved some "special" operations to the perf/stress tests that use them instead of the global header, to keep things more tidy.



git-svn-id: file:///svn/toku/tokudb@51258 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
John Esmet
3909900311 fixes #5812
git-svn-id: file:///svn/toku/tokudb@51256 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
John Esmet
3cb519b5e6 refs #5811 fix mac build
git-svn-id: file:///svn/toku/tokudb@51254 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
John Esmet
ce3d75552b fixes #5722 fully removed max_partitioned counter dead code
git-svn-id: file:///svn/toku/tokudb@51251 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
Yoni Fogel
c7124719dc refs #5663 Fix compiler warning
git-svn-id: file:///svn/toku/tokudb@51240 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
Yoni Fogel
12ccf6ae0a refs #5663 Merge #5663 onto main
git-svn-id: file:///svn/toku/tokudb@51238 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
Zardosht Kasheff
c4a8d4434c refs #5805, merge fix to main
git-svn-id: file:///svn/toku/tokudb@51216 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
John Esmet
1fd162242d fixes #5797 cilk artifacts removed
git-svn-id: file:///svn/toku/tokudb@51213 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:24 -04:00
Yoni Fogel
00ac50e3e9 refs #5802 Fix calculations for probabilistic clock,
take into account things could be negative (so use int64_ts instead of uint_64) and set appropriate max for size_current

git-svn-id: file:///svn/toku/tokudb@51207 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:23 -04:00
Zardosht Kasheff
3ad68549df refs #5802, compile fix
git-svn-id: file:///svn/toku/tokudb@51206 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:23 -04:00
Zardosht Kasheff
985e18813f refs #5802, add some casts
git-svn-id: file:///svn/toku/tokudb@51205 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:23 -04:00
Zardosht Kasheff
d13962d4d6 closes #5807, remove assert until we have #5672 fixed
git-svn-id: file:///svn/toku/tokudb@51201 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:23 -04:00
Zardosht Kasheff
e5151f7eda refs #5802, refine comment
git-svn-id: file:///svn/toku/tokudb@51200 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:23 -04:00
Zardosht Kasheff
bf54341114 refs #5802, fix up math, fix inequality
git-svn-id: file:///svn/toku/tokudb@51198 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:23 -04:00
Zardosht Kasheff
cd8b5d7e2b refs #5802, fix some math
git-svn-id: file:///svn/toku/tokudb@51192 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:23 -04:00
Zardosht Kasheff
97d8311d89 refs #5802, fix some math
git-svn-id: file:///svn/toku/tokudb@51190 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:23 -04:00
Zardosht Kasheff
979ce809bb refs #5802, redo the math to avoid divisions and expensive modular arithmetic, add comments explaining why math makes sense
git-svn-id: file:///svn/toku/tokudb@51189 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:23 -04:00
Zardosht Kasheff
9fbe4863a0 refs #5802, merge probabilistic PAIR clock decrementing from tokudb.fb to main.
git-svn-id: file:///svn/toku/tokudb@51187 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:23 -04:00
Zardosht Kasheff
004cf78b56 closes #5804, merge 51139, work to read in entire internal nodes into memory, compressed, as opposed to using two I/O's, to main.
git-svn-id: file:///svn/toku/tokudb@51185 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:23 -04:00
John Esmet
4f21a8ed0c refs #5801 actually, don't do this just yet - needs a little more
git-svn-id: file:///svn/toku/tokudb@51157 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:23 -04:00