The hints have to be given from the client side as far as I understand, can you 
share the client code too?

Also,not seems that there's no guarantees that it will actually do anything 
(best effort I guess):
https://docs.ceph.com/docs/mimic/rados/api/librados/#c.rados_set_alloc_hint

Cheers

On 6 September 2020 15:59:01 BST, Marc Roos <m.r...@f1-outsourcing.eu> wrote:
>
>
>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-ceph-pool-compression
>https://docs.ceph.com/docs/mimic/rados/operations/pools/
>
>
>_______________________________________________
>ceph-users mailing list -- ceph-users@ceph.io
>To unsubscribe send an email to ceph-users-le...@ceph.io

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to