From: Drew Kirkpatrick <drew.kirkpatrick@gmail.com>
To: gentoo-amd64@lists.gentoo.org
Subject: Re: [gentoo-amd64] Re: amd64 and kernel configuration
Date: Wed, 27 Jul 2005 05:46:28 -0500 [thread overview]
Message-ID: <81469e8e0507270346445f4363@mail.gmail.com> (raw)
In-Reply-To: <pan.2005.07.27.10.13.13.844736@cox.net>
Just to point out, amd was calling the opterons and such more of a
SUMO configuration (Sufficiently Uniform Memory Organization, not
joking here), instead of NUMA. Whereas technically, it clearly is a
NUMA system, the differences in latency when accessing memory from a
bank attached to another processors memory controller is very small.
Small enough to be largely ignored, and treated like uniform memory
access latencies in a SMP system. Sorta in between SMP unified style
memory access and NUMA. This holds for up to 3 hypertranport link
hops, or up to 8 chips/sockets. You add hypertransport switches to
scale over 8 chips/sockets, it'll most likely be a different story...
What I've always wondered is, the NUMA code in the linux kernel, is
this for handling traditional NUMA, like in a large computer system
(big iron) where NUMA memory access latencies will vary greatly, or is
it simply for optimizing the memory usage across the memory banks.
Keeping data in the memory of the processor using it, etc, etc. Of
course none of this matters for single chip/socket amd systems, as
dual cores as well as single cores share a memory controller. Hmm,
maybe I should drink some coffee and shutup until I'm awake...
On 7/27/05, Duncan <1i5t5.duncan@cox.net> wrote:
> Dulmandakh Sukhbaatar posted <20050727075012.79549.qmail@mail.mng.mn>,
> excerpted below, on Wed, 27 Jul 2005 15:50:12 +0800:
>
> > Thanks. How can I enable hypertransport in kernel or somewhere? Anyone
> > knows about NUMA? I read about it, and it seems technology for
> > multiprocessor systems. Thus I have single CPU, I don't need it. Right?
>
> NUMA is indeed for multi-processor systems. NUMA is Non-Uniform Memory
> Architecture. With AMD CPUs that have the memory controller on the same
> chip as the CPU, that means that each CPU can control it's own memory. If
> you run NUMA mode in this case (and if your BIOS is set up accordingly),
> the kernel will try to keep the memory for each task in the memory handled
> by, local to, that CPU. If either the kernel or BIOS is set to unified
> memory, or if you only have memory sticks in the slots for one of the
> CPUs, then you won't get NUMA mode and the kernel won't care what memory
> addresses the memory for each process lives at.
>
> AFAIK, hypertransport is automatically handled by your choice of chipset.
> If the chipset you configure has it, it will be enabled, if not, it won't.
> I was therefore a bit puzzled when you mentioned hypertransport
> specifically in the previous post, since I don't believe there's a
> specific kernel option for it. (It's possible, however, that there is and
> I've just forgotten about it, since it's been awhile since I reviewed
> the settings for the entire kernel -- I just run make oldconfig and deal
> with any new options in each newer kernel, and additionally do any
> specific tweaking I might want to try.)
>
> --
> Duncan - List replies preferred. No HTML msgs.
> "Every nonfree program has a lord, a master --
> and if you use the program, he is your master." Richard Stallman in
> http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html
>
>
> --
> gentoo-amd64@gentoo.org mailing list
>
>
--
gentoo-amd64@gentoo.org mailing list
next prev parent reply other threads:[~2005-07-27 10:47 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-27 6:29 [gentoo-amd64] amd64 and kernel configuration Dulmandakh Sukhbaatar
2005-07-27 6:10 ` [gentoo-amd64] " Duncan
2005-07-27 6:19 ` NY Kwok
2005-07-27 7:50 ` Dulmandakh Sukhbaatar
2005-07-27 7:04 ` Michal Žeravík
2005-07-27 9:58 ` netpython
2005-07-27 12:30 ` Brett Johnson
2005-07-27 15:58 ` [gentoo-amd64] " Duncan
2005-07-27 10:02 ` Duncan
2005-07-27 10:13 ` [gentoo-amd64] " Duncan
2005-07-27 10:27 ` Paolo Ripamonti
2005-07-27 14:19 ` [gentoo-amd64] " Duncan
2005-07-27 14:31 ` Paolo Ripamonti
2005-07-27 16:16 ` [gentoo-amd64] " Duncan
2005-07-27 10:46 ` Drew Kirkpatrick [this message]
2005-07-27 15:42 ` [gentoo-amd64] " Duncan
2005-07-27 17:07 ` Jean.Borsenberger
2005-07-27 10:18 ` Duncan
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=81469e8e0507270346445f4363@mail.gmail.com \
--to=drew.kirkpatrick@gmail.com \
--cc=gentoo-amd64@lists.gentoo.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