From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6459ECA9EC2 for ; Mon, 28 Oct 2019 15:24:19 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 299A421783 for ; Mon, 28 Oct 2019 15:24:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Z6vYaxKP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 299A421783 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id BD8986B029B; Mon, 28 Oct 2019 11:24:18 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B62296B029C; Mon, 28 Oct 2019 11:24:18 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A02AB6B029D; Mon, 28 Oct 2019 11:24:18 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0203.hostedemail.com [216.40.44.203]) by kanga.kvack.org (Postfix) with ESMTP id 783906B029B for ; Mon, 28 Oct 2019 11:24:18 -0400 (EDT) Received: from smtpin09.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with SMTP id 199278249980 for ; Mon, 28 Oct 2019 15:24:18 +0000 (UTC) X-FDA: 76093564596.09.lace34_257be3a1a8c53 X-HE-Tag: lace34_257be3a1a8c53 X-Filterd-Recvd-Size: 5097 Received: from mail-il1-f195.google.com (mail-il1-f195.google.com [209.85.166.195]) by imf50.hostedemail.com (Postfix) with ESMTP for ; Mon, 28 Oct 2019 15:24:17 +0000 (UTC) Received: by mail-il1-f195.google.com with SMTP id b12so6613863ilf.12 for ; Mon, 28 Oct 2019 08:24:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=d5lAMRfHtk2EQ8kdZ9OB3W0LQMkhl/amzHwPWCWvW14=; b=Z6vYaxKPcOGy25FF9pf7qir9Rqlme+c8mQkk8btbXmmVTT6UYwfOsWMly7W9XEBI8o HgHhJ9AIO22Uuqga8nvRkREa14Tot8KYdkJYmaQV4aLJEuxiRnEnGyopc36qgx47eVwQ b3alzoWycnAQaPezRAm/VrlBY/C2qzw2fG/lFzRhHuf6vNIJMuf+sxbrykS33gOIZ1ai IFSna665SU1lHebs9BEOZwxW+MLBL3wk79T+hm1g5RlSo4wbP2ar3eE49gDiP+rtSP07 A8KAmicIlutBIEc579NOBUdeHFKSvtwXKaLzxAil4m13JC2TeI6SlhgwE8i9Cwn+okdC SVMw== 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=d5lAMRfHtk2EQ8kdZ9OB3W0LQMkhl/amzHwPWCWvW14=; b=mK9bsAeRPeJ6G8G4oIXMmUmK+g6EfpXYvyg8USDwLAG8oq+fr5reTcV82WR1yrnL2h L80S2rNp0wKzZSUPD9gnXrqNCk26W4S8X07CvaVO7uHJW6gmdB+a2xgHVA7GhkbN2CSy Ex/IDqAKOgUPYreFNrSPP/58MrO3yasel9MWzoR1f+zE93UfC7+ItlhJycFkYz9mrs3H DTQm1s1Y2vlL3TZSPtelhdewv0q9OPqxLXLo/RWROeJRMArp/gBtSglA6qVYtRDklrpb 8Cxg1t5rjtnyTCx972XZLNW1szy4hEEj3TUbRpbLvM4MGvKfqkJc4lB4ihleplcMJrty ybyQ== X-Gm-Message-State: APjAAAUnOLAF7CfSBWdtjAh6aR6FTRFV/LKVt3Rb/a0Jw80G9xoFmZaf cZA1CffZe21dF1QbF4kzHyfQ81JxRrsz5QAQkKU= X-Google-Smtp-Source: APXvYqyfgTgUajiGv2w6khwqi9U4IsCrcrOyR1GO4gPo2AlNqjopyIrCsEicGQbR4CIN0pp166szPL4Do0g9w/mvrSU= X-Received: by 2002:a92:9f1c:: with SMTP id u28mr19473440ili.97.1572276256522; Mon, 28 Oct 2019 08:24:16 -0700 (PDT) MIME-Version: 1.0 References: <20191022221223.17338.5860.stgit@localhost.localdomain> <3888d486-d046-b35f-a365-655f8c4d3bf2@redhat.com> In-Reply-To: <3888d486-d046-b35f-a365-655f8c4d3bf2@redhat.com> From: Alexander Duyck Date: Mon, 28 Oct 2019 08:24:05 -0700 Message-ID: Subject: Re: [PATCH v12 0/6] mm / virtio: Provide support for unused page reporting To: Nitesh Narayan Lal Cc: kvm list , "Michael S. Tsirkin" , LKML , Matthew Wilcox , Michal Hocko , linux-mm , Andrew Morton , Mel Gorman , Vlastimil Babka , Yang Zhang , Konrad Rzeszutek Wilk , David Hildenbrand , Pankaj Gupta , Rik van Riel , lcapitulino@redhat.com, Dave Hansen , "Wang, Wei W" , Andrea Arcangeli , Paolo Bonzini , Dan Williams , Alexander Duyck , Oscar Salvador Content-Type: text/plain; charset="UTF-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, Oct 28, 2019 at 7:34 AM Nitesh Narayan Lal wrote: > > > On 10/22/19 6:27 PM, Alexander Duyck wrote: > > > [...] > > Below are the results from various benchmarks. I primarily focused on two > > tests. The first is the will-it-scale/page_fault2 test, and the other is > > a modified version of will-it-scale/page_fault1 that was enabled to use > > THP. I did this as it allows for better visibility into different parts > > of the memory subsystem. The guest is running on one node of a E5-2630 v3 > > CPU with 48G of RAM that I split up into two logical nodes in the guest > > in order to test with NUMA as well. > > > > Test page_fault1 (THP) page_fault2 > > Baseline 1 1256106.33 +/-0.09% 482202.67 +/-0.46% > > 16 8864441.67 +/-0.09% 3734692.00 +/-1.23% > > > > Patches applied 1 1257096.00 +/-0.06% 477436.00 +/-0.16% > > 16 8864677.33 +/-0.06% 3800037.00 +/-0.19% > > > > Patches enabled 1 1258420.00 +/-0.04% 480080.00 +/-0.07% > > MADV disabled 16 8753840.00 +/-1.27% 3782764.00 +/-0.37% > > > > Patches enabled 1 1267916.33 +/-0.08% 472075.67 +/-0.39% > > 16 8287050.33 +/-0.67% 3774500.33 +/-0.11% > > If I am not mistaken then you are only observing the number of processes (and > not the number of threads) launched over the 1st and the 16th vcpu reported by > will-it-scale? You are correct these results are for the processes. I monitored them for 1 - 16, but only included the results for 1 and 16 since those seem to be the most relevant data points.