From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail143.messagelabs.com (mail143.messagelabs.com [216.82.254.35]) by kanga.kvack.org (Postfix) with SMTP id 236A26007E1 for ; Tue, 5 Jan 2010 10:15:59 -0500 (EST) Date: Tue, 5 Jan 2010 09:14:21 -0600 (CST) From: Christoph Lameter Subject: Re: [RFC][PATCH 6/8] mm: handle_speculative_fault() In-Reply-To: <20100105143046.73938ea2.kamezawa.hiroyu@jp.fujitsu.com> Message-ID: References: <20100104182429.833180340@chello.nl> <20100104182813.753545361@chello.nl> <20100105092559.1de8b613.kamezawa.hiroyu@jp.fujitsu.com> <28c262361001042029w4b95f226lf54a3ed6a4291a3b@mail.gmail.com> <20100105134357.4bfb4951.kamezawa.hiroyu@jp.fujitsu.com> <20100105143046.73938ea2.kamezawa.hiroyu@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org To: KAMEZAWA Hiroyuki Cc: Linus Torvalds , Minchan Kim , Peter Zijlstra , "Paul E. McKenney" , Peter Zijlstra , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "hugh.dickins" , Nick Piggin , Ingo Molnar List-ID: On Tue, 5 Jan 2010, KAMEZAWA Hiroyuki wrote: > I'd like to hear use cases of really heavy users, too. Christoph ? A typical use case is a highly parallel memory intensive process (simulations f.e.). Those are configured with the number of hardware threads supported in mind to max out the performance of the underlying hardware. On startup they start N threads and then each thread begins initializing its memory (to get proper locality it has to be done this way, you also want concurrency during this expensive operation). The larger the number of threads the more contention on the cachelines containing mmap_sem and the other cacheline containing the rss counters. In extreme cases we had to wait 30mins to an hour in order for the cacheline bouncing to complete (startup of a big HPC app on IA64 with 1k threads). -- 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/ . Don't email: email@kvack.org