From: Andre Przywara <andre.przywara@amd.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: qemu-devel@nongnu.org, Avi Kivity <avi@redhat.com>
Subject: [Qemu-devel] Re: [PATCH 4/8] v2: extend parser to parse pin: option
Date: Wed, 17 Dec 2008 00:25:37 +0100 [thread overview]
Message-ID: <494838F1.6070005@amd.com> (raw)
In-Reply-To: <49481AEB.1020909@codemonkey.ws>
Anthony Liguori wrote:
> Andre Przywara wrote:
>> Signed-off-by: Andre Przywara <andre.przywara@amd.com>
>>
>
> I think we suggested that this should be specified in a different option
> than -numa to separate the host/guest configuration bits.
As I said in the beginning of 0/8, I don't think that makes much sense.
Do you want this to be independent of the rest of NUMA (guest) code?
Then this is a different story.
The purpose of this code is to pin _multiple_ guest nodes to _multiple_
different host nodes, something that is quite intricate to do otherwise.
In a single node case you can easily use numactl (or whatever your OS
provides). If you want to use this NUMA code on a single node guest
anyway, you can easily say: "-numa 1,pin:2" or "-numa 1 -numa pin:2".
Separating this pinning part out of the whole NUMA guest code will
increase code complexity and IMHO is not justified, as OS provided
methods are more portable for the single node case (currently this
pinning is Linux only, which is backed by the original KVM target).
I suppose -pin is too ambiguous, also you pin it to nodes, so something
like -nodepin or -numapin would suggest itself. I just insert a space to
the latter.
Please tell me your opinion (and maybe a concrete suggestion on which
syntax to use).
Regards,
Andre.
P.S. Do you agree to Avi that the colon should be substituted by an
equal-sign?
--
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany
Tel: +49 351 277-84917
----to satisfy European Law for business letters:
AMD Saxony Limited Liability Company & Co. KG,
Wilschdorfer Landstr. 101, 01109 Dresden, Germany
Register Court Dresden: HRA 4896, General Partner authorized
to represent: AMD Saxony LLC (Wilmington, Delaware, US)
General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy
next prev parent reply other threads:[~2008-12-16 23:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-16 14:17 [Qemu-devel] [PATCH 4/8] v2: extend parser to parse pin: option Andre Przywara
2008-12-16 21:17 ` [Qemu-devel] " Anthony Liguori
2008-12-16 23:25 ` Andre Przywara [this message]
2008-12-17 0:19 ` Anthony Liguori
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=494838F1.6070005@amd.com \
--to=andre.przywara@amd.com \
--cc=anthony@codemonkey.ws \
--cc=avi@redhat.com \
--cc=qemu-devel@nongnu.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).