From mboxrd@z Thu Jan 1 00:00:00 1970 From: Howard Chu Subject: Re: Adding compression support for bluestore. Date: Thu, 17 Mar 2016 17:29:16 +0000 Message-ID: <56EAE96C.2010502@symas.com> References: <56C1FCF3.4030505@mirantis.com> <56C3BAA3.3070804@mirantis.com> <56CDF40C.9060405@mirantis.com> <56D08E30.20308@mirantis.com> <56E9A727.1030400@mirantis.com> <56EA805C.1020001@digiware.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from zill.ext.symas.net ([69.43.206.106]:39369 "EHLO zill.ext.symas.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934742AbcCQR32 (ORCPT ); Thu, 17 Mar 2016 13:29:28 -0400 In-Reply-To: <56EA805C.1020001@digiware.nl> Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Willem Jan Withagen , Allen Samuels , Blair Bethwaite , Igor Fedotov , Sage Weil Cc: ceph-devel Willem Jan Withagen wrote: > And to just add something practical to this: recently lz4 compression has made > it into ZFS and has become the standard advice for compression. > It is considered the most efficient tradeoff between compression efficiency > and cpu-cycle consumption, and it is supposed to keep up with the throughput > that devices in the backingstore have. Not sure how that pans out with a full > SSD array, but opinions about that will be there soon as SSD are getting cheap > rapidly. > > There are plenty of choices: > compression on | off | lzjb | gzip | gzip-[1-9] | zle | lz4 > But using other compression algos is only recommended after due testing. On the testing front, this will help https://github.com/hyc/PolyZ Then you only need to write your test code once, to a single API, and you can evaluate all of the different compression libraries just by changing LD_PRELOAD. This is what I used for our own compression evaluation... http://symas.com/mdb/inmem/compress/ -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/