summaryrefslogtreecommitdiff
path: root/bench/wtperf
diff options
context:
space:
mode:
authorSusan LoVerso <sue@wiredtiger.com>2014-10-22 10:25:27 -0400
committerSusan LoVerso <sue@wiredtiger.com>2014-10-22 10:25:27 -0400
commit4cb6e7dcb26a4ec59ed41d1be65e0cb57aea8f52 (patch)
tree8c5f47f9c01f6185e9047cf9b918d2c6c877a754 /bench/wtperf
parentd7f3c3aec9cb128d72cc3c4ccdcb02d8623282e2 (diff)
downloadmongo-4cb6e7dcb26a4ec59ed41d1be65e0cb57aea8f52.tar.gz
Remove unsupported schema_threads.
Diffstat (limited to 'bench/wtperf')
-rw-r--r--bench/wtperf/runners/long-txn-btree.wtperf1
-rw-r--r--bench/wtperf/runners/long-txn-lsm.wtperf1
-rw-r--r--bench/wtperf/wtperf.c4
-rw-r--r--bench/wtperf/wtperf_opt.i4
4 files changed, 4 insertions, 6 deletions
diff --git a/bench/wtperf/runners/long-txn-btree.wtperf b/bench/wtperf/runners/long-txn-btree.wtperf
index dc141ce20cb..31f264b1536 100644
--- a/bench/wtperf/runners/long-txn-btree.wtperf
+++ b/bench/wtperf/runners/long-txn-btree.wtperf
@@ -5,4 +5,5 @@ icount=5000000
report_interval=5
run_time=120
populate_threads=1
+# Have a long running reader, throttled to a max of 5000 ops per second.
threads=((count=4,reads=1,updates=1),(count=1,reads=1,ops_per_txn=100000,throttle=5000))
diff --git a/bench/wtperf/runners/long-txn-lsm.wtperf b/bench/wtperf/runners/long-txn-lsm.wtperf
index 76c09a3f930..cc5a6b77a17 100644
--- a/bench/wtperf/runners/long-txn-lsm.wtperf
+++ b/bench/wtperf/runners/long-txn-lsm.wtperf
@@ -5,4 +5,5 @@ icount=5000000
report_interval=5
run_time=120
populate_threads=1
+# Have a long running reader, throttled to a max of 5000 ops per second.
threads=((count=4,reads=1,updates=1),(count=1,reads=1,ops_per_txn=100000,throttle=5000))
diff --git a/bench/wtperf/wtperf.c b/bench/wtperf/wtperf.c
index b8776497a17..4b6c631fe87 100644
--- a/bench/wtperf/wtperf.c
+++ b/bench/wtperf/wtperf.c
@@ -392,11 +392,11 @@ worker(void *arg)
cfg = thread->cfg;
conn = cfg->conn;
cursors = NULL;
+ ops = 0;
+ ops_per_txn = thread->workload->ops_per_txn;
session = NULL;
trk = NULL;
throttle_ops = 0;
- ops = 0;
- ops_per_txn = thread->workload->ops_per_txn;
if ((ret = conn->open_session(
conn, NULL, cfg->sess_config, &session)) != 0) {
diff --git a/bench/wtperf/wtperf_opt.i b/bench/wtperf/wtperf_opt.i
index c04f0f214f6..3b4ddb6b3ad 100644
--- a/bench/wtperf/wtperf_opt.i
+++ b/bench/wtperf/wtperf_opt.i
@@ -136,10 +136,6 @@ DEF_OPT_AS_UINT32(sample_interval, 0,
DEF_OPT_AS_UINT32(sample_rate, 50,
"how often the latency of operations is measured. One for every operation,"
"two for every second operation, three for every third operation etc.")
-DEF_OPT_AS_STRING(schema_threads, "", "Sometimes it's interesting to have "
- "tables being created and removed in parallel with other operations. "
- "Valid options for the schema_workload setting are: create, populate, "
- "rollback")
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,"