On Mon, Jun 04, 2018 at 05:55:14PM +0800, guangrong.x...@gmail.com wrote:
> From: Xiao Guangrong <xiaoguangr...@tencent.com>
> 
> Detecting zero page is not a light work, we can disable it
> for compression that can handle all zero data very well

Is there any number shows how the compression algo performs better
than the zero-detect algo?  Asked since AFAIU buffer_is_zero() might
be fast, depending on how init_accel() is done in util/bufferiszero.c.

>From compression rate POV of course zero page algo wins since it
contains no data (but only a flag).

Regards,

-- 
Peter Xu

Reply via email to