This is regarding cache pools and the impact of the flush/evict on the client 
IO latencies.

Am seeing a direct impact on the client IO latencies (making them worse) when 
flush/evict is triggered on the cache pool. In a constant ingress of IOs on the 
cache pool, the write performance is no better than without cache pool, because 
it is limited to the speed at which objects can be flushed/evicted to the 
backend pool.

The questions I have are:

1) When the flush/evict is in progress, are the writes on the cache pool 
blocked, either at the PG or at object granularity? Though I see a blocking 
flag honored per object context here 
https://github.com/ceph/ceph/blob/master/src/osd/ReplicatedPG.cc#L6841, and 
most of the callers of the same seem to set the flag to be false.

2) Is there any mechanism (that I might have overlooked) to avoid this 
situation, by throttling the flush/evict operations on the fly? If not, 
shouldn't there be one?

Thanks,
-Pavan.

________________________________

PLEASE NOTE: The information contained in this electronic mail message is 
intended only for the use of the designated recipient(s) named above. If the 
reader of this message is not the intended recipient, you are hereby notified 
that you have received this message in error and that any review, 
dissemination, distribution, or copying of this message is strictly prohibited. 
If you have received this communication in error, please notify the sender by 
telephone or e-mail (as shown above) immediately and destroy any and all copies 
of this message in your possession (whether hard copies or electronically 
stored copies).

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

Reply via email to