diff options
author | Alex Gorrod <alexg@wiredtiger.com> | 2015-05-04 12:18:09 +1000 |
---|---|---|
committer | Alex Gorrod <alexg@wiredtiger.com> | 2015-05-04 12:18:09 +1000 |
commit | fd48d852220a768fc6a0dd407d0beaa866c7f750 (patch) | |
tree | f42dd0372978da97e33fce178f97b6165cfc7364 /bench/wtperf/wtperf_opt.i | |
parent | 4eeff5033f014ec097a7ff649c1c7f78c815f3d1 (diff) | |
download | mongo-fd48d852220a768fc6a0dd407d0beaa866c7f750.tar.gz |
Update wtperf.
Add support for creating an index on the main table.
Add support for different distributions via pareto random numbers.
Diffstat (limited to 'bench/wtperf/wtperf_opt.i')
-rw-r--r-- | bench/wtperf/wtperf_opt.i | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bench/wtperf/wtperf_opt.i b/bench/wtperf/wtperf_opt.i index cfc39933517..149e5d30cd0 100644 --- a/bench/wtperf/wtperf_opt.i +++ b/bench/wtperf/wtperf_opt.i @@ -110,6 +110,8 @@ DEF_OPT_AS_UINT32(drop_tables, 0, DEF_OPT_AS_UINT32(icount, 5000, "number of records to initially populate. If multiple tables are " "configured the count is spread evenly across all tables.") +DEF_OPT_AS_BOOL(index, 0, + "Whether to create an index on the value field.") DEF_OPT_AS_BOOL(insert_rmw, 0, "execute a read prior to each insert in workload phase") DEF_OPT_AS_UINT32(key_sz, 20, "key size") @@ -119,7 +121,9 @@ DEF_OPT_AS_UINT32(min_throughput, 0, DEF_OPT_AS_UINT32(max_latency, 0, "abort if any latency measured exceeds this number of milliseconds." "Requires sample_interval to be configured") -DEF_OPT_AS_BOOL(pareto, 0, "use pareto 80/20 distribution for random numbers") +DEF_OPT_AS_UINT32(pareto, 0, "use pareto distribution for random numbers. Zero " + "to disable, otherwise a percentage indicating how aggressive the " + "distribution should be.") DEF_OPT_AS_UINT32(populate_ops_per_txn, 0, "number of operations to group into each transaction in the populate " "phase, zero for auto-commit") @@ -142,7 +146,7 @@ DEF_OPT_AS_UINT32(sample_rate, 50, "two for every second operation, three for every third operation etc.") DEF_OPT_AS_CONFIG_STRING(sess_config, "", "session configuration string") DEF_OPT_AS_CONFIG_STRING(table_config, - "key_format=S,value_format=S,type=lsm,exclusive=true," + "key_format=S,value_format=S,columns=(key,val),type=lsm,exclusive=true," "allocation_size=4kb,internal_page_max=64kb,leaf_page_max=4kb," "split_pct=100", "table configuration string") |