lkml.org 
[lkml]   [2020]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 3/8] mm/vmscan: Attempt to migrate page in lieu of discard
On Wed, 1 Jul 2020, Dave Hansen wrote:

> Even if they don't allocate directly from PMEM, is it OK for such an app
> to get its cold data migrated to PMEM? That's a much more subtle
> question and I suspect the kernel isn't going to have a single answer
> for it. I suspect we'll need a cpuset-level knob to turn auto-demotion
> on or off.
>

I think the answer is whether the app's cold data can be reclaimed,
otherwise migration to PMEM is likely better in terms of performance. So
any such app today should just be mlocking its cold data if it can't
handle overhead from reclaim?

\
 
 \ /
  Last update: 2020-07-01 21:51    [W:0.138 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site