Skip to content

Commit

Permalink
MB-100: add small scale vperf test
Browse files Browse the repository at this point in the history
Change-Id: I209ee2e183400621d078cb7be9049d423304f4ed
Reviewed-on: http://review.couchbase.org/26468
Tested-by: Pavel Paulau <pavel.paulau@gmail.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
  • Loading branch information
pavel-paulau committed May 22, 2013
1 parent f2fdb51 commit e202672
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
47 changes: 47 additions & 0 deletions conf/perf/vperf-lnx-dbg.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# View performance test for Linux:
# 8K ops/sec
# 80% reads, 20% write (12% updates/deletes, 8% inserts)
# 1M dataset (non-DGM)
# 3 ddocs with 3 views per ddoc
# Stop after 1 hours

performance.iperf.MultiClientTests.test_vperf

params:

# general
batch=50
kind=json
mem_quota=15000

# load phase
items=1000000
hot_init_items=1000

# index phase
views=[3, 3, 3]

# access phase
ratio_sets=0.2
ratio_misses=0.04
ratio_creates=0.40
ratio_deletes=0.50
ratio_hot=0.2
ratio_hot_gets=0.95
ratio_hot_sets=0.95
ratio_expirations=0.03
bg_max_ops_per_sec=500
fg_max_ops=600000000
total_clients=16
time=3600

# control (defaults: pytests/performance/perf_defaults.py)
load_wait_until_drained=1
loop_wait_until_drained=0
mcsoda_heartbeat=3
tear_down=1
tear_down_proxy=1
tear_down_bucket=0
tear_down_cluster=1
tear_down_on_setup=0
cbm=1
16 changes: 16 additions & 0 deletions resources/perf/vesta-1.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[global]
username:root
password:couchbase
port:8091
data_path:/data
index_path:/data2

[servers]
1:10.2.1.65

[clients]
1:10.2.1.60

[membase]
rest_username:Administrator
rest_password:password

0 comments on commit e202672

Please sign in to comment.