Commit graph

172 commits

Author SHA1 Message Date
Bradley C. Kuszmaul
6232f7a211 Fixes #1322.
git-svn-id: file:///svn/toku/tokudb.1032b@8301 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:31 -04:00
Rich Prohaska
4b13b221d7 build the liux bdb versions of db-benchmark-test and scanscan. closes #1320
git-svn-id: file:///svn/toku/tokudb.1032b@8300 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:31 -04:00
Yoni Fogel
ca04a5aa52 Addresses #1032
Removed reference to deprecated function in lieu of toku portability layer.

git-svn-id: file:///svn/toku/tokudb.1032b@8298 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:31 -04:00
Yoni Fogel
be65505075 Uncommented lines
git-svn-id: file:///svn/toku/tokudb.1032b@8267 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:30 -04:00
Yoni Fogel
3e2b8392c8 Addresses #1032
Add benchmark script to run a few common benchmarks

git-svn-id: file:///svn/toku/tokudb.1032b@8252 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:30 -04:00
Rich Prohaska
71686cbab4 add a single transaction abort to db-benchmark-test. addresses #1302
git-svn-id: file:///svn/toku/tokudb.1032b@8238 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:30 -04:00
Rich Prohaska
755bb35712 port perfnotes to windows. addresses #1246
git-svn-id: file:///svn/toku/tokudb.1032b@8046 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:29 -04:00
Rich Prohaska
0e4ca62390 imp toku_os_ closes #1253
git-svn-id: file:///svn/toku/tokudb.1032b@7838 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:28 -04:00
Rich Prohaska
7fe32bcba4 merge 1032 to 1032b. addresses #1231
git-svn-id: file:///svn/toku/tokudb.1032b@7815 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:28 -04:00
Rich Prohaska
ef43452992 fix an icc warning on eng32
git-svn-id: file:///svn/toku/tokudb@7758 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:26 -04:00
Bradley C. Kuszmaul
0ee4e385f1 Merge all mainline patches into the 1195 branch. Fixes #1243.
Details:  I merged with
{{{
svn merge -r6585:7747 https://svn.tokutek.com/tokudb/toku/tokudb
}}}
then resolved conflicts.  The most interesting conflict was the double inclusion of the {{{BLOCK_ALLOCATOR_HEADER_RESERVE}}} for {{{brt-internal.h}}}.   The subversion merger got confused because the patch was applied with an extra space at the end of each line.


git-svn-id: file:///svn/toku/tokudb.1243@7750 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:26 -04:00
Rich Prohaska
588457dbe8 play around with /proc/status. closes #1239
git-svn-id: file:///svn/toku/tokudb.1195@7682 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:25 -04:00
Rich Prohaska
e9a8a72193 add cachesize parameter to scanscan addresses #1195
git-svn-id: file:///svn/toku/tokudb.1195@7676 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:25 -04:00
Bradley C. Kuszmaul
ce6b171044 Merge the multihreaded writer changes as
{{{
svn merge -r 5899:5987 https://svn.tokutek.com/tokudb/tokudb
}}}
and resolve the conflicts.


git-svn-id: file:///svn/tokudb.1131b@5988 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:17 -04:00
Bradley C. Kuszmaul
cda54db4c4 compressibility becomes a float
git-svn-id: file:///svn/tokudb.1131@5975 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:17 -04:00
Bradley C. Kuszmaul
aa4caae5e4 Compression numbers measured and mailed out to tokueng. Addresses #1131.
git-svn-id: file:///svn/tokudb.1131@5970 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:17 -04:00
Bradley C. Kuszmaul
811b5458c9 Add --count to the db-benchmark-test function. Addresses #1131.
git-svn-id: file:///svn/tokudb.1131@5968 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:17 -04:00
Bradley C. Kuszmaul
2524f1d29f Add --norandom to the print_usage() function. Addresses #1131.
git-svn-id: file:///svn/tokudb.1131@5967 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:17 -04:00
Bradley C. Kuszmaul
430aa86333 Add -lz. Addresses #1131.
git-svn-id: file:///svn/tokudb.1131@5954 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:16 -04: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
Bradley C. Kuszmaul
05d057c019 Cleanup test dirs when doing make clean. Fixes #1028.
git-svn-id: file:///svn/tokudb@5182 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-18 12:34:24 +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
a68937a031 read the timestamp counter. closes #1012
git-svn-id: file:///svn/tokudb@5018 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-09 18:50:06 +00:00
Bradley C. Kuszmaul
6b685145d1 Merge {{{tokudb.906}}} into {{{tokudb}}}. Very few hash calls remain.
Did
{{{
svn merge -r4600:4610 https://svn.tokutek.com/tokudb/tokudb.906
}}}
and delete the 906 branch.

Fixes #906.


git-svn-id: file:///svn/tokudb@4615 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-18 00:30:36 +00:00
Bradley C. Kuszmaul
10f21e7224 Did a {{{svn merge}}} for {{{tokudb.907}}} and deleted {{{tokudb.907}}}.
Fixes #907.


git-svn-id: file:///svn/tokudb@4524 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-14 01:38:53 +00:00
Yoni Fogel
df7304b264 Closes #908
Implements DB->pre_acquire_table_lock
Also optimized lock tree for table write locks

git-svn-id: file:///svn/tokudb@4480 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-11 20:09:47 +00:00
Bradley C. Kuszmaul
8102ccf804 Fixup command line parsing
git-svn-id: file:///svn/tokudb@4473 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-11 18:02:43 +00:00
Yoni Fogel
62fa995705 Closes #904
Skip lock tree overhead (marshalling and calling)
when appropriate due to DB_PRELOCKED/DB_PRELOCKED_WRITE

git-svn-id: file:///svn/tokudb@4469 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-11 06:08:13 +00:00
Bradley C. Kuszmaul
2d0adda90c Use the {{{db->pre_acquire_read_lock}}} method for scanscan.
So to use the lightweight cursors with the prelock one does:
{{{
./scanscan-tokudb --prelock --nohwc --lwc
}}}

Addresses #893.


git-svn-id: file:///svn/tokudb@4454 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-10 16:37:56 +00:00
Bradley C. Kuszmaul
750998c9da Implement {{{DBC->c_getf_next}}}, with a simple test. Addresses #902.
git-svn-id: file:///svn/tokudb@4452 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-10 15:39:31 +00:00
Bradley C. Kuszmaul
b2dd143d95 Clean up scanscan. Addresses #820.
git-svn-id: file:///svn/tokudb@4420 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-08 15:53:50 +00:00
Bradley C. Kuszmaul
d12442d53e Implement 2nd scanscan, and allow txns to be turned off.
git-svn-id: file:///svn/tokudb@4351 c7de825b-a66e-492c-adef-691d508d4ae1
2008-06-03 21:55:47 +00:00
Bradley C. Kuszmaul
31144bf15b Make the leaf nodes have accurate memory footprint info.
git-svn-id: file:///svn/tokudb@4178 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-27 21:08:31 +00:00
Bradley C. Kuszmaul
7cc5c172bd Create a scan benchmark. Addresses #820.
git-svn-id: file:///svn/tokudb@4093 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-22 21:23:56 +00:00
Yoni Fogel
7d676f90d7 Closes #836
Fixes compile issues due to [3986]

git-svn-id: file:///svn/tokudb@3995 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-17 21:33:07 +00:00
Rich Prohaska
aca90fcd12 add a more interesting benchmark test with transactions. addresses #831
git-svn-id: file:///svn/tokudb@3970 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-15 13:11:55 +00:00
Bradley C. Kuszmaul
7828ced3a8 Finish up the pretty output. Fixes #811.
git-svn-id: file:///svn/tokudb@3926 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-13 02:35:50 +00:00
Bradley C. Kuszmaul
e93dbb72c8 Add args
git-svn-id: file:///svn/tokudb@3880 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-09 02:57:33 +00:00
Bradley C. Kuszmaul
c51c24fe1e Write the parallel test. Addresses #800.
git-svn-id: file:///svn/tokudb@3879 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 22:52:59 +00:00
Bradley C. Kuszmaul
3d390446a6 Write the parallel test. Addresses #800.
git-svn-id: file:///svn/tokudb@3878 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 22:52:20 +00:00
Bradley C. Kuszmaul
13105525e3 Write the parallel test. Addresses #800.
git-svn-id: file:///svn/tokudb@3877 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 22:50:45 +00:00
Bradley C. Kuszmaul
eb5c50174e Move newbrt tests to subdir. Fixes #796.
git-svn-id: file:///svn/tokudb@3869 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 21:22:49 +00:00
Bradley C. Kuszmaul
1ab083db9e Make toku_assert faster avoiding the call unless the expression fails. Addresses #794.
git-svn-id: file:///svn/tokudb@3857 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-08 15:10:04 +00:00
Rich Prohaska
0ebdc145de add cmd line parameters to allow one to control the env open flags. addresses #460
git-svn-id: file:///svn/tokudb@3525 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-20 11:14:05 +00:00
Rich Prohaska
33ea1592fb get -pg working with db-benchmark-test
git-svn-id: file:///svn/tokudb@3367 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-08 15:20:36 +00:00
Bradley C. Kuszmaul
83d416fa09 Merge the 558 branch back to the main with
{{{
svn merge -r3061:3225 https://svn.tokutek.com/tokudb/tokudb.558
}}}

Fixes #630.
Addresses #558.


git-svn-id: file:///svn/tokudb@3226 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-02 23:40:36 +00:00
Bradley C. Kuszmaul
072c3c2f5e Make {{{PROF_FLAGS=-pg}}} cause static linking to happen for {{{db-benchmark-test-tokudb}}}. Addresses #515.
git-svn-id: file:///svn/tokudb@2756 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-12 08:36:02 +00:00
Bradley C. Kuszmaul
4ea09248a3 All the makefiles should honor {{{PROF_FLAGS}}}. Make db-benchmark-test statically linkable by removing the conflict with {{{toku_fill_dbt}}}. Although gprof still doesn't work with dynamically linked libraries, we can statically link it and get useful info. Closes #515.
git-svn-id: file:///svn/tokudb@2755 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-12 08:30:49 +00:00
Rich Prohaska
1ef466eee2 get make check working
git-svn-id: file:///svn/tokudb@2502 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-03 14:30:19 +00:00
Rich Prohaska
32ae76dc9c add --norandom
git-svn-id: file:///svn/tokudb@2483 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-01 15:32:38 +00:00