Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754921Ab3DLTwK (ORCPT ); Fri, 12 Apr 2013 15:52:10 -0400 Received: from cantor2.suse.de ([195.135.220.15]:54862 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752523Ab3DLTwI (ORCPT ); Fri, 12 Apr 2013 15:52:08 -0400 Date: Fri, 12 Apr 2013 20:52:04 +0100 From: Mel Gorman To: Zlatko Calusic Cc: Andrew Morton , Jiri Slaby , Valdis Kletnieks , Rik van Riel , Johannes Weiner , dormando , Satoru Moriya , Michal Hocko , Linux-MM , LKML Subject: Re: [PATCH 0/10] Reduce system disruption due to kswapd V2 Message-ID: <20130412195152.GK11656@suse.de> References: <1365505625-9460-1-git-send-email-mgorman@suse.de> <51672331.6070605@bitsync.net> <20130412193947.GJ11656@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20130412193947.GJ11656@suse.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1499 Lines: 44 On Fri, Apr 12, 2013 at 08:40:04PM +0100, Mel Gorman wrote: > On Thu, Apr 11, 2013 at 10:55:13PM +0200, Zlatko Calusic wrote: > > On 09.04.2013 13:06, Mel Gorman wrote: > > > > > > - The only slightly negative thing I observed is that with the patch > > applied kswapd burns 10x - 20x more CPU. So instead of about 15 > > seconds, it has now spent more than 4 minutes on one particular > > machine with a quite steady load (after about 12 days of uptime). > > Admittedly, that's still nothing too alarming, but... > > > > Would you happen to know what circumstances trigger the higher CPU > usage? > There is also a slight possibility it has been fixed in V3 by the proportional scanning changes. In my own parallelio tests I got the following kswapd CPU times from top. 3.9.0-rc6-vanilla 0:05.21 3.9.0-rc6-lessdisrupt-v2r11 0:07.44 3.9.0-rc6-lessdisrupt-v3r6 0:03.21 In v2, I did see slightly higher CPU usage but it was reduced in v3. For a general set of page reclaim tests I got 3.9.0-rc6-vanilla-micro 3:09.51 3.9.0-rc6-lessdisrupt-v2r11 2:57.78 3.9.0-rc6-lessdisrupt-v3r6 1:10.05 In that case, v2 was comparable so unfortunately I was never seeing the 10-20x more CPU that you got. Thanks. -- Mel Gorman SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/