From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EB3FE2673AA for ; Thu, 19 Feb 2026 22:05:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771538741; cv=none; b=sJGA3Dj9miTaRtgrB5RTOQtGyWXKROczsxNcZwPCX9y4WOyiOyBQL/C/XjMS8kpYTClMf/83LhF0lG+oGhMyYHgSH+ybzMjh9ZCrzbQ483WzBAMbCW8Tj9QHL8noK0HnZVv4cigdNn4/arFD4PhBIPVmIPx2B/dhQYhkcD5Fv6s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771538741; c=relaxed/simple; bh=jYFpoALfLCa4OWxliBejf6Dwu4SVOgXvW3YiZ+bEXpM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NkmbNbNrzDZj/vOdDdHR4UMrAkQgCK4ZjUw8Gt5l1WFV2H8rG+WQZS2/li6UMRdRwQCVE7KkZx0FWkfe3LffH3cEhFVNofwwP7kA58KJQCbBwY1D4FHBxeSd+QRkxweA7tRxN/tihqC2IFZQ6mEEkDd2MpeOIlwPIHCOaQRZUHU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PvNxMWWx; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PvNxMWWx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0B865C4CEF7; Thu, 19 Feb 2026 22:05:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771538740; bh=jYFpoALfLCa4OWxliBejf6Dwu4SVOgXvW3YiZ+bEXpM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PvNxMWWxtjPfkY5rVfiF/3jNb07aCbWYDzFbFowGzg7fod8MHf+9y+X13VVx+eGZ2 ++9gGq2nSZRc37dolcXpEhN6wZ5pt5u4K5RRaNBx2vXNZU6JhYgrilupKG7D+G/SOd gW27vIKTo4wVhOyBx98qBDeTLfORWt8p3/qcio34nTbVZ9ABSNAb1jOx4ch9nNUBdL ajosyy3ugTM7fCTgQ0Vci858hyQdgqU5TLL6A0+uKLGJcLKpGGvjkWOja74ogcThXl GKTfVBDRgzo4sV+sAewe3tU8rXOpCSKjmu+EGKh0v2CZdtknqkTsTUKfRCyuy5gBvN hlNL6cP1+5N0w== Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfauth.phl.internal (Postfix) with ESMTP id E2C5FF40068; Thu, 19 Feb 2026 17:05:38 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Thu, 19 Feb 2026 17:05:38 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvvdeiieelucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepmfhirhihlhcu ufhhuhhtshgvmhgruhcuoehkrghssehkvghrnhgvlhdrohhrgheqnecuggftrfgrthhtvg hrnhepueeijeeiffekheeffffftdekleefleehhfefhfduheejhedvffeluedvudefgfek necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepkhhirh hilhhlodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdduieduudeivdeiheeh qddvkeeggeegjedvkedqkhgrsheppehkvghrnhgvlhdrohhrghesshhhuhhtvghmohhvrd hnrghmvgdpnhgspghrtghpthhtohepfeegpdhmohguvgepshhmthhpohhuthdprhgtphht thhopegurghvvgdrhhgrnhhsvghnsehinhhtvghlrdgtohhmpdhrtghpthhtoheplhhsfh dqphgtsehlihhsthhsrdhlihhnuhigqdhfohhunhgurghtihhonhdrohhrghdprhgtphht thhopehlihhnuhigqdhmmheskhhvrggtkhdrohhrghdprhgtphhtthhopeigkeeisehkvg hrnhgvlhdrohhrghdprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhk vghrnhgvlhdrohhrghdprhgtphhtthhopegrkhhpmheslhhinhhugidqfhhouhhnuggrth hiohhnrdhorhhgpdhrtghpthhtohepuggrvhhiugeskhgvrhhnvghlrdhorhhgpdhrtghp thhtohepthhglhigsehlihhnuhhtrhhonhhigidruggvpdhrtghpthhtohepmhhinhhgoh esrhgvughhrghtrdgtohhm X-ME-Proxy: Feedback-ID: i10464835:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 19 Feb 2026 17:05:38 -0500 (EST) Date: Thu, 19 Feb 2026 22:05:37 +0000 From: Kiryl Shutsemau To: Dave Hansen Cc: lsf-pc@lists.linux-foundation.org, linux-mm@kvack.org, x86@kernel.org, linux-kernel@vger.kernel.org, Andrew Morton , David Hildenbrand , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , Lorenzo Stoakes , "Liam R. Howlett" , Mike Rapoport , Matthew Wilcox , Johannes Weiner , Usama Arif Subject: Re: [LSF/MM/BPF TOPIC] 64k (or 16k) base page size on x86 Message-ID: References: <46817fe5-7166-4734-bad3-3109cc7feb1e@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46817fe5-7166-4734-bad3-3109cc7feb1e@intel.com> On Thu, Feb 19, 2026 at 09:08:57AM -0800, Dave Hansen wrote: > On 2/19/26 07:08, Kiryl Shutsemau wrote: > > - The order-0 page size cuts struct page overhead by a factor of 16. From > > ~1.6% of RAM to ~0.1%; > ... > But, it will mostly be getting better performance at the _cost_ of > consuming more RAM, not saving RAM. That's fair. The problem with struct page memory consumption is that it is static and cannot be reclaimed. You pay the struct page tax no matter what. Page cache rounding overhead can be large, but a motivated userspace can keep it under control by avoiding splitting a dataset into many small files. And this memory is reclaimable. -- Kiryl Shutsemau / Kirill A. Shutemov