[ceph-users] ceph cache tier pool objects not evicted automatically even when reaching full ratio

2015-03-10 Thread Kamil Kuramshin
hi, folks! I'm testing cache tier for erasure coded pool and with RBD image on it. And now I'm facing a problem with full cache pool and object are not evicted automatically, Only if I run manually rados -p cache cache-flush-evict-all* client side is: superuser@share:~$ uname

Re: [ceph-users] ceph cache tier pool objects not evicted automatically even when reaching full ratio

2015-03-10 Thread LOPEZ Jean-Charles
Hi, you need to set the max dirty bytes and/or max dirty objects as these 2 parameters will default to 0 for your cache pool. ceph osd pool set cache_pool_name target_max_objects x ceph osd pool set cache_pool_name target_max_bytes x The ratios you already set (dirty_ratio = 0.4 and

Re: [ceph-users] ceph cache tier pool objects not evicted automatically even when reaching full ratio

2015-03-10 Thread Kamil Kuramshin
Thanks a lot to /*Be-El*/ from #ceph (irc://irc.oftc.net/ceph) The problem is resolved after setting 'target_max_bytes' for cache pool: *$ ceph osd pool set cache target_max_bytes 1840* Because setting only 'cache_target_full_ratio' to 0.7 - is not sufficient for cache tiering agent,