public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: David Miller <davem@davemloft.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: More problems in setup_pcpu_remap()
Date: Thu, 02 Apr 2009 16:22:06 +0900	[thread overview]
Message-ID: <49D4679E.4020503@kernel.org> (raw)
In-Reply-To: <20090402.000703.108386433.davem@davemloft.net>

Hello, David.

David Miller wrote:
>>> Using 2MB per cpu is just rediculious, and really not even necessary.
>> The focus at the moment is using large page for the first chunk to
>> reduce pressure on TLB, not necessarily actually using 2MB for each
>> unit.
> 
> You'll get better TLB hit rates with my suggestion.
> 
> The idea is to carve up a 2MB page amongst consequetive cpus in
> the same NUMA node.
> 
> With hyperthreading these cpus will be sharing the TLB, so you'll
> get better TLB hit rates than the current code.

That sounds great.

> I'm going to do something like this on sparc64.  This x86 code is
> severely demotivating me, so I'll stop looking at it now :-)

Yeah, please go ahead and write severely motivating code.  I'll be
very motivated to apply it to x86.  :-)

Thanks.

-- 
tejun

      reply	other threads:[~2009-04-02  7:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-02  4:31 More problems in setup_pcpu_remap() David Miller
2009-04-02  4:42 ` Tejun Heo
2009-04-02  4:52   ` David Miller
2009-04-02  5:55     ` Tejun Heo
2009-04-02  7:07       ` David Miller
2009-04-02  7:22         ` Tejun Heo [this message]

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=49D4679E.4020503@kernel.org \
    --to=tj@kernel.org \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    /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