Re: [RFC PATCH 3/3] mm/zsmalloc: change ZS_MAX_PAGES_PER_ZSPAGE

From: Sergey Senozhatsky
Date: Thu Feb 18 2016 - 23:17:51 EST


On (02/19/16 13:16), Sergey Senozhatsky wrote:
> # cat /sys/kernel/debug/zsmalloc/zram0/classes
> class size huge almost_full almost_empty obj_allocated obj_used pages_used pages_per_zspage
> 0 32 0 0 0 0 0 1
> 1 48 0 0 0 0 0 3
> 2 64 3 0 31360 31355 490 1
> 3 80 1 1 62781 62753 1231 1
[..]
> 254 4096 Y 0 0 632586 632586 632586 1
>

> so BAD classes are 10 times more often than 64 bytes objects for example. and not all of 4096
a typo, ^^^^^ 80 bytes. and 20 times class 64.

-ss