From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757726Ab2DZPuy (ORCPT ); Thu, 26 Apr 2012 11:50:54 -0400 Received: from mail-yx0-f174.google.com ([209.85.213.174]:52239 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753007Ab2DZPuw (ORCPT ); Thu, 26 Apr 2012 11:50:52 -0400 MIME-Version: 1.0 In-Reply-To: <20120426142643.GA18863@alpha.arachsys.com> References: <65795E11DBF1E645A09CEC7EAEE94B9CB951A45F@USINDEVS02.corp.hds.com> <20120424082019.GA18395@alpha.arachsys.com> <65795E11DBF1E645A09CEC7EAEE94B9C014649EC4D@USINDEVS02.corp.hds.com> <20120426142643.GA18863@alpha.arachsys.com> From: KOSAKI Motohiro Date: Thu, 26 Apr 2012 11:41:25 -0400 Message-ID: Subject: Re: [RFC][PATCH] avoid swapping out with swappiness==0 To: Richard Davies Cc: Satoru Moriya , Jerome Marchand , "jweiner@redhat.com" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "riel@redhat.com" , "lwoodman@redhat.com" , "shaohua.li@intel.com" , "dle-develop@lists.sourceforge.net" , Seiji Aguchi , Minchan Kim Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 26, 2012 at 10:26 AM, Richard Davies wrote: > Satoru Moriya wrote: >> > I have run into problems with heavy swapping with swappiness==0 and >> > was pointed to this thread ( >> > http://marc.info/?l=linux-mm&m=133522782307215 ) >> >> Did you test this patch with your workload? > > I haven't yet tested this patch. It takes a long time since these are > production machines, and the bug itself takes several weeks of production > use to really show up. > > Rik van Riel has pointed out a lot of VM tweaks that he put into 3.4: > http://marc.info/?l=linux-mm&m=133536506926326 > > My intention is to reboot half of our machines into plain 3.4 once it is > out, and half onto 3.4 + your patch. > > Then we can compare behaviour. > > Will your patch apply cleanly on 3.4? Note. This patch doesn't solve your issue. This patch mean, when occuring very few swap io, it change to 0. But you said you are seeing eager swap io. As Dave already pointed out, your machine have buffer head issue. So, this thread is pointless. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx106.postini.com [74.125.245.106]) by kanga.kvack.org (Postfix) with SMTP id 2D3836B007E for ; Thu, 26 Apr 2012 11:42:17 -0400 (EDT) Received: by yhr47 with SMTP id 47so1444196yhr.14 for ; Thu, 26 Apr 2012 08:42:16 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20120426142643.GA18863@alpha.arachsys.com> References: <65795E11DBF1E645A09CEC7EAEE94B9CB951A45F@USINDEVS02.corp.hds.com> <20120424082019.GA18395@alpha.arachsys.com> <65795E11DBF1E645A09CEC7EAEE94B9C014649EC4D@USINDEVS02.corp.hds.com> <20120426142643.GA18863@alpha.arachsys.com> From: KOSAKI Motohiro Date: Thu, 26 Apr 2012 11:41:25 -0400 Message-ID: Subject: Re: [RFC][PATCH] avoid swapping out with swappiness==0 Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org List-ID: To: Richard Davies Cc: Satoru Moriya , Jerome Marchand , "jweiner@redhat.com" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "riel@redhat.com" , "lwoodman@redhat.com" , "shaohua.li@intel.com" , "dle-develop@lists.sourceforge.net" , Seiji Aguchi , Minchan Kim On Thu, Apr 26, 2012 at 10:26 AM, Richard Davies wrote: > Satoru Moriya wrote: >> > I have run into problems with heavy swapping with swappiness==0 and >> > was pointed to this thread ( >> > http://marc.info/?l=linux-mm&m=133522782307215 ) >> >> Did you test this patch with your workload? > > I haven't yet tested this patch. It takes a long time since these are > production machines, and the bug itself takes several weeks of production > use to really show up. > > Rik van Riel has pointed out a lot of VM tweaks that he put into 3.4: > http://marc.info/?l=linux-mm&m=133536506926326 > > My intention is to reboot half of our machines into plain 3.4 once it is > out, and half onto 3.4 + your patch. > > Then we can compare behaviour. > > Will your patch apply cleanly on 3.4? Note. This patch doesn't solve your issue. This patch mean, when occuring very few swap io, it change to 0. But you said you are seeing eager swap io. As Dave already pointed out, your machine have buffer head issue. So, this thread is pointless. -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org