From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752400AbYDHHaJ (ORCPT ); Tue, 8 Apr 2008 03:30:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751445AbYDHH35 (ORCPT ); Tue, 8 Apr 2008 03:29:57 -0400 Received: from smtp-out.google.com ([216.239.33.17]:52566 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751170AbYDHH34 (ORCPT ); Tue, 8 Apr 2008 03:29:56 -0400 DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=received:message-id:date:from:to:subject:cc:in-reply-to: mime-version:content-type:content-transfer-encoding: content-disposition:references; b=Qtkr6B+ANPcDpmHLY1d2kDcSbq9M6v7sAl4A7wbccQ09Y6jjiEcMzw9K4FWMEsUjX hP4DdbpE+g3HCHa3x4XqA== Message-ID: <6599ad830804080029v1d8f2ff7g5254f32362fd7cb9@mail.gmail.com> Date: Tue, 8 Apr 2008 00:29:45 -0700 From: "Paul Menage" To: balbir@linux.vnet.ibm.com Subject: Re: [-mm] Add an owner to the mm_struct (v8) Cc: "Pavel Emelianov" , "Hugh Dickins" , "Sudhir Kumar" , "YAMAMOTO Takashi" , linux-kernel@vger.kernel.org, taka@valinux.co.jp, linux-mm@kvack.org, "David Rientjes" , "Andrew Morton" , "KAMEZAWA Hiroyuki" In-Reply-To: <47FB193A.8070801@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080404080544.26313.38199.sendpatchset@localhost.localdomain> <47F7BB69.3000502@linux.vnet.ibm.com> <6599ad830804051057n2f2802e4w6179f2e108467494@mail.gmail.com> <47F7CC08.4090209@linux.vnet.ibm.com> <6599ad830804051629k3649dbc4na92bb3d0cd7a0492@mail.gmail.com> <47F861C8.7080700@linux.vnet.ibm.com> <6599ad830804072337g2e7b4613hdcc05062dc2ca4e0@mail.gmail.com> <47FB162D.1020506@linux.vnet.ibm.com> <6599ad830804072357o2fd5e9bco3309d151e270e62e@mail.gmail.com> <47FB193A.8070801@linux.vnet.ibm.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 8, 2008 at 12:05 AM, Balbir Singh wrote: > > Paul Menage wrote: > > On Mon, Apr 7, 2008 at 11:52 PM, Balbir Singh wrote: > >> I agree, but like I said earlier, this was the easily available ready made > >> application I found. Do you know of any other highly threaded micro benchmark? > >> > > > > How about a simple program that creates N threads that just sleep, > > then has the main thread exit? > > > > That is not really representative of anything. I have that program handy. How do > we measure the impact on throughput? It's very representative of how much additional overhead in terms of mm->owner churn there is in a large multi-threaded application exiting, which is the thing that you're trying to optimize with the delayed thread group leader checks. Paul