Thanks Dan!

Thanks,
Mike Dawson


On 4/17/2014 4:06 AM, Dan van der Ster wrote:
Mike Dawson wrote:
Dan,

Could you describe how you harvested and analyzed this data? Even
better, could you share the code?

Cheers,
Mike
First enable debug_filestore=10, then you'll see logs like this:

2014-04-17 09:40:34.466749 7fb39df16700 10
filestore(/var/lib/ceph/osd/osd.0) write
4.206_head/57186206/rbd_data.1f7ccd36575a0ed.0000000000001620/head//4
651264~4096 = 4096

and this for reads:

2014-04-17 09:46:10.449577 7fb392427700 10
filestore(/var/lib/ceph/osd/osd.0) FileStore::read
4.fe9_head/f7281fe9/rbd_data.10bb48f705289c0.0000000000006a24/head//4
1994752~4096/4096

The last num is the size of the write/read.

Then run this:
https://github.com/cernceph/ceph-scripts/blob/master/tools/rbd-io-stats.pl

Cheers, Dan

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to