Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262687AbVAFDuZ (ORCPT ); Wed, 5 Jan 2005 22:50:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262711AbVAFDuZ (ORCPT ); Wed, 5 Jan 2005 22:50:25 -0500 Received: from smtp207.mail.sc5.yahoo.com ([216.136.129.97]:41630 "HELO smtp207.mail.sc5.yahoo.com") by vger.kernel.org with SMTP id S262687AbVAFDuT (ORCPT ); Wed, 5 Jan 2005 22:50:19 -0500 Message-ID: <41DCB577.9000205@yahoo.com.au> Date: Thu, 06 Jan 2005 14:50:15 +1100 From: Nick Piggin User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5 X-Accept-Language: en MIME-Version: 1.0 To: Rik van Riel CC: Andrew Morton , marcelo.tosatti@cyclades.com, andrea@suse.de, linux-kernel@vger.kernel.org Subject: Re: [PATCH][5/?] count writeback pages in nr_scanned References: <20050105020859.3192a298.akpm@osdl.org> <20050105180651.GD4597@dualathlon.random> <20050105174934.GC15739@logos.cnet> <20050105134457.03aca488.akpm@osdl.org> <20050105203217.GB17265@logos.cnet> <41DC7D86.8050609@yahoo.com.au> <20050105173624.5c3189b9.akpm@osdl.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1404 Lines: 40 Rik van Riel wrote: > On Wed, 5 Jan 2005, Andrew Morton wrote: > >> Rik van Riel wrote: > > >>> The recent OOM kill problem has been happening: >>> 1) with cache pressure on lowmem only, due to a block device write >>> 2) with no block congestion at all >>> 3) with pretty much all pageable lowmme pages in writeback state >> >> >> You must have a wild number of requests configured in the queue. Is >> this CFQ? > > > Yes, it is with CFQ. Around 650MB of lowmem is in writeback > stage, which is over 99% of the active and inactive lowmem > pages... > >> I've done testing with "all of memory under writeback" before and it >> went OK. It's certainly a design objective to handle this well. But >> that testing was before we broke it. > > > I suspect something might still be broken. It may take a few > days of continuous testing to trigger the bug, though ... > It is possible to be those blk_congestion_wait paths, because the queue simply won't be congested. So doing io_schedule_timeout might help. I wonder if reducing the size of the write queue in CFQ would help too? IIRC, it only really wants a huge read queue. - 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/