Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753522Ab1EJFhu (ORCPT ); Tue, 10 May 2011 01:37:50 -0400 Received: from adelie.canonical.com ([91.189.90.139]:50350 "EHLO adelie.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751546Ab1EJFht (ORCPT ); Tue, 10 May 2011 01:37:49 -0400 Subject: Re: [BUG] fatal hang untarring 90GB file, possibly writeback related. From: Colin Ian King To: Mel Gorman Cc: James Bottomley , Mel Gorman , Jan Kara , Chris Mason , linux-fsdevel , linux-mm , linux-kernel , linux-ext4 In-Reply-To: <20110506154444.GG6591@suse.de> References: <20110428171826.GZ4658@suse.de> <1304015436.2598.19.camel@mulgrave.site> <20110428192104.GA4658@suse.de> <1304020767.2598.21.camel@mulgrave.site> <1304025145.2598.24.camel@mulgrave.site> <1304030629.2598.42.camel@mulgrave.site> <20110503091320.GA4542@novell.com> <1304431982.2576.5.camel@mulgrave.site> <1304432553.2576.10.camel@mulgrave.site> <20110506074224.GB6591@suse.de> <20110506154444.GG6591@suse.de> Content-Type: text/plain; charset="UTF-8" Date: Tue, 10 May 2011 07:37:42 +0200 Message-ID: <1305005862.1937.2.camel@hpmini> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1803 Lines: 39 On Fri, 2011-05-06 at 16:44 +0100, Mel Gorman wrote: > On Fri, May 06, 2011 at 08:42:24AM +0100, Mel Gorman wrote: > > > > 1. High-order allocations? You machine is using i915 and RPC, something > > neither of my test machine uses. i915 is potentially a source for > > high-order allocations. I'm attaching a perl script. Please run it as > > ./watch-highorder.pl --output /tmp/highorders.txt > > while you are running tar. When kswapd is running for about 30 > > seconds, interrupt it with ctrl+c twice in quick succession and > > post /tmp/highorders.txt > > > > Colin send me this information for his test case at least and I see > > 11932 instances order=1 normal gfp_flags=GFP_NOWARN|GFP_NORETRY|GFP_COMP|GFP_NOMEMALLOC > => alloc_pages_current+0xa5/0x110 > => new_slab+0x1f5/0x290 > => __slab_alloc+0x262/0x390 > => kmem_cache_alloc+0x115/0x120 > => mempool_alloc_slab+0x15/0x20 > => mempool_alloc+0x59/0x140 > => bio_alloc_bioset+0x3e/0xf0 > => bio_alloc+0x15/0x30 > > Colin and James: Did you happen to switch from SLAB to SLUB between > 2.6.37 and 2.6.38? My own tests were against SLAB which might be why I > didn't see the problem. Am restarting the tests with SLUB. So I tested with SLAB instead of SLUB and I reliably ran my copy test for 4+ hours with several hundred iterations of the test. (Apologies for taking time to respond, but I was travelling). > -- 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/