Re: Clarification of Cache settings

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

 



> -----Original Message-----
> From: ceph-users [mailto:ceph-users-bounces@xxxxxxxxxxxxxx] On Behalf Of
> Robert LeBlanc
> Sent: Saturday, September 19, 2015 12:18 PM
> To: ceph-users@xxxxxxxxxxxxxx
> Subject:  Clarification of Cache settings
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Based on some discussion on where promotions were limited to only 10%
> increased the performance of the cache tier (sorry I can't find that discussion at
> the moment to reference).

Probably here: http://tracker.ceph.com/projects/ceph/wiki/Rados_cache_tier_promotion_queue_and_throttling

> I've been reading through
> http://ceph.com/docs/master/rados/operations/cache-tiering/#configuring-a-c
> ache-tier
> trying to figure out how to configure this type of promotion and try different
> values. I've reviewed the concepts of Bloom filters and so here are my
> questions:
> 
> 1. Is a hit set an individual bloom filter? Or does the bloom filter keep track of
> the objects in the cache tier?

Yes, a hit set is a bloom filter if you set its type to bloom filter. And it keeps track of the object access in the cache tier.

> 2. If each hit set is a Bloom filter... It seems limiting the rate of promotion could
> be configured by setting min_{read,write}_recency_for_promote > 1 (The
> object would need to be in more than 1 hit set, where each hit set is 3,600
> seconds). But the documentation specifies "Currently there is minimal benefit
> for hit_set_count > 1 since the agent does not yet act intelligently on that
> information." My assumption would be to set
> min_read,write}_recency_for_promote = 4, set hit_set_count = 15 and
> hit_set_period to 300. This would require an object to be accessed at least in 4
> different  5 minute intervals in the last hour to be promoted. Is this how these
> values are intended to be used? Does hit_set_count > 1 still not do anything?

The sentence "Currently there is minimal benefit for hit_set_count > 1 since the agent does not yet act intelligently on that information." is not valid anymore and is now removed from the documentation. And the current meaning of min_{read,write}_recency_for_promote is different from your understanding. Currently setting it to 1 would make it most difficult to promote. Checking the latest documentation of the master branch. And we've had some discussions to change its semantic to what you think, but haven't implemented yet. Looks like it makes more sense.

> 3. I understand that there was some discussion about changing the tracking for
> promotion. Will the new method be available in Jewell? Is the current approach
> still being developed?

I had an implementation of the promotion queue and throttling in https://github.com/ceph/ceph/pull/5486.

> 
> Thanks,
> 
> 
> - ----------------
> Robert LeBlanc
> PGP Fingerprint 79A2 9CA4 6CC4 45DD A904  C70E E654 3BB2 FA62 B9F1
> -----BEGIN PGP SIGNATURE-----
> Version: Mailvelope v1.1.0
> Comment: https://www.mailvelope.com
> 
> wsFcBAEBCAAQBQJV/OH1CRDmVDuy+mK58QAAglEP/Rst1cPMKI50pzrtjNdm
> kuQ19W5LZmcXQU8zgHwpFzKgklFZxPrmOJD5nJ5peYYLwZr1g9F1HzPDZ33Y
> 7DbSIDztVoanhgLhhglxJ9Ok74cwQvIMRxyFCXUlZ3SjyV2FGv/jBjT7QpFf
> bv0sdpBwcyfaLvlwC0gpq7cwAmIp2YLW0YKzlhO/dfVCeGbSBUAdqiafkJ9U
> UTXdthQIU4i4dHx8BAJrIkvKZTumj5bBOL5ZJdGiG6v8MWNUlfZFDAEFkNz4
> d+cfrPKNKmw28IcfqXVtGZ8BYQo0LHijdXOQH4kZ54wMIR4y0Sd0YaFclBnH
> tChS3qq9fwcJ7dNBrV0nOMuF3X2vYIxnExHccFfheeJLrL+g/r4aOWr4Pk1m
> sPJ0odWen1N4xUTXVikmXJNeEVyRYo8g458o+VfSOWg3SiS7Svt+w4k0ZTid
> TeeGIA04hB7fyxGD5nb1UFRrGTv0JsErPe6d55svulAUkgyXQkDnYvRCWNat
> H4BrlNjkH1zrSds9IQGNAY5pxeWQj0SNaL8m/y4lMWkYB3lRfhvP7a0MkBQK
> pmgOt9GWTR1faDeY7nHC6aHg2EwzuQ9qmcPjgxMR7vfa44+ydkONsixzXJZR
> fOpyl4VzNKq/15xu6GLRKGDQwilg4wDbl/HWJ3e9/6YtBSufg9Yzc1iS+k9u
> NJ4F
> =gmsw
> -----END PGP SIGNATURE-----
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
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