From 1f2ddc1bc3a9f386914590e1e709b30ffc1bddb8 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Tue, 18 Jan 2022 11:18:01 +0300 Subject: [PATCH] Add README --- README.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..baaa8a1 --- /dev/null +++ b/README.md @@ -0,0 +1,47 @@ +## C++ version of the "Mark's bench" for Ceph + +This tool issues random writes to each OSD separately to determine random write +performance of each specific OSD. + +## Usage + +``` +# Create a non-replicated pool named bench +# PG number (16) should be sufficient for each OSD to get at least 1 PG +ceph osd pool create bench 16 16 replicated +ceph osd pool set bench size 1 + +# Benchmark all OSDs which have at least 1 PG in that pool +./ceph-bench bench osd + +# Benchmark hosts (print average result per host) +./ceph-bench bench host + +# Benchmark a specific OSD +./ceph-bench bench osd 1 +``` + +## Building + +``` +git clone https://github.com/vitalif/ceph-bench + +cd ceph-bench + +apt-get install build-essential libradospp-dev libjsoncpp-dev libtcmalloc-minimal4 + +make +``` + +## See Also + +* Golang version of the same benchmark: https://github.com/rumanzo/ceph-gobench + (currently doesn't work with Ceph 16) +* Article about Ceph performance: https://yourcmc.ru/wiki/Ceph_performance +* Vitastor, a fast block SDS similar to Ceph RBD: https://vitastor.io/ + (can achieve ~7k or more T1Q1 write iops) + +## Authors + +* Mark Korenberg +* Vitaliy Filippov