Ceph rados benchmark question...

nethfel

Member
Dec 26, 2014
151
0
16
If I run:
rados -p test bench 60 write --no-cleanup
and I get my results of the write.
Clean the caches ( echo 3 into drop_caches)
run:

rados -p test bench 60 seq
on the node I did the write to, I get good results.
If I run read on any other node in the cluster I get:

Code:
rados -p test bench 60 seq
   sec Cur ops   started  finished  avg MB/s  cur MB/s  last lat   avg lat
     0       0         0         0         0         0         -         0
read got -2
error during benchmark: -5
error 5: (5) Input/output error

Is that normal? Am I supposed to only run the read benchmark on the same machine I ran the write benchmark?
 
If I run:
rados -p test bench 60 write --no-cleanup
and I get my results of the write.
Clean the caches ( echo 3 into drop_caches)
run:

rados -p test bench 60 seq
on the node I did the write to, I get good results.
If I run read on any other node in the cluster I get:

Code:
rados -p test bench 60 seq
   sec Cur ops   started  finished  avg MB/s  cur MB/s  last lat   avg lat
     0       0         0         0         0         0         -         0
read got -2
error during benchmark: -5
error 5: (5) Input/output error

Is that normal? Am I supposed to only run the read benchmark on the same machine I ran the write benchmark?
Hi,
that's because the benchmark data is named like the host:
Code:
rados ls -p test
...
benchmark_data_proxmox4_289519_object739
benchmark_data_proxmox4_580298_object2825
benchmark_data_proxmox4_289519_object4802
benchmark_data_proxmox4_572822_object2264
benchmark_data_proxmox4_531677_object4511
...
In this case I do the benchmark from proxmox4.

Udo
 
Ooooh, ok - I didn't actually list out the data stored on the pool, I thought it stored it with a generic file name that would be recognized anywhere - now I understand. Thanks again Udo :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!