lkml.org 
[lkml]   [2018]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 7/7] zram: writeback throttle
On Tue, 27 Nov 2018 14:54:29 +0900 Minchan Kim <minchan@kernel.org> wrote:

> On small memory system, there are lots of write IO so if we use
> flash device as swap, there would be serious flash wearout.
> To overcome the problem, system developers need to design write
> limitation strategy to guarantee flash health for entire product life.
>
> This patch creates a new konb "writeback_limit" on zram. With that,
> if current writeback IO count(/sys/block/zramX/io_stat) excceds
> the limitation, zram stops further writeback until admin can reset
> the limit.

I'm not really understanding this. Does this only refer to suspending
the idle page writeback feature? Not all zram writeback, surely?

I don't think the documentation gives an administrator sufficient
information to effectively use the feature. Some additional discussion
would help. What sort of values should it be set to and why?

And what is the default setting? And why?

And the limit isn't persistent across reboots which makes me wonder
whether the overall feature is particularly valuable?

\
 
 \ /
  Last update: 2018-11-29 00:42    [W:0.862 / U:1.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site