linux-numa.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: Andreas Mueller <andreas.mueller@asg.com>
Cc: "'linux-numa@vger.kernel.org'" <linux-numa@vger.kernel.org>
Subject: Re: How does numa_parse_nodestring +0-1 works/should work
Date: Thu, 16 May 2013 14:11:26 +0200	[thread overview]
Message-ID: <20130516121126.GI17814@two.firstfloor.org> (raw)
In-Reply-To: <D6259D1CCF526540B1CB447E5F3BC39B1FD4923BB1@gechem8mail.asg.com>

On Thu, May 16, 2013 at 02:00:40PM +0200, Andreas Mueller wrote:
> could someone please explain the behaviour of a nodestring "+0-1" or similar for numa_parse_nodestring?
> 
> According to the manual, "a leading + can be used to indicate that the node numbers in the list are relative to the task's cpuset".
> 
> What I expected and want to achieve is, that if a process was started on node 3, I will get a node mask of 3,4.

cpuset refers to the cpusets in 
http://man7.org/linux/man-pages/man7/cpuset.7.html
You seem to think it refers to the plain task affinity, which is not the
case.

In general generic relative NUMA policy descriptions would be nice
(like in OpenMP4) but we only have them with cpusets currently.

-andi

  reply	other threads:[~2013-05-16 12:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-16 12:00 How does numa_parse_nodestring +0-1 works/should work Andreas Mueller
2013-05-16 12:11 ` Andi Kleen [this message]
2013-05-22  9:22   ` NUMA performance, optimal settings for multithreaded, memory mapped file access Andreas Mueller

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=20130516121126.GI17814@two.firstfloor.org \
    --to=andi@firstfloor.org \
    --cc=andreas.mueller@asg.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).