Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp541256rdf; Tue, 21 Nov 2023 09:13:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IHpoilQ9DHq+eZFgU2HYVoZmE1cFZp7zIYj+CuqkIDuVG90MnukRs+5GegnMeThKQomzpgP X-Received: by 2002:a05:6a00:189b:b0:6c3:720a:157a with SMTP id x27-20020a056a00189b00b006c3720a157amr13096529pfh.12.1700586827985; Tue, 21 Nov 2023 09:13:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700586827; cv=none; d=google.com; s=arc-20160816; b=jC1TWFYS5u2+Uz3TTV0gsx6ck4dlfMPCIU4+3UETTCBR91bEgHvriq4vAD4UB+CJRw G5/uWEBROafA0bnSjXJvc1yCDyBiPgrrYIIrvloSzIHGmCnbBydPnU86xyhi14QvWZFF 1egKkdxZRnRXmlQYBpYQdiK8HoPpHR1DccqQc17HDEmCmhG6IV5gortqeY+6W64bKY3y 1RAJSnSBbzr71e1f35Q56CC8a2P+ZZ5VM40hRCbO+8kmKHjoyWhxKAm8zzEkc+mFytbe xKwfhEE5sBW40HcVhWNSkdJ82rtHyWeakYnetJHdBkSsEB7JPPOfjvRyzofRxXrG50Fw PWyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=JnxMTMST5jr+hBwEtloCPJQi50EUTROA3ffvB060v2U=; fh=99WGtPYh6GfHaEQPagF9Q8cWfmT43ewGUON+er23cto=; b=EOJbajfIMaW7iWko1G+zRgqYmHO8lZIyRyIrU7MFdlULGfeSMb6BTXTKVOBC+c9uU5 LvKRCMsgnVvgRI050Q3SaleaVMHXI38fUBd6hCntiUKTyGz4HXFaDrSLOX1BhmaNkPFS 4wMttV+c/65ZZDG64TRXRv+Gpd0xbLigjoDyWvUhXtQgbS/4U5brRlBOzeeY4iGDIBnl w65BhVz9zHgpBzWC3i2mu8+6qjfDmxBfFxQzuJW3S0JskyalMz1Xh0cwnDzbxuCuy6RG 2hkfxNazMKLsGEJHudWcwF6SLvvC8nq22PNGpUsYNn1g0iOPETIMWmhpqw3HBfwvFYa9 p7ng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id o188-20020a6341c5000000b00563ee04bbafsi10365044pga.837.2023.11.21.09.13.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 09:13:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id BD03880D31C7; Tue, 21 Nov 2023 09:12:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234244AbjKURLv (ORCPT + 99 others); Tue, 21 Nov 2023 12:11:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234100AbjKURLo (ORCPT ); Tue, 21 Nov 2023 12:11:44 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DC59018C for ; Tue, 21 Nov 2023 09:11:39 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 551321042; Tue, 21 Nov 2023 09:12:26 -0800 (PST) Received: from [10.1.26.189] (XHFQ2J9959.cambridge.arm.com [10.1.26.189]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3EF3A3F6C4; Tue, 21 Nov 2023 09:11:37 -0800 (PST) Message-ID: Date: Tue, 21 Nov 2023 17:11:36 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 0/4] Enable >0 order folio memory compaction Content-Language: en-GB To: Zi Yan Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, "Huang, Ying" , Andrew Morton , "Matthew Wilcox (Oracle)" , David Hildenbrand , "Yin, Fengwei" , Yu Zhao , Vlastimil Babka , "Kirill A . Shutemov" , Johannes Weiner , Baolin Wang , Kemeng Shi , Mel Gorman , Rohan Puri , Mcgrof Chamberlain , Adam Manzanares , "Vishal Moola (Oracle)" References: <20231113170157.280181-1-zi.yan@sent.com> <1e7cf758-ac0e-4eda-a8e2-90db5eed7f7a@arm.com> <7ED1378A-AC39-48A2-8A2A-E06C7858DCE1@nvidia.com> From: Ryan Roberts In-Reply-To: <7ED1378A-AC39-48A2-8A2A-E06C7858DCE1@nvidia.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 21 Nov 2023 09:12:17 -0800 (PST) On 21/11/2023 16:45, Zi Yan wrote: > On 21 Nov 2023, at 10:46, Ryan Roberts wrote: > >>> >>> vm-scalability results >>> === >>> >>> ========================================================================================= >>> compiler/kconfig/rootfs/runtime/tbox_group/test/testcase: >>> gcc-13/defconfig/debian/300s/qemu-vm/mmap-xread-seq-mt/vm-scalability >>> >>> commit: >>> 6.6.0-rc4-mm-everything-2023-10-21-02-40+ >>> 6.6.0-rc4-split-folio-in-compaction+ >>> 6.6.0-rc4-folio-migration-in-compaction+ >>> 6.6.0-rc4-folio-migration-free-page-split+ >>> 6.6.0-rc4-folio-migration-free-page-split-sort-src+ >>> >>> 6.6.0-rc4-mm-eve 6.6.0-rc4-split-folio-in-co 6.6.0-rc4-folio-migration-i 6.6.0-rc4-folio-migration-f 6.6.0-rc4-folio-migration-f >>> ---------------- --------------------------- --------------------------- --------------------------- --------------------------- >>> %stddev %change %stddev %change %stddev %change %stddev %change %stddev >>> \ | \ | \ | \ | \ >>> 12896955 +2.7% 13249322 -4.0% 12385175 ± 5% +1.1% 13033951 -0.4% 12845698 vm-scalability.throughput >> >> Hi Zi, >> >> Are you able to add any commentary to these results as I'm struggling to >> interpret them; Is a positive or negative change better (are they times or >> rates?). What are the stddev values? The title suggests percent but the values >> are huge - I'm trying to understand what the error bars look like - are the >> swings real or noise? > > The metric is vm-scalability.throughput, so the larger the better. Some %stddev > are not present since they are too small. For 6.6.0-rc4-folio-migration-in-compaction+, > %stddev is greater than %change, so the change might be noise. Ahh got it - thanks! > > Also, I talked to DavidH in last THP Cabal meeting about this. He suggested that > there are a lot of noise in vm-scalability like what I have here and I should > run more iterations and on bare metal. I am currently rerun them on a baremetal > and more iterations on the existing VM and report the results later. Please > note that the runs really take some time. Ahh ok, I'll wait for the bare metal numbers and will disregard these for now. Thanks! > > In addition, I will find other fragmentation-related benchmarks, so we can see > the impact on memory fragmentation. > > -- > Best Regards, > Yan, Zi