From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758168Ab3KZU60 (ORCPT ); Tue, 26 Nov 2013 15:58:26 -0500 Received: from zene.cmpxchg.org ([85.214.230.12]:42119 "EHLO zene.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757480Ab3KZU6W (ORCPT ); Tue, 26 Nov 2013 15:58:22 -0500 Date: Tue, 26 Nov 2013 15:57:41 -0500 From: Johannes Weiner To: Ryan Mallon Cc: Andrew Morton , Dave Chinner , Rik van Riel , Jan Kara , Vlastimil Babka , Peter Zijlstra , Tejun Heo , Andi Kleen , Andrea Arcangeli , Greg Thelen , Christoph Hellwig , Hugh Dickins , KOSAKI Motohiro , Mel Gorman , Minchan Kim , Michel Lespinasse , Seth Jennings , Roman Gushchin , Ozgun Erdogan , Metin Doslu , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [patch 7/9] mm: thrash detection-based file cache sizing Message-ID: <20131126205741.GF22729@cmpxchg.org> References: <1385336308-27121-1-git-send-email-hannes@cmpxchg.org> <1385336308-27121-8-git-send-email-hannes@cmpxchg.org> <5293FFC7.5070907@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5293FFC7.5070907@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 26, 2013 at 12:56:23PM +1100, Ryan Mallon wrote: > > + * fault ------------------------+ > > + * | > > + * +--------------+ | +-------------+ > > + * reclaim <- | inactive | <-+-- demotion | active | <--+ > > + * +--------------+ +-------------+ | > > + * | | > > + * +-------------- promotion ------------------+ > > + * > > + * > > + * Access frequency and refault distance > > + * > > + * A workload is trashing when its pages are frequently used but they > > "thrashing". Thanks ;)