Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752813AbZKLLgX (ORCPT ); Thu, 12 Nov 2009 06:36:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752650AbZKLLgW (ORCPT ); Thu, 12 Nov 2009 06:36:22 -0500 Received: from Cpsmtpm-eml108.kpnxchange.com ([195.121.3.12]:58001 "EHLO CPSMTPM-EML108.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752343AbZKLLgV (ORCPT ); Thu, 12 Nov 2009 06:36:21 -0500 From: Frans Pop To: Mel Gorman Subject: Re: [PATCH 3/3] vmscan: Force kswapd to take notice faster when high-order watermarks are being hit (data on latencies available) Date: Thu, 12 Nov 2009 12:36:19 +0100 User-Agent: KMail/1.9.9 Cc: Andrew Morton , stable@kernel.org, linux-kernel@vger.kernel.org, "linux-mm@kvack.org" , Jiri Kosina , Sven Geggus , Karol Lewandowski , Tobias Oetiker , KOSAKI Motohiro , Pekka Enberg , Rik van Riel , Christoph Lameter , Stephan von Krawczynski , Jens Axboe , Chris Mason , Kernel Testers List References: <1256650833-15516-1-git-send-email-mel@csn.ul.ie> <200911042157.25020.elendil@planet.nl> <20091105164832.GB25926@csn.ul.ie> In-Reply-To: <20091105164832.GB25926@csn.ul.ie> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911121236.25197.elendil@planet.nl> X-OriginalArrivalTime: 12 Nov 2009 11:36:25.0622 (UTC) FILETIME=[5DF26B60:01CA638C] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2561 Lines: 50 First of all, sorry for not replying to this sooner. And my heartfelt appreciation for sticking with the issue. I wish I could do more to help resolve it instead of just reporting the problem. I saw your blog post today and am looking forward to your results. On Thursday 05 November 2009, Mel Gorman wrote: > In the interest of getting something more empirical, I sat down from > scratch with the view to recreating your case and I believe I was > successful. I was able to reproduce your problem after a fashion and > generate some figures - crucially including some latency figures. I'm not sure if you have exactly reproduced what I'm seeing, mainly because I would have expected a clearer difference between .30 and .31 for the latency figures. There's also little difference in latency between .32-rc6 with and without 8aa7e847 reverted. So it looks as if latency is not a significant indicator of the effects of 8aa7e847 in your test. But if I look at your graphs for IO and writeback, then those *do* show a marked difference between .30 and .31. Those graphs also show a significant difference between .32-rc6 with and without 8aa7e847 reverted. So that looks promising. > Because of other reports, the slight improvements on latency and the > removal of a possible live-lock situation, I think patches 1-3 and the > accounting patch posted in this thread should go ahead. Patches 1,2 > bring allocator behaviour more in line with 2.6.30 and are a proper fix. > Patch 3 makes a lot of sense when there are a lot of high-order atomics > going on so that kswapd notices as fast as possible that it needs to do > other work. The accounting patch monitors what's going on with patch 3. Hmmm. What strikes me most about the latency graphs is how much worse it looks for .32 with your patches 1-3 applied than without. That seems to contradict what you say above. The fact that all .32 latencies are worse that with either .30 or .31 is probably simply the result of the changes in the scheduler. It's one reason why I have tested most candidate patches against both .31 and .32. As the latencies are not extreme in an absolute sense, I would say it does not need to indicate a problem. It just means you cannot easily compare latency figures for .30 and .31 with those for .32. Cheers, FJP -- 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/