From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx185.postini.com [74.125.245.185]) by kanga.kvack.org (Postfix) with SMTP id C92016B0032 for ; Tue, 20 Aug 2013 17:04:08 -0400 (EDT) Date: Tue, 20 Aug 2013 14:04:06 -0700 From: Andrew Morton Subject: Re: [patch 9/9] mm: thrash detection-based file cache sizing v4 Message-Id: <20130820140406.694b248b41611883878f8245@linux-foundation.org> In-Reply-To: <1376767883-4411-1-git-send-email-hannes@cmpxchg.org> References: <1376767883-4411-1-git-send-email-hannes@cmpxchg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Johannes Weiner Cc: Andi Kleen , Andrea Arcangeli , Greg Thelen , Christoph Hellwig , Hugh Dickins , Jan Kara , KOSAKI Motohiro , Mel Gorman , Minchan Kim , Peter Zijlstra , Rik van Riel , Michel Lespinasse , Seth Jennings , Roman Gushchin , Ozgun Erdogan , Metin Doslu , Vlastimil Babka , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org On Sat, 17 Aug 2013 15:31:14 -0400 Johannes Weiner wrote: > This series solves the problem by maintaining a history of pages > evicted from the inactive list, enabling the VM to tell streaming IO > from thrashing and rebalance the page cache lists when appropriate. I can't say I'm loving the patchset. It adds significant bloat to the inode (of all things!), seems to add some runtime overhead and certainly adds boatloads of complexity. In return for which we get... well, I don't know what we get - no data was included. It had better be good! To aid in this decision, please go through the patchset and calculate and itemize the overhead: increased inode size, increased radix-tree consumption, lengthier code paths, anything else I missed Others can make their own judgements regarding complexity increase. Then please carefully describe the benefits, then see if you can convince us that one is worth the other! -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org