On 3/12/19 7:06 PM, David Zafman wrote:
Sage,
On master after a vstart even without any pools created, OSDs are
continuously logging these messages.
I don't know if the continuous calls to BlueStore::LRUCache::_trim() or
BlueStore::TwoQCache::_trim() are expected.
We trim in a loop in the mempool thread, but post nautilus I wan to
change that to trim on write.
2019-03-12 16:53:40.180 7f9f3954b700 20
bluestore.MempoolThread(0x56062d062d18) _trim_shards cache_size:
2845415832 kv_alloc: 1073741824 kv_used: 1380 meta_alloc: 1073741824
meta_used: 44098 data_alloc: 671088640 data_used: 0
I introduced this one with the autotuner, though I'm planning to move
that out into it's own manager precisely to get it out of bluestore
debugging.
See the branch here:
https://github.com/markhpc/ceph/tree/wip-age-binning
2019-03-12 16:53:40.180 7f9f3954b700 20
bluestore.2QCache(0x56062c599b00) _trim onodes 27 / 131484 buffers 0 /
134217728
2019-03-12 16:53:40.180 7f9f3954b700 20
bluestore.2QCache(0x56062c5999e0) _trim onodes 0 / 131484 buffers 0 /
134217728
2019-03-12 16:53:40.180 7f9f3954b700 20
bluestore.2QCache(0x56062c5997a0) _trim onodes 0 / 131484 buffers 0 /
134217728
2019-03-12 16:53:40.180 7f9f3954b700 20
bluestore.2QCache(0x56062c5998c0) _trim onodes 0 / 131484 buffers 0 /
134217728
2019-03-12 16:53:40.180 7f9f3954b700 20
bluestore.2QCache(0x56062c599320) _trim onodes 0 / 131484 buffers 0 /
134217728
David