Cache tier unable to auto flush data to storage tier

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Cephers

I have created a Cache pool and looks like cache tiering agent is not able to flush/evict data as per defined policy. However when i manually evict / flush data , it migrates data from cache-tier to storage-tier

Kindly advice if there is something wrong with policy or anything else i am missing.

Ceph Version: 0.80.5
OS : Cent OS 6.4

Cache pool created using the following commands :

ceph osd tier add data cache-pool 
ceph osd tier cache-mode cache-pool writeback
ceph osd tier set-overlay data cache-pool
ceph osd pool set cache-pool hit_set_type bloom
ceph osd pool set cache-pool hit_set_count 1
ceph osd pool set cache-pool hit_set_period 300
ceph osd pool set cache-pool target_max_bytes 10000
ceph osd pool set cache-pool target_max_objects 100
ceph osd pool set cache-pool cache_min_flush_age 60
ceph osd pool set cache-pool cache_min_evict_age 60


[root at ceph-node1 ~]# date
Sun Sep 14 00:49:59 EEST 2014
[root at ceph-node1 ~]# rados -p data  put file1 /etc/hosts
[root at ceph-node1 ~]# rados -p data ls
[root at ceph-node1 ~]# rados -p cache-pool ls
file1
[root at ceph-node1 ~]#


[root at ceph-node1 ~]# date
Sun Sep 14 00:59:33 EEST 2014
[root at ceph-node1 ~]# rados -p data ls
[root at ceph-node1 ~]# 
[root at ceph-node1 ~]# rados -p cache-pool ls
file1
[root at ceph-node1 ~]#


[root at ceph-node1 ~]# date
Sun Sep 14 01:08:02 EEST 2014
[root at ceph-node1 ~]# rados -p data ls
[root at ceph-node1 ~]# rados -p cache-pool ls
file1
[root at ceph-node1 ~]#



[root at ceph-node1 ~]# rados -p cache-pool  cache-flush-evict-all
file1
[root at ceph-node1 ~]#
[root at ceph-node1 ~]# rados -p data ls
file1
[root at ceph-node1 ~]# rados -p cache-pool ls
[root at ceph-node1 ~]#


Regards
Karan Singh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20140914/d5c8ef12/attachment.htm>


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux