From: Mario Smarduch <cms063@email.mot.com>
To: linux-ia64@vger.kernel.org
Subject: Re: UCE and NUMA
Date: Wed, 17 Mar 2004 16:57:38 +0000 [thread overview]
Message-ID: <40588382.566B40EA@email.mot.com> (raw)
In-Reply-To: <40576628.927DEB35@email.mot.com>
David Mosberger wrote:
> >>>>> On Tue, 16 Mar 2004 14:40:08 -0600, Mario Smarduch <cms063@email.mot.com> said:
>
> Mario> Hi, we're currently evaluating a NUMA system (8-way). We're
> Mario> wondering for hot contention spots does the 2.4 or 2.6 kernel
> Mario> make use of IA64 UCE Memory attribute (fetchadd)? Has anyone
> Mario> been able to catpure relative performance differences (WB
> Mario> vs. UCE) for any benchmark ?
>
> Note that UCE is both CPU model- and platform-specific. Even then,
> only "fetchadd" is supported (not cmpxchg, which is what's normally
> used for spinlocks). Furthermore, you have to be really careful to
> avoid attribute-aliasing.
>
> As long as those constraints are met, I suppose it would be OK to use
> UCE.
>
> However, is UCE really beneficial for spinlocks? I thought it's
> primary use would be for atomic operations (such as atomic inc).
>
> --david
I suppose you could use fetchadd
to build some crude lockout mechanism, but probably
more useful is shared kernel data that regularly
may get updated by all CPUs (i.e. dec/inc atomically ).
That may save on WB cache-coherency waste of bandwidth for
contentious spots.
But I agree practically it would be pretty difficult to (i) first
figure out what is very contentious (ii) and locate all your locks/data
into those UCE pages. So in short UCE is not used in any
kernel version?
- Mario
next prev parent reply other threads:[~2004-03-17 16:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-16 20:40 UCE and NUMA Mario Smarduch
2004-03-17 16:57 ` Mario Smarduch [this message]
2004-03-17 18:54 ` David Mosberger
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=40588382.566B40EA@email.mot.com \
--to=cms063@email.mot.com \
--cc=linux-ia64@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