Re: [-mm] Add an owner to the mm_struct (v8)
From: Paul Menage
Date: Tue Apr 08 2008 - 03:30:31 EST
On Tue, Apr 8, 2008 at 12:05 AM, Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx> wrote:
>
> Paul Menage wrote:
> > On Mon, Apr 7, 2008 at 11:52 PM, Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/