Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp5551879imw; Wed, 20 Jul 2022 07:51:43 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tqS/cMIV+ckVb2YCI7lbcCP8znj2dKrHTwEEm3LhNwB1Am90BX1KVdpMg/iA3wmABv+/eq X-Received: by 2002:a05:6402:90a:b0:439:c144:24cd with SMTP id g10-20020a056402090a00b00439c14424cdmr50706502edz.209.1658328703322; Wed, 20 Jul 2022 07:51:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658328703; cv=none; d=google.com; s=arc-20160816; b=PtR0z7+XvsjKrN+7xWXQoBG4pJRb3cnRIVamwsElKdy85m3aHZ691+oOdUd89qCneA WOyOYeivLx5YR8pPmgFKbtX9GrsksgI90YL44WzRBbQ74y3Y7zDZFx1REvPb1GkJAOcq NXILE9+tnjAOJD1nPAQ3kS86bMGiQkiuc5dUJOdLee8bw2n8AHfg+QpubJT9GcvGiE9e Ftwz1TXsUH2QV0S6KDtTrF1aRl0n5JG1+EF0wecqaNLTaXN6BmTNJWngVfYwPznC1uTf +omeK7z17dnPsCNg0xyH+eYG31GjaGpyFZIrLJsZZUxK0xa8NSN8jfGMQchDdjPx+ngP m0Ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from; bh=8bNSPZv1e2c5T64k/iMjjODq6qcLeCXbr9zpOeiOojI=; b=iYqEvCJ++SH7o/DIWlMfwDgV7PgjsyiXgzbZqYeR7OL/Ibwdi2YgKAwDig0CEWbbD7 znTPgW/hlNoMpdeiiRLBfjcIifK0lda8rxRzxSiNk9y0EpYWELuuidi4rQNpjMkjfm8e lo41K20aAy56zNU8axhkGh9KOxa3lI8xuGKZNCg40Jptso4ieD4aRGERh02cv3B4/6TX zGx/gIlICbnrk5YdoG3JAk0SmdQogqGEqYr4w+3EQjbMCwbqJ5dQ+zCOaydoaZvOgCCI HZ8yB3NHblSJfiPmD6VFL+MeGktI0ROcUrs52O0FFXamnSQpj/ihtOeKt+pGV/2vqgnj Boog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intersystems.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hc32-20020a17090716a000b0072ed047f29dsi29391944ejc.492.2022.07.20.07.51.18; Wed, 20 Jul 2022 07:51:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intersystems.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238602AbiGTOtr convert rfc822-to-8bit (ORCPT + 99 others); Wed, 20 Jul 2022 10:49:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238427AbiGTOtd (ORCPT ); Wed, 20 Jul 2022 10:49:33 -0400 X-Greylist: delayed 1951 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 20 Jul 2022 07:49:22 PDT Received: from mail2.intersystems.com (mail2.intersystems.com [38.105.105.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61214564F3 for ; Wed, 20 Jul 2022 07:49:21 -0700 (PDT) X-InterSystems: Sent from InterSystems X-InterSystems: Sent from InterSystems X-InterSystems: Sent from InterSystems X-InterSystems: Sent from InterSystems From: Ray Fucillo To: Mike Kravetz CC: linux-mm , "linux-kernel@vger.kernel.org" , Muchun Song , Michal Hocko , Peter Xu , Naoya Horiguchi , David Hildenbrand , "Aneesh Kumar K . V" , Andrea Arcangeli , "Kirill A . Shutemov" , Davidlohr Bueso , Prakash Sangappa , James Houghton , Mina Almasry , "Pasha Tatashin" , Axel Rasmussen , Ray Fucillo , Andrew Morton Subject: Re: [RFC PATCH v4 0/8] hugetlb: Change huge pmd sharing synchronization again Thread-Topic: [RFC PATCH v4 0/8] hugetlb: Change huge pmd sharing synchronization again Thread-Index: AQHYkXZV7rwY/0b1YEWM7yXbYs48gK2HptEA Date: Wed, 20 Jul 2022 14:16:46 +0000 Message-ID: <3F53322F-65B0-4DA0-84AB-360CB46769E4@intersystems.com> References: <20220706202347.95150-1-mike.kravetz@oracle.com> In-Reply-To: <20220706202347.95150-1-mike.kravetz@oracle.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.17.254.204] x-c2processedorg: 5d7e5ca7-6395-445f-80da-8568a4fc58e5 Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Jul 6, 2022, at 4:23 PM, Mike Kravetz wrote: > > I am sending this as a RFC once more in the hope of generating comments > and discussion. While the changes are intrusive, they do show a significant > performance benefit in my simulated workload. Code is based on next-20220706. > > hugetlb fault scalability regressions have recently been reported [1]. > This is not the first such report, as regressions were also noted when > commit c0d0381ade79 ("hugetlbfs: use i_mmap_rwsem for more pmd sharing > synchronization") was added [2] in v5.7. At that time, a proposal to > address the regression was suggested [3] but went nowhere. > > The regression and benefit of this patch series is not evident when > using the vm_scalability benchmark reported in [2] on a recent kernel. > Results from running, Mike, thank you for all the work and careful consideration here! We did find that this patch set addresses the scalability regression that was at the root of critical issues for customers that upgraded to newer Linux distributions (those with commit c0d0381ade79) Ray