Re: Monitoring bluestore compression ratio

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

 



Default OSD settings for compression and the pool has `compression_mode: aggressive`.  From my understanding, that should not bother compressing anything except for the specific pool.  First I tested this with an EC data pool, but it didn't compress anything.  I thought this might be a thing with EC sharding so I tested with a replica pool with 100 copies of the same 10GB file and 1TB of zero's.  Neither test seemed to show any compression.

On Wed, Jun 27, 2018 at 6:38 AM Igor Fedotov <ifedotov@xxxxxxx> wrote:

And yes - first 3 parameters from this list are the right and the only way to inspect compression effectiveness so far.


Corresponding updates to show that with "ceph df" are on the way and are targeted for Nautilus.


Thanks,

Igor


On 6/26/2018 4:53 PM, David Turner wrote:
ceph daemon osd.1 perf dump | grep bluestore | grep compress
        "bluestore_compressed": 0,
        "bluestore_compressed_allocated": 0,
        "bluestore_compressed_original": 0,
        "bluestore_extent_compress": 35372,

I filled up an RBD in a compressed pool (aggressive) in my test cluster with 1TB of zeros.  The bluestore OSDs in the cluster all show similar to this. Am I missing something here?  Is there any other method to determining compression ratios?

On Tue, Dec 5, 2017 at 1:25 AM Rafał Wądołowski <rwadolowski@xxxxxxxxxxxxxx> wrote:

Finally, I've founded the command:


ceph daemon osd.1 perf dump | grep bluestore


And there you have compressed data

Regards,

Rafał Wądołowski


http://cloudferro.com/

On 04.12.2017 14:17, Rafał Wądołowski wrote:
Hi,

Is there any command or tool to show effectiveness of bluestore compression?

I see the difference (in ceph osd df tree), while uploading a object to ceph, but maybe there are more friendly method to do it.



_______________________________________________
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

_______________________________________________
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