diff options
author | Alex Gorrod <alexg@wiredtiger.com> | 2014-09-24 23:58:08 +0000 |
---|---|---|
committer | Alex Gorrod <alexg@wiredtiger.com> | 2014-09-24 23:58:08 +0000 |
commit | 29ba293d6f203f833b9bb8f910d7ecce74bcf3ee (patch) | |
tree | 88f1031e156e2254ac908bfed5a673d8299e7f60 /bench/wtperf/wtperf_opt.i | |
parent | 9ec3a4f8bbb9c2fe044bdbb77602b2e866cb169f (diff) | |
download | mongo-29ba293d6f203f833b9bb8f910d7ecce74bcf3ee.tar.gz |
Add the ability to throttle workers in wtperf.
Not currently implemented for async.
Diffstat (limited to 'bench/wtperf/wtperf_opt.i')
-rw-r--r-- | bench/wtperf/wtperf_opt.i | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bench/wtperf/wtperf_opt.i b/bench/wtperf/wtperf_opt.i index 2f51f5be5b9..606297eb438 100644 --- a/bench/wtperf/wtperf_opt.i +++ b/bench/wtperf/wtperf_opt.i @@ -148,12 +148,14 @@ DEF_OPT_AS_UINT32(table_count, 1, DEF_OPT_AS_STRING(threads, "", "workload configuration: each 'count' " "entry is the total number of threads, and the 'insert', 'read' and " "'update' entries are the ratios of insert, read and update operations " - "done by each worker thread; multiple workload configurations may be " + "done by each worker thread; If a throttle value is provided each thread " + "will do a maximum of that number of operations per second; multiple " + "workload configurations may be " "specified; for example, a more complex threads configuration might be " "'threads=((count=2,reads=1)(count=8,reads=1,inserts=2,updates=1))' " "which would create 2 threads doing nothing but reads and 8 threads " "each doing 50% inserts and 25% reads and updates. Allowed configuration " - "values are 'count', 'reads', 'inserts', 'updates'") + "values are 'count', 'throttle', 'reads', 'inserts', 'updates'") DEF_OPT_AS_CONFIG_STRING(transaction_config, "", "transaction configuration string, relevant when populate_opts_per_txn " "is nonzero") |