From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754581Ab3KNPym (ORCPT ); Thu, 14 Nov 2013 10:54:42 -0500 Received: from mx1.redhat.com ([209.132.183.28]:30286 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752123Ab3KNPye (ORCPT ); Thu, 14 Nov 2013 10:54:34 -0500 Message-ID: <5284F201.4040607@redhat.com> Date: Thu, 14 Nov 2013 10:53:37 -0500 From: Rik van Riel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: Bob Liu CC: Johannes Weiner , Andrew Morton , Andi Kleen , Andrea Arcangeli , Greg Thelen , Christoph Hellwig , Hugh Dickins , Jan Kara , KOSAKI Motohiro , Mel Gorman , Minchan Kim , Peter Zijlstra , Michel Lespinasse , Seth Jennings , Roman Gushchin , Ozgun Erdogan , Metin Doslu , Vlastimil Babka , Tejun Heo , Linux-MM , linux-fsdevel@vger.kernel.org, Linux-Kernel Subject: Re: [patch 0/8] mm: thrash detection-based file cache sizing v5 References: <1381441622-26215-1-git-send-email-hannes@cmpxchg.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/12/2013 05:30 AM, Bob Liu wrote: > Hi Johannes, > > On Fri, Oct 11, 2013 at 5:46 AM, Johannes Weiner wrote: >> Future >> >> Right now we have a fixed ratio (50:50) between inactive and active >> list but we already have complaints about working sets exceeding half >> of memory being pushed out of the cache by simple used-once streaming >> in the background. Ultimately, we want to adjust this ratio and allow >> for a much smaller inactive list. These patches are an essential step >> in this direction because they decouple the VMs ability to detect >> working set changes from the inactive list size. This would allow us >> to base the inactive list size on something more sensible, like the >> combined readahead window size for example. >> > > I found that this patchset have the similar purpose as > Zcache(http://lwn.net/Articles/562254/) in some way. Sorry, but that is unrelated.