Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4825135rdh; Wed, 29 Nov 2023 11:42:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IHao6no8WXXg8f0ukeReDMWB5ijRbvoly2ewmSIfQKuN9BVdUCRbVj4BOilk7qSs+joUe56 X-Received: by 2002:a17:903:32d0:b0:1cf:b57a:505b with SMTP id i16-20020a17090332d000b001cfb57a505bmr15645355plr.44.1701286924046; Wed, 29 Nov 2023 11:42:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701286924; cv=none; d=google.com; s=arc-20160816; b=qp3JcoRSlQzzdad7GVnfduzezOsd23iWqJkURgNPS6HPTzdhjh1xnuFr7PNhxwJ2W1 DPZRLUFuIt60wggprjuUe8yLuCEJ7Pk9oDeu4LIVtkBoT50u67HEgYQD72qIX/e7a6YF uIVHOa5XCnHsy29FW6EP5TNnOyVSHMDY/4ah+9ivyR09I89neETYqd+fWfC7Liusj96R SgT8xK9nthNRJRRblijZSjVXgu+fCDqA9N0YddGhr1NShOywTKMMqekN6j1ULUt82oYC jvvX6AvcL9k6uzKHmGy+xfj2Xnf/phTwSzbl0bWWDyhgxd9F8AfoBBiOzCEwQfqtGBN0 5PSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=De6xxx8/OcpsczWD4sU3Fi2NLfEqw+uaoC66p0XYL50=; fh=1IW31PaLcgv7Rp98pTxEUnIydc3TcXB3ozW/MHvRpzc=; b=TPZMEX8Y7LzoGqtDyQAnlIOZstezwZqmzn81HOtgnYL4j0GXrSfudEmMavtmE7BczU jY0qVi94XELP+MdsPOV4v0BwufNNNtTQJBz81OES/gnCbBjm0CKjFiM04NHesOq5QDvA QWd4KVEBBhEq3SzG6MuILTf+qmFKyefWhsRQ3OGUIt2KDR0e+r92I65EglQGRz3GVyuF bsKeiMlh+Eh55WiPyQEb7ldVH100OJBdUt20BNsn7b+zMLOATc1gJIPn5FM8+ByjXdZZ fmCzhpSYBGbTZRYdn717ydK4l2mTFe8+uuwMDx6aqtmxGRxyWCIfbCSj9A6FGYOLz4YY kArA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="xe871kn/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id o9-20020a170902d4c900b001cfc3295702si9344662plg.109.2023.11.29.11.42.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 11:42:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="xe871kn/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id DA1DE803F7B4; Wed, 29 Nov 2023 11:42:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233283AbjK2Tlt (ORCPT + 99 others); Wed, 29 Nov 2023 14:41:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230355AbjK2Tls (ORCPT ); Wed, 29 Nov 2023 14:41:48 -0500 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E048B1A8 for ; Wed, 29 Nov 2023 11:41:54 -0800 (PST) Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1cfaf05db73so25625ad.0 for ; Wed, 29 Nov 2023 11:41:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1701286914; x=1701891714; darn=vger.kernel.org; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=De6xxx8/OcpsczWD4sU3Fi2NLfEqw+uaoC66p0XYL50=; b=xe871kn/kql9g0eB+/tbYfBa8AtgkBvN/sNptiLAz5Jt6pwzjlEvIekeVSbrZn8KxG xLSiITHPD8FqKPgNshg1Aegf5sU2cst5PttbPn7WXwGdCpRlF5lNyUaZ2T1TppISmMDw d1rCbmBn+EuHGJZ0pBWtcMyRL1PvFq4IV25ZTVN0PieppT67T4DICZAMfBgvcZuAo/4w 4BPt5cSPyKiJephG/BuqCflmE7Rf7ERiGc/4D1+CHMbjv8h875wwtukEh2NV70nS9r9/ jeM6/dR4hBPpvgsfUCQh1mMEBrCrwXHPgaLYY7AFOJ7uRBHA8D7IYbVk306srvNIb3gK 6qMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701286914; x=1701891714; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=De6xxx8/OcpsczWD4sU3Fi2NLfEqw+uaoC66p0XYL50=; b=kHGChU67mgKxsVSH8vp71JaPoy7AzfRBXOo4TaJiXRtdpwtHLrZGNCxgLwSGgT8lqE VnZ2EGkB8IswHUPOhClHDwzhV7IPVuTGDBOF2XmUeS+3KH59WnrsoTZMwDEyMRcsf/zF xh60lRSMlsjwTCmmpAK+wyLzSw2mTMIgnbl3XuL6Su3Rkmnkqei55q0ViB7Ot/ho8EnZ FpzWt7m6EDelbxTCqeFb1nXqPhk7rsQyJS2gaF88I6rf341VJBOwXRaqg0LuRzELdmGO rVt/kU4XXf5CBltoy13xDzUweC3njJgFVPpjrRx1WWHe394xnwoj3xo5mOy8iC/t16GP wRcw== X-Gm-Message-State: AOJu0YysR3pXtKE7kl+3+0SMk+i0KQKZbz+/WQKDFjKoJLHeqohlfzCQ gRyrnv3aC3zGfqVNe5X/UWwK7g== X-Received: by 2002:a17:903:32c1:b0:1cf:d2c5:af12 with SMTP id i1-20020a17090332c100b001cfd2c5af12mr24857plr.12.1701286914105; Wed, 29 Nov 2023 11:41:54 -0800 (PST) Received: from [2620:0:1008:15:9ddf:fd79:28e8:6290] ([2620:0:1008:15:9ddf:fd79:28e8:6290]) by smtp.gmail.com with ESMTPSA id w8-20020aa78588000000b006c4d47a7668sm11081724pfn.127.2023.11.29.11.41.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 11:41:53 -0800 (PST) Date: Wed, 29 Nov 2023 11:41:52 -0800 (PST) From: David Rientjes To: Gang Li cc: David Hildenbrand , Gang Li , Mike Kravetz , Muchun Song , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH v1 0/4] hugetlb: parallelize hugetlb page allocation on boot In-Reply-To: Message-ID: <965d3ea8-4dd9-8f66-7ac0-0d6aa7fcadc7@google.com> References: <20231123133036.68540-1-gang.li@linux.dev> <5c0e27f2-5826-4537-a1ab-1debfab65b9a@redhat.com> <28e28c2a-e72d-a181-e87a-39cecc8c3c76@google.com> <9d5de524-28ee-4d71-9493-f77967ea213c@redhat.com> <783f8bac-55b8-5b95-eb6a-11a583675000@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-8.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 29 Nov 2023 11:42:02 -0800 (PST) On Tue, 28 Nov 2023, Gang Li wrote: > > > > > And there, the 65.2s won't be noise because that 12TB system is up by a > > > snap > > > of a finger? :) > > > > > > > In this single boot test, total boot time was 373.78s, so 1GB hugetlb > > allocation is 17.4% of that. > > Thank you for sharing these data. Currently, I don't have access to a machine > of such large capacity, so the benefits in my tests are not as pronounced. > > I believe testing on a system of this scale would yield significant benefits. > > > > > Would love to see what the numbers would look like if 1GB pages were > > supported. > > > > Support for 1GB hugetlb is not yet perfect, so it wasn't included in v1. But > I'm happy to refine and introduce 1GB hugetlb support in future versions. > That would be very appreciated, thank you! I'm happy to test and collect data for any proposed patch series on 12TB systems booted with a lot of 1GB hugetlb pages on the kernel command line.