Skip to content

Commit

Permalink
update with cosbench example for issue #43 help
Browse files Browse the repository at this point in the history
Closes #63
  • Loading branch information
wadeholler authored and Mark Nelson committed Jan 25, 2016
1 parent ebfed44 commit 1203c2b
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 0 deletions.
47 changes: 47 additions & 0 deletions example/wip-cosbench/cosbench_ex.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
cluster:
user: 'cbt'
head: "cadmin"
clients: ["cadmin"]
osds: ["inf1", "inf2", "inf3"]
mons:
inf1:
a: "192.168.110.51:6789"
inf2:
b: "192.168.110.52:6789"
inf3:
c: "192.168.110.53:6789"
rgws: ["inf1", "inf2", "inf3"]
osds_per_node: 1
fs: 'xfs'
mkfs_opts: '-f -i size=2048 -n size=64k'
mount_opts: '-o inode64,noatime,logbsize=256k'
conf_file: '/home/cbt/cbt/runs/test2.ceph.conf'
iterations: 1
use_existing: True
clusterid: "ceph"
tmp_dir: "/tmp/cbt"
pool_profiles:
rbd:
pg_size: 64
pgp_size: 64
replication: 2
benchmarks:
cosbench:
obj_size: [64KB]
osd_ra: [4096]
workers: 1
containers_max: 10
objects_max: 100
mode: [write]
cosbench_dir: '/home/cbt/cb/0.4.1.0'
cosbench_xml_dir: '/home/cbt/cb/xml_dir'
controller: "cadmin"
auth:
config: username=cosbench:operator;password=intel2012;url=http://192.168.110.51:7480/auth/v1.0;retry=9
template: [default]
rampup: 10
runtime: 100
rampdown: 10
containers: ["u(1,100)"]
objects: ["u(1,100)"]
ratio: [100]
54 changes: 54 additions & 0 deletions example/wip-cosbench/cosbench_ex_ceph.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
[global]
osd pool default size = 1
auth cluster required = none
auth service required = none
auth client required = none
keyring = /tmp/cbt/ceph/keyring
osd pg bits = 8
osd pgp bits = 8
log to syslog = false
log file = /tmp/cbt/ceph/log/$name.log
public network = 192.168.110.0/24
cluster network = 192.168.110.0/24
rbd cache = true
osd scrub load threshold = 0.01
osd scrub min interval = 137438953472
osd scrub max interval = 137438953472
osd deep scrub interval = 137438953472
osd max scrubs = 16
filestore merge threshold = 40
filestore split multiple = 8
osd op threads = 8
mon pg warn max object skew = 100000
mon pg warn min per osd = 0
mon pg warn max per osd = 32768

[mon]
mon data = /tmp/cbt/ceph/mon.$id

[mon.a]
host = inf1
mon addr = 192.168.110.51:6789

[mon.b]
host = inf2
mon addr = 192.168.110.52:6789

[mon.c]
host = inf3
mon addr = 192.168.110.53:6789

[osd.0]
host = inf1
osd data = /tmp/cbt/mnt/osd-device-0-data
osd journal = /dev/disk/by-partlabel/osd-device-0-journal

[osd.1]
host = inf2
osd data = /tmp/cbt/mnt/osd-device-0-data
osd journal = /dev/disk/by-partlabel/osd-device-0-journal

[osd.2]
host = inf3
osd data = /tmp/cbt/mnt/osd-device-0-data
osd journal = /dev/disk/by-partlabel/osd-device-0-journal

0 comments on commit 1203c2b

Please sign in to comment.