I have been inserting 10790 exactly the same 64kb text message to a
passive compressing enabled pool. I am still counting, but it looks like
only half the objects are compressed.
mail/b08c3218dbf1545ff430000052412a8e mtime 2020-09-06 16:27:39.000000,
size 63580
mail/00f6043775f1545ff430000052412a8e mtime 2020-09-06 16:25:57.000000,
size 525
mail/b875f40571f1545ff430000052412a8e mtime 2020-09-06 16:25:53.000000,
size 63580
mail/e87c120b19f1545ff430000052412a8e mtime 2020-09-06 16:24:25.000000,
size 525
I am not sure if this should be expected from passive, these docs[1]
hint that passive 'compress if hinted COMPRESSIBLE'. From that I would
conclude that all text messages should be compressed.
A previous test with a 64kb gzip attachment seemed to not compress,
although I did not look at all object sizes.
on 14.2.11
[1]
https://documentation.suse.com/ses/5.5/html/ses-all/ceph-pools.html#sec-cep…
https://docs.ceph.com/docs/mimic/rados/operations/pools/