Readme example update

master
Alexey Kostin 2019-03-11 16:58:05 +03:00
parent 997422b348
commit 773c4b985a
1 changed files with 67 additions and 18 deletions

View File

@ -59,24 +59,73 @@ Example
--------------
```
[root@host-1]# ./ceph-gobench -d 10s -p testpool --define osd.61
2019/02/28 18:26:19 Bench result for osd.61
osdname osd.61 ceph_release/version mimic/13.2.2 cpu Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz
default_device_class ssd devices dm-19,dm-24,sdv distro_description CentOS Linux 7 (Core)
front_addr 10.0.0.1:6831 hostname host-1 journal_rotational 0
kernel_version 3.10.0-957.1.3.el7.x86_64 mem_swap_kb 0 mem_total_kb 263921472
osd_data /var/lib/ceph/osd/ceph-61 osd_objectstore bluestore rotational 0
[root@host1 ~]# ./ceph-gobench-v1.3 -t 10 -d 10s --rdefine "osd.[0-2]$" --parallel
2019/03/11 16:53:58 Calculating objects
2019/03/11 16:54:07 Benchmark started
2019/03/11 16:54:21 Bench result for osd.2
osdname osd.2 ceph_release/version nautilus/14.1.0 cpu Intel(R) Xeon(R) CPU E5-2603 v4 @ 1.70GHz
default_device_class hdd devices sdc distro_description CentOS Linux 7 (Core)
front_addr [v2:10.0.0.10:6887 hostname host1 journal_rotational 1
kernel_version 3.10.0-957.5.1.el7.x86_64 mem_swap_kb 32964604 mem_total_kb 65693020
osd_data /var/lib/ceph/osd/ceph-2 osd_objectstore bluestore rotational 1
Avg iops: 1410 Avg speed: 5.510 MB/s Total writes count: 14066 Total writes (MB): 54
Avg iops: 330 Avg speed: 1.289 MB/s Total writes count: 3381 Total writes (MB): 13
[0.4-0.5) ms: [ ] Count: 63 Total written: 0.246 MB
[0.5-0.6) ms: [########## ] Count: 2830 Total written: 11.055 MB
[0.6-0.7) ms: [############# ] Count: 3857 Total written: 15.066 MB
[0.7-0.8) ms: [################ ] Count: 4578 Total written: 17.883 MB
[0.8-0.9) ms: [####### ] Count: 2082 Total written: 8.133 MB
[0.9-1.0) ms: [# ] Count: 391 Total written: 1.527 MB
[1.0-1.1) ms: [ ] Count: 255 Total written: 0.996 MB
[2.0-3.0) ms: [ ] Count: 8 Total written: 0.031 MB
[3.0-4.0) ms: [ ] Count: 1 Total written: 0.004 MB
[4.0-5.0) ms: [ ] Count: 1 Total written: 0.004 MB
[8.0-9.0) ms: [ ] Count: 9 Total written: 0.035 MB
[10-20) ms: [##################### ] Count: 1460 Total written: 5.703 MB
[20-30) ms: [##################### ] Count: 1421 Total written: 5.551 MB
[40-50) ms: [ ] Count: 1 Total written: 0.004 MB
[50-60) ms: [ ] Count: 10 Total written: 0.039 MB
[60-70) ms: [ ] Count: 10 Total written: 0.039 MB
[70-80) ms: [ ] Count: 20 Total written: 0.078 MB
[80-90) ms: [# ] Count: 71 Total written: 0.277 MB
[90-100) ms: [## ] Count: 150 Total written: 0.586 MB
[100-199] ms: [### ] Count: 229 Total written: 0.895 MB
2019/03/11 16:54:21 Bench result for osd.1
osdname osd.1 ceph_release/version nautilus/14.1.0 cpu Intel(R) Xeon(R) CPU E5-2603 v4 @ 1.70GHz
default_device_class hdd devices sdb distro_description CentOS Linux 7 (Core)
front_addr [v2:10.0.0.10:6824 hostname host1 journal_rotational 1
kernel_version 3.10.0-957.5.1.el7.x86_64 mem_swap_kb 32964604 mem_total_kb 65693020
osd_data /var/lib/ceph/osd/ceph-1 osd_objectstore bluestore rotational 1
Avg iops: 330 Avg speed: 1.289 MB/s Total writes count: 3397 Total writes (MB): 13
[10-20) ms: [################### ] Count: 1303 Total written: 5.090 MB
[20-30) ms: [##################### ] Count: 1480 Total written: 5.781 MB
[40-50) ms: [ ] Count: 14 Total written: 0.055 MB
[50-60) ms: [ ] Count: 64 Total written: 0.250 MB
[60-70) ms: [ ] Count: 66 Total written: 0.258 MB
[70-80) ms: [## ] Count: 158 Total written: 0.617 MB
[80-90) ms: [## ] Count: 168 Total written: 0.656 MB
[90-100) ms: [# ] Count: 68 Total written: 0.266 MB
[100-199] ms: [# ] Count: 76 Total written: 0.297 MB
2019/03/11 16:54:21 Bench result for osd.0
osdname osd.0 ceph_release/version nautilus/14.1.0 cpu Intel(R) Xeon(R) CPU E5-2603 v4 @ 1.70GHz
default_device_class hdd devices sda distro_description CentOS Linux 7 (Core)
front_addr [v2:10.0.0.10:6867 hostname host1 journal_rotational 1
kernel_version 3.10.0-957.5.1.el7.x86_64 mem_swap_kb 32964604 mem_total_kb 65693020
osd_data /var/lib/ceph/osd/ceph-0 osd_objectstore bluestore rotational 1
Avg iops: 320 Avg speed: 1.250 MB/s Total writes count: 3260 Total writes (MB): 12
[10-20) ms: [#################### ] Count: 1330 Total written: 5.195 MB
[20-30) ms: [#################### ] Count: 1359 Total written: 5.309 MB
[30-40) ms: [ ] Count: 19 Total written: 0.074 MB
[40-50) ms: [ ] Count: 21 Total written: 0.082 MB
[50-60) ms: [ ] Count: 60 Total written: 0.234 MB
[60-70) ms: [ ] Count: 1 Total written: 0.004 MB
[70-80) ms: [ ] Count: 57 Total written: 0.223 MB
[80-90) ms: [## ] Count: 135 Total written: 0.527 MB
[90-100) ms: [## ] Count: 138 Total written: 0.539 MB
[100-199] ms: [## ] Count: 140 Total written: 0.547 MB
osd.0 Avg iops: 320 Avg speed: 1.250 MB/s Total writes count: 3260 Total writes (MB): 12
osd.1 Avg iops: 330 Avg speed: 1.289 MB/s Total writes count: 3397 Total writes (MB): 13
osd.2 Avg iops: 330 Avg speed: 1.289 MB/s Total writes count: 3381 Total writes (MB): 13
Average iops per osd: 330 Average speed per osd: 1.289 MB/s
Total writes count: 10038 Total writes (MB): 39
Summary avg iops: 990 Summary avg speed: 3.867 MB/s
```