Hi Jean-Charles,

Thanks for your response, I have found the following using "ceph daemon 
osd.{id} perf dump".

      "tier_promote": 1425,
      "tier_flush": 0,
      "tier_flush_fail": 0,
      "tier_try_flush": 216,
      "tier_try_flush_fail": 21,
      "tier_evict": 1413,
      "tier_whiteout": 201,
      "tier_dirty": 671,
      "tier_clean": 216,
      "tier_delay": 16,

I'm guessing the tier_promote should increase every time there is a cache miss? 
If this is the case then I simply need to add this value from every OSD and 
divide by total reads to work out the percentage hit rate.

Nick

From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of 
Jean-Charles Lopez
Sent: 09 November 2014 01:43
To: Nick Fisk
Cc: ceph-users@lists.ceph.com
Subject: Re: [ceph-users] Cache Tier Statistics

Hi Nick

If my brain doesn't fail me you can try
ceph daemon osd.{id} perf dump
ceph report (not 100% sure if cache stats are in

Rgds
JC


On Saturday, November 8, 2014, Nick Fisk <n...@fisk.me.uk> wrote:
Hi,
 
Does anyone know if there any statistics available specific to the cache tier 
functionality, I’m thinking along the lines of cache hit ratios? Or should I be 
pulling out the Read statistics for backing+cache pools and assuming that if a 
read happens from the backing pool it was a miss and then calculating it from 
that?
 
Thanks,
Nick




-- 
Sent while moving




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

Reply via email to