Re: [PATCH] mm: add NR_ZSMALLOC to vmstat

From: Sergey Senozhatsky
Date: Fri Jun 03 2016 - 04:01:52 EST


On (06/03/16 11:08), Minchan Kim wrote:
> Now, zram is very popular for some of embedded world(e.g., TV, mobile
> phone). On those system, zsmalloc consumed memory size is never trivial
> (one of example from real product system, total memory: 800M, zsmalloc
> consumed: 150M), so we have used this out of tree patch to monitor system
> memory behavior via /proc/vmstat.
>
> With zsmalloc in vmstat, it helps tracking down system behavior by
> memory usage.

Hello,

may be use zsmalloc stats file instead? as far as I know, you keep
zsmalloc stats enabled in production anyway.

-ss