Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1227619ybg; Fri, 18 Oct 2019 14:10:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqy/xVE7v4zVUb6ZHV9Zcamn9APm/IxKf/H+g8zPahwoAs1j6J4Iums2x2PtkpO/9bVHFfOs X-Received: by 2002:a05:6402:b03:: with SMTP id bm3mr12059634edb.112.1571433040769; Fri, 18 Oct 2019 14:10:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571433040; cv=none; d=google.com; s=arc-20160816; b=Cci5qpLBGAdvz3KVGzDB7/IlfAdYsqWZfkEdeszIZdaYQKrpbV9BvcZ9bhKxJWPOeT vOLaRkrbqEqf59BFq6cxf9+1vb15pSBV5C0eYHsZ+RuKUPemquXFE6QzNco/w+ZV1m38 Mi7Y6S+RMHZkavPnDRyfCg+Zi/2rBoiWcj6Wfp4sVTkt7uIQ+dF9mlnC/xugT+0KNFLO YIQQnlUNe3nnHbjcKHTGonK9aZzNvjLo8NzKcBwZ4D7VyRUOIUiCZqQSLdw6Tle1dGOg ya2WiZsEzlLlWu0b8tcutwXThw79GyMjmK1TLvrcanhIV3WdgV2wN/psHfWePCe+Qoex GM/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=vYJvPdDl3T7Fx646ASlNZBmczwkC7H3BSoulK6E2T3I=; b=Z8b/IWF8jOtM9jVejhvf/pMLlvwLA+cRadFQkC68eJ2DKbgYYpc05ORq3Zr/jg9vlJ FjKQM1ng5SB91OatXmDewW8JynyuEQmMD65hUbTgyXUW5B/nSIA/+Y0B86yrq68VZbRQ /zXOr/zNqhp0lhAKPymhjYM/HI2pnpgiJtd8mpyUOn7NEoWGAfFSC5vSPxwL1nswP+fK ktzX9nkOOEQ6EZ6j807cN7nhn6YBWT8J9MNjy2Vr0LDq25Lt2h3fklMwxdKJQiEOgSRg jP4c+gf+lUPEKVAkwg2w06adBM2GsiFQaLM5xHqH2D9OIpnU6i62VQgj/HDUBuI8/b0V Su1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=L5dLzOre; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s8si4087713ejq.372.2019.10.18.14.10.17; Fri, 18 Oct 2019 14:10:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=L5dLzOre; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2440491AbfJQQjT (ORCPT + 99 others); Thu, 17 Oct 2019 12:39:19 -0400 Received: from mail-yb1-f195.google.com ([209.85.219.195]:41468 "EHLO mail-yb1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729529AbfJQQjT (ORCPT ); Thu, 17 Oct 2019 12:39:19 -0400 Received: by mail-yb1-f195.google.com with SMTP id 206so897112ybc.8 for ; Thu, 17 Oct 2019 09:39:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vYJvPdDl3T7Fx646ASlNZBmczwkC7H3BSoulK6E2T3I=; b=L5dLzOreODZtz1fC6R658TQwqBXto0USF2KYsRzaAvcvOCiUwEbkp6P5PvMEs44M0I JCSKtrJl55eSbC8ndDhVh1NmUSrMQcOPQC543hljZtgROp448B88vZ2/yI0ib41HDDoK tPRnGmmoUIDibih651Fnt9rTGmwhv0x04fS6a5ZbMMukW+VYWAupBqC6dOPguuX0K0CD SA44uo2bDMlXVm1hKuv7Lp1uvGn9L0pQ2IHRPUzTR834W1SQBDSAy4N+e2/Xt51BDfuT HYShlFdUAiLrpHDbm8LESk4Xx2PIcuL5hLAXPkErrcCvAqxO5ArsXdEbfOiDehwjcJvC 6KJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vYJvPdDl3T7Fx646ASlNZBmczwkC7H3BSoulK6E2T3I=; b=kREyQAMrB+rOASW80+vDA+CIaB5GQlUhhj7j3PSRup49aSfppJ4fIhaAHhkKlZSTcF z0BSYPAvRKU1hUjzfglqfXdG6bP0th2vPmtgKUfRiU7RmWKQbJUawr0/URynIfjJruTm hjkBBvWiDsLTDSvkAqR3haWcMY2WeTweyqRupKF7k95iTN9xMIPS8YjA1Ya3H3FY0dIs ZatrTcz7trIsuZDK1eSIqsP7y/ZH3nKVuGTTWVOxVZlt/Gr3Z+U8xsgny0JoiNYo/sv1 5acdX5EVI2FXyeguoeagHQMk/whp1jziiE8biBsqN3p4qUldcQR2krcSc5Z2GRTVJ2ij RNQA== X-Gm-Message-State: APjAAAUi92I1I/9HNr+LzDOP39jNnrS9lxdnVfxM2eMLS6RwuKG/AjrI yNgkca8FTndeasjC5NZwqc3kX3YeHMZk41aAzQKgmA== X-Received: by 2002:a25:4292:: with SMTP id p140mr2700421yba.147.1571330356542; Thu, 17 Oct 2019 09:39:16 -0700 (PDT) MIME-Version: 1.0 References: <20191016221148.F9CCD155@viggo.jf.intel.com> <85512332-d9d4-6a72-0b42-a8523abc1b5f@intel.com> In-Reply-To: <85512332-d9d4-6a72-0b42-a8523abc1b5f@intel.com> From: Shakeel Butt Date: Thu, 17 Oct 2019 09:39:04 -0700 Message-ID: Subject: Re: [PATCH 0/4] [RFC] Migrate Pages in lieu of discard To: Dave Hansen Cc: Suleiman Souhlal , Dave Hansen , Linux Kernel , Linux MM , Dan Williams Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 17, 2019 at 9:32 AM Dave Hansen wrote: > > On 10/17/19 9:01 AM, Suleiman Souhlal wrote: > > One problem that came up is that if you get into direct reclaim, > > because persistent memory can have pretty low write throughput, you > > can end up stalling users for a pretty long time while migrating > > pages. > > Basically, you're saying that memory load spikes turn into latency spikes? > > FWIW, we have been benchmarking this sucker with benchmarks that claim > to care about latency. In general, compared to DRAM, we do see worse > latency, but nothing catastrophic yet. I'd be interested if you have > any workloads that act as reasonable proxies for your latency requirements. > > > Because of that, we moved to a solution based on the proactive reclaim > > of idle pages, that was presented at LSFMM earlier this year: > > https://lwn.net/Articles/787611/ . > > I saw the presentation. The feedback in the room as I remember it was > that proactive reclaim essentially replaced the existing reclaim > mechanism, to which the audience was not receptive. Have folks opinions > changed on that, or are you looking for other solutions? > I am currently working on a solution which shares the mechanisms between regular and proactive reclaim. The interested users/admins can setup proactive reclaim otherwise the regular reclaim will work on low memory. I will have something in one/two months and will post the patches. Shakeel