public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Andrea Arcangeli <andrea@suse.de>
Cc: linux-kernel@vger.kernel.org, olof@austin.ibm.com
Subject: Re: [PATCH] .text page fault SMP scalability optimization
Date: Wed, 19 Oct 2005 01:14:20 -0700	[thread overview]
Message-ID: <20051019011420.032ccd6d.akpm@osdl.org> (raw)
In-Reply-To: <20051019075255.GB30541@x30.random>

Andrea Arcangeli <andrea@suse.de> wrote:
>
> We had a problem on ppc64 where with more than 4 threads a large system
> wouldn't scale well while faulting in the .text (most of the time was
> spent in the kernel despite it was an userland compute intensive app).
> The reason is the useless overwrite of the same pte from all cpu.
> 
> I fixed it this way (verified on an older kernel but the forward port is
> almost identical). This will benefit all archs not just ppc64.

How strange.  Do you mena that all CPUs were entering the pagefault handler
on behalf of the same pte all the time?  That they're staying in lockstep?

If so, there must be a bunch of page_table_lock contention too?

  reply	other threads:[~2005-10-19  8:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-19  7:52 [PATCH] .text page fault SMP scalability optimization Andrea Arcangeli
2005-10-19  8:14 ` Andrew Morton [this message]
2005-10-19  9:06   ` Andrea Arcangeli
2005-10-30  6:17     ` Benjamin Herrenschmidt
2005-10-30 14:44       ` Andrea Arcangeli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051019011420.032ccd6d.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=andrea@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olof@austin.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox