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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F1FBC48297 for ; Mon, 12 Feb 2024 18:44:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D06316B007E; Mon, 12 Feb 2024 13:44:47 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id CB79F6B0080; Mon, 12 Feb 2024 13:44:47 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B57476B0081; Mon, 12 Feb 2024 13:44:47 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id A2A8B6B007E for ; Mon, 12 Feb 2024 13:44:47 -0500 (EST) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 4D0311A0806 for ; Mon, 12 Feb 2024 18:44:47 +0000 (UTC) X-FDA: 81784028214.15.75ED989 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) by imf30.hostedemail.com (Postfix) with ESMTP id 7643180010 for ; Mon, 12 Feb 2024 18:44:45 +0000 (UTC) Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=e1biapSm; spf=pass (imf30.hostedemail.com: domain of yuzhao@google.com designates 209.85.128.45 as permitted sender) smtp.mailfrom=yuzhao@google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1707763485; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=awleO4UbaLWotLxN2WegZSolmgUNeBekfvMVRlHYfJY=; b=59CK7KnCi2vsj3jnP0pKg5opmfNbBEEKd/xJyVq5Bftvx+rS/WDx2+WZDL8AzwZS3VxUf8 cPsVjgxuuyiFEk+odJ9u5eXHv8JklmgpaURYUwkZhux2ZTMu878fghhLJZqCn0pDTCMTWu gCH7LcdCgrqHHVMAgC7rDqT+mGanDUs= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1707763485; a=rsa-sha256; cv=none; b=5q5532ia7TVon3UT15Zm4pts/AbmeR6iZfbKn5U+m9rdkbP6JGRgkZjXk9p6I5x+G94WQv eK3VYbgUGhdpp3r0P4i6EFmxLB1Kg4d6lbAlgq2ZHx5cXXcxbNXWnZiitpgp1ZPYiZhH0b LV4e00wJzEK8cmqpK4jDQPYiG9MtSBA= ARC-Authentication-Results: i=1; imf30.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=e1biapSm; spf=pass (imf30.hostedemail.com: domain of yuzhao@google.com designates 209.85.128.45 as permitted sender) smtp.mailfrom=yuzhao@google.com; dmarc=pass (policy=reject) header.from=google.com Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-410c9f17c9eso6495e9.0 for ; Mon, 12 Feb 2024 10:44:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1707763484; x=1708368284; darn=kvack.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=awleO4UbaLWotLxN2WegZSolmgUNeBekfvMVRlHYfJY=; b=e1biapSmfIma15UYcnW0QmFgDh2WvN06ka1coz+YAJmfi/J2UeK0rszLcsW+jNgmjv runaIWhs64a9ktIKUEwBqrOKP+/iFQzxjbN7hbTEF0xhieSleS9oHljFkz/IMvd7/+wE X8jKIeAm1CkWRljxNq0KBLzjLm+xJd88c+8+/OPwtUVaDavRspd3ZuckowyzRj+CJ0MF s4IlsUIhCJHMF+3efHn1mGKOQv7gFN/zDFFOrH9KBy51YPqTlLhQYqv+bTmoDUzqB6Fm TjUVFqZOhri6o9Qfq5nQJivfrKDphQW3OjyeQp6J1fD3NvfMsxpAWjHJ9230MBKU4IaT 0nqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707763484; x=1708368284; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=awleO4UbaLWotLxN2WegZSolmgUNeBekfvMVRlHYfJY=; b=Gh1wN4Q4jdvFl4hFhAArsdmFKd/+1SD83Kzv1ahWJ2TPe6PEz43pJDkLXoTjhmJrcx h27Mpzdf2z+BqRVXJW1Mtbu96H2+MxxdCV7LfyKNRv5Ny0VBTQYlEzShGnR8rZeo88oC w9gBThqjhdLWHRnFLRgdrfsAxfYElTlB+5jS0xGqhateuyK7WmMOEVBWlNZfqf1TxBt3 W0uAoSBa7Z6mxzxWU2JALLZl1sIWk6UVUZrpPo6DH6VE4II5zKCGeuHfAJmuHnd1i9NI 7OEK9+CWmVQzA45YwWqu4JDTHzdOaK0Pl9XIBQ3QkDHTXUcMfkoOZsz3iHZrsNCJs79c Ox+Q== X-Gm-Message-State: AOJu0Yz8VzHoWblZup6+Z7Pa83iL1YiAhTOKpU63c0xkzGCvsX/PeAP/ C3G6ygdU0MEetWjyTz8w8aUmUmgnYDMRS2AQNgzWnZjs+FRdbkkaxt+YYjr9VmvhK+sbSxuHxqb OjEzSIigaaCEPsB0c+gXYtUwGis4XfJNdOZUz X-Google-Smtp-Source: AGHT+IENP53VWALBr0STyXawCM5pf9m4nMO4OZUSg9qhAJyD+ZItym9RSlBRbLX6pXQojaovw/gacAZk/E5wIwrlVF4= X-Received: by 2002:a05:600c:601c:b0:410:daa5:66f0 with SMTP id az28-20020a05600c601c00b00410daa566f0mr179825wmb.6.1707763483681; Mon, 12 Feb 2024 10:44:43 -0800 (PST) MIME-Version: 1.0 References: <20240212163510.859822-1-zi.yan@sent.com> In-Reply-To: <20240212163510.859822-1-zi.yan@sent.com> From: Yu Zhao Date: Mon, 12 Feb 2024 11:44:07 -0700 Message-ID: Subject: Re: [PATCH v4 0/3] Enable >0 order folio memory compaction To: Zi Yan Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, "Huang, Ying" , Ryan Roberts , Andrew Morton , "Matthew Wilcox (Oracle)" , David Hildenbrand , "Yin, Fengwei" , Vlastimil Babka , "Kirill A . Shutemov" , Johannes Weiner , Baolin Wang , Kemeng Shi , Mel Gorman , Rohan Puri , Mcgrof Chamberlain , Adam Manzanares , "Vishal Moola (Oracle)" , Suren Baghdasaryan Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 7643180010 X-Rspam-User: X-Stat-Signature: 7cx7y9wj8tti4ncfy7hiesw1bwnqypye X-Rspamd-Server: rspam03 X-HE-Tag: 1707763485-130719 X-HE-Meta: U2FsdGVkX19HnLvTEOB3uQN40cldCM7+5RqWxlOYjoeBr/ZkMfysBXhodwMUCkm0ezXr9W1aiynKp4zk2pnLYmRQML3ujFugx1SJSrEgpsytwUbS+dgfFHqPfif5SsJCZl5Wgev/Z33Gp31sM6pahNZnzycslMEdLvXMLMLoP72uIirT6tAnErO7xB/kDJIg/Z7BbTAUVB+FppcGEi0cxzlglDZwep4s5+zbT7/cqKGJsuLunHzFz79fLIiDIl3eAkZtEXzrFm8T8F8Quegi26dafbrl82XAqpngi1bVyr7Yzuk18LARjwlDjc47DJtf3Ia+OvLR1RLVRfUAOtQiSC5zmZiZUe6ULnfq2YZ3I9ER1OFtQSa6mSSYk+0s4rLkqrwl+zYT90xYyr9+y/tyn+V1SUCMcyYBpQDFi9zwXCDWD5TaliJxJCCEeUg/OtpyFGQb8Fa3WOmiPsOwE8+3r5KeyrZIwZuOTilabqFaqv7AiaXI74B3FV22Xw8etb/i8ahlF49ZK22xshsKj2g6Hi+G5LEvtDS+NvMeVoaYeFcefjSPeZ5FPe+Iuy0D8doukzIZivCazsQe96pem8tst/QVfjLmPcr/KWo2Z5ZYVzv6wDAp3qtsHm2MC+eEE90fDFB+RtyrEd0fNSVW2mLaVdR4F2qA4vNaKmzFA1R8AYVs3EB7utrf5AlHG2BN5LNK0k16AQUPSWbrlQdQJoez3Q1W/vxwL+1dttri2q/oB49t9NJq78BIJkTH6T6/g6UYiA0Hc5MTE1rLaIz3ggMZgyeELxFjV5FK5MCX2tcYlx7m9/KekSCxkMCGi7XhmDm2Kz8wXYQa60eotnN8ylArNqYavbfAms+dIZzSZsYz4AVPkFgIZwMCvFDEVMoDU4CXWE6FgRX5ZGrCKaPoI7hF5UKIvGMjQANitrUb69lJYfoWruKfDfwj0P6W7Kl2NfUJr7NNq/qHCPjZlInpcFU /gkBiWx/ kTelHtpbOlzIPy4JKhfD1AqJLKcmKBvVLY8me7hvilZugTz3oh70GXst/HW2e8RiBnB1QClo+uvZWcF6ZaEd0OqmEp3Klv237O1+wfv5wNm7Hhq33jJ7GpjZE0PdA+Kno7UUslfpVBat26ASvR0qlitQ73KljXP/EMkvTmxEw1erUgEwlQUJP8r8iY4F8E4VnqpEWXfpjUsS6gy3ao2lPKMI+1WCzVvK8L0Y4yGw/sgvHdjYOaCMWbsozwkFCiP3/PnDlun69y5LOwRRtgBuQZc9WECiAMDwuB9XwirDYSFzpoaWS6d9wkyUO21f6jP0Bq3rXALdY77chJDVgeWj+8TJx+A2mbPMYSJf4KRxZlBWZGdciBHJoPS3afoM6BGyLFsYaqUx06b5kZBLUCm1IuRqTsg== 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: List-Subscribe: List-Unsubscribe: On Mon, Feb 12, 2024 at 9:35=E2=80=AFAM Zi Yan wrote: > > From: Zi Yan > > Hi all, > > This patchset enables >0 order folio memory compaction, which is one of > the prerequisitions for large folio support[1]. It is on top of > mm-everything-2024-02-10-00-56. > > I am aware of that split free pages is necessary for folio > migration in compaction, since if >0 order free pages are never split > and no order-0 free page is scanned, compaction will end prematurely due > to migration returns -ENOMEM. Free page split becomes a must instead of > an optimization. > > lkp ncompare results (on a 8-CPU (Intel Xeon E5-2650 v4 @2.20GHz) 16G VM) > for default LRU (-no-mglru) and CONFIG_LRU_GEN are shown at the bottom, > copied from V3[4], since V4 is only a code refactoring of V3. > In sum, most of vm-scalability applications do not see performance > change, and the others see ~4% to ~26% performance boost under default LR= U > and ~2% to ~6% performance boost under CONFIG_LRU_GEN. Suren has been testing 64KB THP on Android and seeing regressions under memory pressure (a significant portion of client devices are always under memory pressure). Hopefully this series will help. I threw this series into some stress tests we have with both 64KB and 2MB THP enabled and didn't see any obvious problems. Tested-by: Yu Zhao > Overview > =3D=3D=3D > > To support >0 order folio compaction, the patchset changes how free pages= used > for migration are kept during compaction. Free pages used to be split int= o > order-0 pages that are post allocation processed (i.e., PageBuddy flag cl= eared, > page order stored in page->private is zeroed, and page reference is set t= o 1). > Now all free pages are kept in a MAX_ORDER+1 array of page lists based > on their order without post allocation process. When migrate_pages() asks= for > a new page, one of the free pages, based on the requested page order, is > then processed and given out. And THP <2MB would need this feature (spell it out). > vm-scalability results on CONFIG_LRU_GEN > =3D=3D=3D > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > compiler/kconfig/rootfs/runtime/tbox_group/test/testcase: > gcc-13/defconfig/debian/300s/qemu-vm/mmap-xread-seq-mt/vm-scalability > > commit: > 6.8.0-rc1-mm-everything-2024-01-29-07-19+ > 6.8.0-rc1-split-folio-in-compaction+ > 6.8.0-rc1-folio-migration-in-compaction+ > 6.8.0-rc1-folio-migration-free-page-split+ > > 6.8.0-rc1-mm-eve 6.8.0-rc1-split-folio-in-co 6.8.0-rc1-folio-migration-i = 6.8.0-rc1-folio-migration-f > ---------------- --------------------------- --------------------------- = --------------------------- > %stddev %change %stddev %change %stddev = %change %stddev > \ | \ | \ = | \ > 15107616 +3.2% 15590339 +1.3% 15297619 = +3.0% 15567998 vm-scalability.throughput > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > compiler/kconfig/rootfs/runtime/tbox_group/test/testcase: > gcc-13/defconfig/debian/300s/qemu-vm/mmap-pread-seq/vm-scalability > > commit: > 6.8.0-rc1-mm-everything-2024-01-29-07-19+ > 6.8.0-rc1-split-folio-in-compaction+ > 6.8.0-rc1-folio-migration-in-compaction+ > 6.8.0-rc1-folio-migration-free-page-split+ > > 6.8.0-rc1-mm-eve 6.8.0-rc1-split-folio-in-co 6.8.0-rc1-folio-migration-i = 6.8.0-rc1-folio-migration-f > ---------------- --------------------------- --------------------------- = --------------------------- > %stddev %change %stddev %change %stddev = %change %stddev > \ | \ | \ = | \ > 12611785 +1.8% 12832919 +0.9% 12724223 = +1.6% 12812682 vm-scalability.throughput > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > compiler/kconfig/rootfs/runtime/tbox_group/test/testcase: > gcc-13/defconfig/debian/300s/qemu-vm/lru-file-readtwice/vm-scalability > > commit: > 6.8.0-rc1-mm-everything-2024-01-29-07-19+ > 6.8.0-rc1-split-folio-in-compaction+ > 6.8.0-rc1-folio-migration-in-compaction+ > 6.8.0-rc1-folio-migration-free-page-split+ > > 6.8.0-rc1-mm-eve 6.8.0-rc1-split-folio-in-co 6.8.0-rc1-folio-migration-i = 6.8.0-rc1-folio-migration-f > ---------------- --------------------------- --------------------------- = --------------------------- > %stddev %change %stddev %change %stddev = %change %stddev > \ | \ | \ = | \ > 9833393 +5.7% 10390190 +3.0% 10126606 = +5.9% 10408804 vm-scalability.throughput > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > compiler/kconfig/rootfs/runtime/tbox_group/test/testcase: > gcc-13/defconfig/debian/300s/qemu-vm/lru-file-mmap-read/vm-scalability > > commit: > 6.8.0-rc1-mm-everything-2024-01-29-07-19+ > 6.8.0-rc1-split-folio-in-compaction+ > 6.8.0-rc1-folio-migration-in-compaction+ > 6.8.0-rc1-folio-migration-free-page-split+ > > 6.8.0-rc1-mm-eve 6.8.0-rc1-split-folio-in-co 6.8.0-rc1-folio-migration-i = 6.8.0-rc1-folio-migration-f > ---------------- --------------------------- --------------------------- = --------------------------- > %stddev %change %stddev %change %stddev = %change %stddev > \ | \ | \ = | \ > 7034709 =C2=B1 3% +2.9% 7241429 +3.2% 7256680 = =C2=B1 2% +3.9% 7308375 vm-scalability.throughput > > > > vm-scalability results on default LRU (with -no-mglru suffix) > =3D=3D=3D > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > compiler/kconfig/rootfs/runtime/tbox_group/test/testcase: > gcc-13/defconfig/debian/300s/qemu-vm/mmap-xread-seq-mt/vm-scalability > > commit: > 6.8.0-rc1-mm-everything-2024-01-29-07-19-no-mglru+ > 6.8.0-rc1-split-folio-in-compaction-no-mglru+ > 6.8.0-rc1-folio-migration-in-compaction-no-mglru+ > 6.8.0-rc1-folio-migration-free-page-split-no-mglru+ > > 6.8.0-rc1-mm-eve 6.8.0-rc1-split-folio-in-co 6.8.0-rc1-folio-migration-i = 6.8.0-rc1-folio-migration-f > ---------------- --------------------------- --------------------------- = --------------------------- > %stddev %change %stddev %change %stddev = %change %stddev > \ | \ | \ = | \ > 14401491 +3.7% 14940270 +2.4% 14748626 = +4.0% 14975716 vm-scalability.throughput > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > compiler/kconfig/rootfs/runtime/tbox_group/test/testcase: > gcc-13/defconfig/debian/300s/qemu-vm/mmap-pread-seq/vm-scalability > > commit: > 6.8.0-rc1-mm-everything-2024-01-29-07-19-no-mglru+ > 6.8.0-rc1-split-folio-in-compaction-no-mglru+ > 6.8.0-rc1-folio-migration-in-compaction-no-mglru+ > 6.8.0-rc1-folio-migration-free-page-split-no-mglru+ > > 6.8.0-rc1-mm-eve 6.8.0-rc1-split-folio-in-co 6.8.0-rc1-folio-migration-i = 6.8.0-rc1-folio-migration-f > ---------------- --------------------------- --------------------------- = --------------------------- > %stddev %change %stddev %change %stddev = %change %stddev > \ | \ | \ = | \ > 11407497 +5.1% 11989632 -0.5% 11349272 = +4.8% 11957423 vm-scalability.throughput > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > compiler/kconfig/rootfs/runtime/tbox_group/test/testcase: > gcc-13/defconfig/debian/300s/qemu-vm/mmap-pread-seq-mt/vm-scalability > > commit: > 6.8.0-rc1-mm-everything-2024-01-29-07-19-no-mglru+ > 6.8.0-rc1-split-folio-in-compaction-no-mglru+ > 6.8.0-rc1-folio-migration-in-compaction-no-mglru+ > 6.8.0-rc1-folio-migration-free-page-split-no-mglru+ > > 6.8.0-rc1-mm-eve 6.8.0-rc1-split-folio-in-co 6.8.0-rc1-folio-migration-i = 6.8.0-rc1-folio-migration-f > ---------------- --------------------------- --------------------------- = --------------------------- > %stddev %change %stddev %change %stddev = %change %stddev > \ | \ | \ = | \ > 11348474 +3.3% 11719453 -1.2% 11208759 = +3.7% 11771926 vm-scalability.throughput > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > compiler/kconfig/rootfs/runtime/tbox_group/test/testcase: > gcc-13/defconfig/debian/300s/qemu-vm/lru-file-readtwice/vm-scalability > > commit: > 6.8.0-rc1-mm-everything-2024-01-29-07-19-no-mglru+ > 6.8.0-rc1-split-folio-in-compaction-no-mglru+ > 6.8.0-rc1-folio-migration-in-compaction-no-mglru+ > 6.8.0-rc1-folio-migration-free-page-split-no-mglru+ > > 6.8.0-rc1-mm-eve 6.8.0-rc1-split-folio-in-co 6.8.0-rc1-folio-migration-i = 6.8.0-rc1-folio-migration-f > ---------------- --------------------------- --------------------------- = --------------------------- > %stddev %change %stddev %change %stddev = %change %stddev > \ | \ | \ = | \ > 8065614 =C2=B1 3% +7.7% 8686626 =C2=B1 2% +5.0% 8467= 577 =C2=B1 4% +11.8% 9016077 =C2=B1 2% vm-scalability.throughput > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > compiler/kconfig/rootfs/runtime/tbox_group/test/testcase: > gcc-13/defconfig/debian/300s/qemu-vm/lru-file-mmap-read/vm-scalability > > commit: > 6.8.0-rc1-mm-everything-2024-01-29-07-19-no-mglru+ > 6.8.0-rc1-split-folio-in-compaction-no-mglru+ > 6.8.0-rc1-folio-migration-in-compaction-no-mglru+ > 6.8.0-rc1-folio-migration-free-page-split-no-mglru+ > > 6.8.0-rc1-mm-eve 6.8.0-rc1-split-folio-in-co 6.8.0-rc1-folio-migration-i = 6.8.0-rc1-folio-migration-f > ---------------- --------------------------- --------------------------- = --------------------------- > %stddev %change %stddev %change %stddev = %change %stddev > \ | \ | \ = | \ > 6438422 =C2=B1 2% +27.5% 8206734 =C2=B1 2% +10.6% 7118= 390 +26.2% 8127192 =C2=B1 4% vm-scalability.throughput Thanks for the data! Based on the above: Test case default MGLRU Change =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D mmap-xread-seq-mt/vm-scalability 14975716 15567998 +4% mmap-pread-seq/vm-scalability 11957423 12812682 +7% mmap-pread-seq-mt/vm-scalability 11771926 unavail N/A lru-file-readtwice/vm-scalability 9016077 10408804 +15% lru-file-mmap-read/vm-scalability 8127192 7308375 -10% So it seems that MGLRU regressed for the last test. I'll find someone on our team to take a look.