From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753061AbcFGCes (ORCPT ); Mon, 6 Jun 2016 22:34:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58837 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752077AbcFGCer (ORCPT ); Mon, 6 Jun 2016 22:34:47 -0400 Message-ID: <1465266883.16365.154.camel@redhat.com> Subject: Re: [PATCH 07/10] mm: base LRU balancing on an explicit cost model From: Rik van Riel To: Johannes Weiner , linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: Andrew Morton , Mel Gorman , Andrea Arcangeli , Andi Kleen , Michal Hocko , Tim Chen , kernel-team@fb.com Date: Mon, 06 Jun 2016 22:34:43 -0400 In-Reply-To: <20160606194836.3624-8-hannes@cmpxchg.org> References: <20160606194836.3624-1-hannes@cmpxchg.org> <20160606194836.3624-8-hannes@cmpxchg.org> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-OTIhPc09Uu/k0/RphPgr" Mime-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Tue, 07 Jun 2016 02:34:46 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-OTIhPc09Uu/k0/RphPgr Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2016-06-06 at 15:48 -0400, Johannes Weiner wrote: > Currently, scan pressure between the anon and file LRU lists is > balanced based on a mixture of reclaim efficiency and a somewhat > vague > notion of "value" of having certain pages in memory over others. That > concept of value is problematic, because it has caused us to count > any > event that remotely makes one LRU list more or less preferrable for > reclaim, even when these events are not directly comparable to each > other and impose very different costs on the system - such as a > referenced file page that we still deactivate and a referenced > anonymous page that we actually rotate back to the head of the list. >=20 Well, patches 7-10 answered my question on patch 6 :) I like this design. --=20 All Rights Reversed. --=-OTIhPc09Uu/k0/RphPgr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJXVjLDAAoJEM553pKExN6DBXoIALeVA87/FY4tr4DBuc8aMQXr UFLEDZtJ0gfVDQ9l+Hmfuua/yhd9znZoDrcK9yMEAVd+U1Ow3wECq93Koltsif80 AY9/32yS45/vq3rtFKzW2LSSPGpKUdfcAe1pw4abZa8dOB4GwgnOdPZleZP/7xIa icc8Wf3IGo+Fmmv9DSKAqjelnHI8OPSxA3eLYln0oAfMaxJJnniVt6cTJHujlunY gJUoMTmbkCtHm+5Gt0Xqd5ICofw/jSdLqjAuBmzUeMfZDiVbUBcpfwOcliii+qDu ORsoQ8UMIggzk/waEyqJAvu6qKVkzvqoq7Ntjlw2m4JGthdTx/c98lBwhK/eBXY= =/u/A -----END PGP SIGNATURE----- --=-OTIhPc09Uu/k0/RphPgr--