From: Christos Margiolas <chrmargiolas@googlemail.com>
To: linux-numa@vger.kernel.org
Subject: Questions about the numa support implementation of Linux
Date: Sun, 22 Nov 2009 04:07:27 +0200 [thread overview]
Message-ID: <b8a132810911211807vf93f920l8c84c5f2ed9e44d@mail.gmail.com> (raw)
Hello,
Few weeks now, I'm working on a map reduce implementation for numa
systems(cell be and amd64 arch) and I have searched the web and irc
channels for information about numa support on Linux. I study about
the libnuma v2.1 library and I wrote some test programs and I
understood enough good the library api. But I still have enough
questions and I think they're kernel support relative. I will try
indite my questions as simple as possible in order to save your time.
I know that the operating system(Linux) is running on a single node
and it's not distributed over the nodes.
a)When a process or a process's thread is executing on a node(not the
same with the kernel), the local memory(execution node of process or
thread) has a copy of the text and data segments or there are always
references to the memory of the node with the os where the data and
text segments would legacy be? If the final is true, this is a big
bottleneck.
b)Memory allocation system calls which is used by standard c library
api (malloc, calloc, realloc) are aware about numa policy on memory
systems? Or only with the libnuma calls is possible to allocate memory
effectively with respect on numa bind restrictions?
c)If a strict memory policy was specified, which designates specific
nodes, and the nodes are out of memory resources, the system will
kill the process or it will will use the swap as it does for a normal
uniform memory system?
Now a question relative with scheduler conduct:
d)When a processor binding function(scheduler or numa api call)
returns the schedulers has applied the requested policy or the changes
will take effect after the context switch? I have the same question
about memory policy appliance.
e)Also the shared libs running only on the kernel's node, right?
I will appreciate also any link or study material about numa on Linux.
Chris Margiolas
Undergraduate Student
Computer Science Department
University of Crete
Ics Forth Computer Architecture
and VLSI Systems Lab
next reply other threads:[~2009-11-22 2:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-22 2:07 Christos Margiolas [this message]
2009-11-22 15:41 ` Questions about the numa support implementation of Linux Andi Kleen
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=b8a132810911211807vf93f920l8c84c5f2ed9e44d@mail.gmail.com \
--to=chrmargiolas@googlemail.com \
--cc=linux-numa@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;
as well as URLs for NNTP newsgroup(s).