Book Image

Mastering Proxmox

By : Wasim Ahmed
Book Image

Mastering Proxmox

By: Wasim Ahmed

Overview of this book

Table of Contents (17 chapters)
Mastering Proxmox
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Ceph benchmarking


There are many ways to run a benchmark test on a Ceph cluster to check disk drive, network, and cluster performance. Use the following commands to test the performance of the Ceph cluster.

To write a block of data to test write performance, use the following command:

root@node:/# rados –p <pool> bench –b <blockSize> <seconds> <write> -t <threads> --no-cleanup

To read a block of data to test read performance, use the following command:

root@node:/# rados –p <pool> bench –b <blockSize> <seconds> <seq> -t <threads>

After each of the previous commands, run the following command to clear cache:

root@node:/# echo 3 > tee /proc/sys/vm/drop_caches && sync

We can create a separate pool for the purpose of benchmarking so that we do not run benchmark tests on live production pools. Let us create a pool to run cluster benchmarking using the following command:

root@node:/# ceph osd pool create test 256 256

For a good...