From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 9CF563BBA0F; Wed, 27 May 2026 15:39:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779896354; cv=none; b=V+46A4eb8G1/TA9XRHEAyGtuTCAZ/p+BCAvm6aYboKEVpdte0PVMOK0QIy3bIkRE/Dz1cvuPz5eEP60wlpzjHbHPPGLKt9ZVCkZGkge21JYdZ1Qzg5GtGNDtWfvseBSxm9+wPMLqDgBfm3SviSKSqfM3T+VWAjXICed4+Kg4e3c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779896354; c=relaxed/simple; bh=JzGOKATj689Qz+Wq7aMY5bfR6An6qGKSqpNZvFGg96k=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rx86UsDYPHlbXOpR/ToLpitLykt6M0E3zFCXuZf8EJBrRxY/r7yEGlJDCNZp4O25rpftJWdiYFeejcYiqGlGXMOyrm7McdhkiJaDo26XC8yfBvOjaDYubzdjlUxnyYq9OjOWXHdMUaApgRdW1Ng7gMqu5OxTtxHltuyfsY6hvxc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=E2y8R2Hx; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="E2y8R2Hx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 25F2C1F000E9; Wed, 27 May 2026 15:39:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1779896353; bh=8tkayxaFR4WgUW5KlUVQBv4QvmTLYma6soAnDSL6BSE=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=E2y8R2Hxn+xhvIjIcnHlTfkDkts7bsT+888M6AM9G1ambnFnv5F78FJW9QyRGRGyP +aRJbaNxmsBPyVau+poW6nye8T7/U+loHiVz5VLG0NH4eQqPZIVTpQ6MnJ1nmjSCWj REKXR2KOVHvb+ByZMnVAoWwowF6BgkNVf1mi6MbU6kSzNmdLk/YmtmMC3CRSUdEHBa nHMONcPUwmFcN6IGk5LJmqKzzuAntrUhs2W2KFTt4tyMGx1pcLaoVfm8bCs67yMBHr vilgqZaylNQsNnN73f7k0Z9EdAh0x0eeghvPX2zls+ciDqu/sdJd1KO1MDHLsw/DV4 ugSTcps09ILXQ== Date: Wed, 27 May 2026 15:39:11 +0000 From: Jaegeuk Kim To: Matthew Wilcox Cc: Theodore Tso , linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, Christoph Hellwig , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Akilesh Kailash , Christian Brauner Subject: Re: [f2fs-dev] [PATCH v2] f2fs: another way to set large folio by remembering inode number Message-ID: References: <20260522141115.GA8258@macsyma-wired.lan> <20260522224108.GA18663@macsyma-wired.lan> Precedence: bulk X-Mailing-List: linux-fsdevel@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: On 05/27, Matthew Wilcox wrote: > On Wed, May 27, 2026 at 02:43:21AM +0000, Jaegeuk Kim wrote: > > Thanks for the context. To clarify a piece I missed earlier: the model pages > > are also utilized for inference. Our data shows that larger chunks yield > > higher inference speeds. Consequently, I required high-order pages to optimize > > both read throughput and inference latency. I will halt my current efforts > > and wait for alternative suggestions. > > I think your efforts would be best directed towards general support for > large folios in f2fs. There's still 40+ places in f2fs that use a > struct page, and converting them all to folios would be a great help. Ok, I'll dive into it in priority, but it'll take some time since I think we'd better to refactor some major data structures. > > > _______________________________________________ > Linux-f2fs-devel mailing list > Linux-f2fs-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel 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 lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0161FCD5BD0 for ; Wed, 27 May 2026 15:39:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:Cc: Reply-To:From:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:In-Reply-To:MIME-Version:References: Message-ID:To:Date:Sender:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=q4zE+zBDkVeSdWcXgFJkmecA8kObIPUnI1Dq4Sm3i9M=; b=ByMcss1/mAGZvQyoeYA/NVhmJQ EvvaUnfoT1Cpvdb/M/Xmci+fc/5yqTu0UWnSwq8y8a+MzO9HN7bEFwlrC4WAonRAdVaGLbDSyPr7q PEJMz4S6g/PYavcsNPzi8EWtHJQi1v1aTx2vhJOW1gqmV3QIZRm1DZEdJQuvO5A4fMpc=; Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1wSGLw-0002vQ-Iq; Wed, 27 May 2026 15:39:29 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1wSGLs-0002uz-Kd for linux-f2fs-devel@lists.sourceforge.net; Wed, 27 May 2026 15:39:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=8tkayxaFR4WgUW5KlUVQBv4QvmTLYma6soAnDSL6BSE=; b=fDbfYdv2OsyQ9r8xC/MLc1GS5I gb2zAy7+NpAGx/yTYlsVikQDSEhqFDlEwfqni7X+dyc07zaaem/iossqlsIdbLB+v/By/xQugm0UH bo1nqkcsQXJb9qMlYrDWdPTEw7fBiaIlsj6vx9yXEkjxrWIMgkAJO7fkeYCgj0EzAo9I=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To :From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=8tkayxaFR4WgUW5KlUVQBv4QvmTLYma6soAnDSL6BSE=; b=BkcKO3U5M+zbMG7nc7obDzsbCK BICyEQfMLhqha760zKzXfmnAo2OXKsAB2gfI9NEnyecG2fdbfPdjDCFsuKwuT0Q0N0RswgE/s+c0F 19ekFKN0k5saJil2NtRqfVF3ih1GKmbl0EFzpEwj4c9VMApltVISGA5g013YdFF9Du7I=; Received: from sea.source.kernel.org ([172.234.252.31]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1wSGLr-00088F-GC for linux-f2fs-devel@lists.sourceforge.net; Wed, 27 May 2026 15:39:25 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 9DD2C43D3E; Wed, 27 May 2026 15:39:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 25F2C1F000E9; Wed, 27 May 2026 15:39:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1779896353; bh=8tkayxaFR4WgUW5KlUVQBv4QvmTLYma6soAnDSL6BSE=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=E2y8R2Hxn+xhvIjIcnHlTfkDkts7bsT+888M6AM9G1ambnFnv5F78FJW9QyRGRGyP +aRJbaNxmsBPyVau+poW6nye8T7/U+loHiVz5VLG0NH4eQqPZIVTpQ6MnJ1nmjSCWj REKXR2KOVHvb+ByZMnVAoWwowF6BgkNVf1mi6MbU6kSzNmdLk/YmtmMC3CRSUdEHBa nHMONcPUwmFcN6IGk5LJmqKzzuAntrUhs2W2KFTt4tyMGx1pcLaoVfm8bCs67yMBHr vilgqZaylNQsNnN73f7k0Z9EdAh0x0eeghvPX2zls+ciDqu/sdJd1KO1MDHLsw/DV4 ugSTcps09ILXQ== Date: Wed, 27 May 2026 15:39:11 +0000 To: Matthew Wilcox Message-ID: References: <20260522141115.GA8258@macsyma-wired.lan> <20260522224108.GA18663@macsyma-wired.lan> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Headers-End: 1wSGLr-00088F-GC Subject: Re: [f2fs-dev] [PATCH v2] f2fs: another way to set large folio by remembering inode number X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Jaegeuk Kim via Linux-f2fs-devel Reply-To: Jaegeuk Kim Cc: Theodore Tso , linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, Christoph Hellwig , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Akilesh Kailash , Christian Brauner Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On 05/27, Matthew Wilcox wrote: > On Wed, May 27, 2026 at 02:43:21AM +0000, Jaegeuk Kim wrote: > > Thanks for the context. To clarify a piece I missed earlier: the model pages > > are also utilized for inference. Our data shows that larger chunks yield > > higher inference speeds. Consequently, I required high-order pages to optimize > > both read throughput and inference latency. I will halt my current efforts > > and wait for alternative suggestions. > > I think your efforts would be best directed towards general support for > large folios in f2fs. There's still 40+ places in f2fs that use a > struct page, and converting them all to folios would be a great help. Ok, I'll dive into it in priority, but it'll take some time since I think we'd better to refactor some major data structures. > > > _______________________________________________ > Linux-f2fs-devel mailing list > Linux-f2fs-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel