Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example Analysis of cosbecnch Automation for ceph performance testing

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces the ceph performance testing cosbecnch automation example analysis, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.

1. Use CosBench test to complete the benchmark performance report of ceph, and manually collect IO/CPU/disk load data of ceph hosts.

Learn the deployment process by looking at COSBenchUserGuide.pdf, and you can easily deploy with full reference to this document. After testing, librados-config-sample.xml and s3-config-sample*.xml can be used normally. Make sure it conforms to the xml format when using it.

Configuration instructions:

A. storage type= "S3" specifies the type definition, which corresponds to the RGW interface that accesses ceph, which can be accessed normally through apache and nginx servers.

B. work type= "init" creates bucket;operation type= "read" read S3 interface object for S3; operation type= "write" writes S3 interface object; work type= "cleanup" deletes S3 interface object; work type= "dispose" clears bucket

S3 users created by C.storage 's config= "accesskey=979OLL*;secretkey=nOM*;endpoint= http://*.*.0.1" for rados-admin

D. Config. the two bucket created by d. Config. are s3testqwer5 and s3testqwer6, and the objects in each bucket are cprefix=s3testqwer;containers=r 2000, a total of 2, 000 objects.

Note: the corresponding jar package is.\ cos\ osgi\ plugins\ cosbench-s3_0.4.1.0.jar

Log view:

Change the log_level = DEBUG in the A.. / cos/conf/driver.conf file to debug mode and turn on the error message

Log_level = INFO in the B.. / cos/conf/controller.conf file is changed to debug mode as needed

c. Error logs such as connecting and loading jar packages. In .cos / log/system.log, the log/mission directory is the workload log for each run.

d. Generally speaking, I load the stress test configuration file through the http://192.168.1.105:19088/controller/index.html web page. If necessary, I can load a lot of them. Under normal circumstances, I will run all the workload sequentially.

2. Use CosBench test to complete the benchmark performance report of ceph, and manually use shell script to count the load data at run time.

When testing, we need to observe the usage of system resources. We use the dstat command to view CPU and network load, and the iostat command to view disk load.

The installation command is yum install dstat;yum install sysstat.

Iostat-dx 3 5 prints disk io 5 times in 3 seconds, mainly observing two items of await/%util

Dstat prints once a second

At the beginning, it is through the command to print crt, and then through excell statistics, each pressure test will be manually processed for 1 hour. Later, the average value is counted and output directly through the command, and the report can be generated directly after running.

3. Use CosBench test to complete ceph benchmark performance report, use shell script to output CEPH host load data, and manually output the report directly through log data.

4. Develop the corresponding lib library for CosBench testing to complete DNS parsing, connect multiple RGW at the same time, and test the load. Stop observing the testing process and finish the report directly after the test.

Thank you for reading this article carefully. I hope the article "sample Analysis of cosbecnch Automation in ceph performance testing" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report