lkml.org 
[lkml]   [2022]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v5] mm/vmstat: add events for ksm cow
From
On 31/03/22 10.56, cgel.zte@gmail.com wrote:
> +Monitoring KSM events
> +=====================
> +
> +There are some counters in /proc/vmstat that may be used to monitor KSM events.
> +KSM might help save memory, it's a tradeoff by may suffering delay on KSM COW
> +or on swapping in copy. Those events could help users evaluate whether or how
> +to use KSM. For example, if cow_ksm increases too fast, user may decrease the
> +range of madvise(, , MADV_MERGEABLE).
> +

Did you mean "tradeoff between possible delay on KSM COW and swapping
in copy"?

--
An old man doll... just what I always wanted! - Clara

\
 
 \ /
  Last update: 2022-03-31 13:45    [W:0.044 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site