On Fri, Aug 28, 2020 at 7:29 AM Alexey A. <hakav...@gmail.com> wrote:
>
> In fact, the compression ratio is higher when same_pages is taken into 
> account:
> ```
>  orig_data_size   uncompressed size of data stored in this disk.
>  This excludes same-element-filled pages (same_pages) since
>  *no memory is allocated for them*.
>  same_pages       the number of same element filled pages written to this 
> disk.
>                   *No memory is allocated for such pages*.
> ```
> https://www.kernel.org/doc/Documentation/blockdev/zram.txt
> Check `SwapTotal - SwapFree` instead of DATA if you want to check real 
> compression ratio.


Good to know! Thanks!


-- 
Chris Murphy
_______________________________________________
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/test@lists.fedoraproject.org

Reply via email to