Re: Cache tiers flushing logic

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

 



On Tue, Dec 30, 2014 at 11:38 AM, Erik Logtenberg <erik@xxxxxxxxxxxxx> wrote:
>>
>> Hi Erik,
>>
>> I have tiering working on a couple test clusters.  It seems to be
>> working with Ceph v0.90 when I set:
>>
>> ceph osd pool set POOL  hit_set_type bloom
>> ceph osd pool set POOL  hit_set_count 1
>> ceph osd pool set POOL  hit_set_period 3600
>> ceph osd pool set POOL  cache_target_dirty_ratio .5
>> ceph osd pool set POOL  cache_target_full_ratio .9
>>
>> Eric
>>
>
> Hi Eric,
>
> You say it seems to be working. My setup also seems to be working, in
> the sense that the pools can be written to and read from. However the
> cache flushing doesn't work as expected.
> Do you mean that all objects in your cache are flushed during idle time?

You should adjust the cache_target_dirty_ratio. The cache pools are
going to require tuning for your particular workload; in particular we
don't automatically flush old data because it might be something that
is overwritten more often than it needs to be flushed, and the
flushing requires bandwidth from the base pool.
If you set the target dirty ratio to zero I think it will continuously
flush data.
-Greg
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[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