From: Wanlong Gao <gaowanlong@cn.fujitsu.com>
To: Eduardo Habkost <ehabkost@redhat.com>
Cc: drjones@redhat.com, qemu-devel@nongnu.org, hutao@cn.fujitsu.com,
aliguori@us.ibm.com, lcapitulino@redhat.com, bsd@redhat.com,
pbonzini@redhat.com, y-goto@jp.fujitsu.com,
peter.huangpeng@huawei.com, lersek@redhat.com, afaerber@suse.de,
Wanlong Gao <gaowanlong@cn.fujitsu.com>
Subject: Re: [Qemu-devel] [PATCH V11 06/11] NUMA: parse guest numa nodes memory policy
Date: Wed, 04 Sep 2013 10:30:35 +0800 [thread overview]
Message-ID: <52269B4B.8000503@cn.fujitsu.com> (raw)
In-Reply-To: <20130904022821.GB28196@otherpad.lan.raisama.net>
On 09/04/2013 10:28 AM, Eduardo Habkost wrote:
> On Fri, Aug 30, 2013 at 11:10:45AM +0800, Wanlong Gao wrote:
>> The memory policy setting format is like:
>> policy={default|membind|interleave|preferred}[,relative=true],host-nodes=N-N
>> And we are adding this setting as a suboption of "-numa mem,",
>> the memory policy then can be set like following:
>> -numa node,nodeid=0,cpus=0 \
>> -numa node,nodeid=1,cpus=1 \
>> -numa mem,nodeid=0,size=1G,policy=membind,host-nodes=0-1 \
>> -numa mem,nodeid=1,size=1G,policy=interleave,relative=true,host-nodes=1
>>
>> Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
>> ---
>> include/sysemu/sysemu.h | 5 ++++-
>> numa.c | 13 +++++++++++++
>> qapi-schema.json | 33 +++++++++++++++++++++++++++++++--
>> vl.c | 3 +++
>> 4 files changed, 51 insertions(+), 3 deletions(-)
>>
>> diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
>> index e1e4320..2d04bad 100644
>> --- a/include/sysemu/sysemu.h
>> +++ b/include/sysemu/sysemu.h
>> @@ -127,13 +127,16 @@ extern size_t boot_splash_filedata_size;
>> extern uint8_t qemu_extra_params_fw[2];
>> extern QEMUClockType rtc_clock;
>>
>> -#define MAX_NODES 64
>> +#define MAX_NODES 128
>
> Can you please include this in a separate patch?
OK, thank you.
Regards,
Wanlong Gao
>
next prev parent reply other threads:[~2013-09-04 2:32 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-30 3:10 [Qemu-devel] [PATCH V11 00/11] Add support for binding guest numa nodes to host numa nodes Wanlong Gao
2013-08-30 3:10 ` [Qemu-devel] [PATCH V11 01/11] NUMA: add NumaOptions, NumaNodeOptions and NumaMemOptions Wanlong Gao
2013-08-30 3:10 ` [Qemu-devel] [PATCH V11 02/11] NUMA: split -numa option Wanlong Gao
2013-09-04 1:49 ` Eduardo Habkost
2013-09-04 3:00 ` Wanlong Gao
2013-08-30 3:10 ` [Qemu-devel] [PATCH V11 03/11] NUMA: check if the total numa memory size is equal to ram_size Wanlong Gao
2013-08-30 3:10 ` [Qemu-devel] [PATCH V11 04/11] NUMA: move numa related code to numa.c Wanlong Gao
2013-08-30 3:10 ` [Qemu-devel] [PATCH V11 05/11] NUMA: Add numa_info structure to contain numa nodes info Wanlong Gao
2013-08-30 3:10 ` [Qemu-devel] [PATCH V11 06/11] NUMA: parse guest numa nodes memory policy Wanlong Gao
2013-09-04 2:28 ` Eduardo Habkost
2013-09-04 2:30 ` Wanlong Gao [this message]
2013-08-30 3:10 ` [Qemu-devel] [PATCH V11 07/11] NUMA: set " Wanlong Gao
2013-08-30 3:10 ` [Qemu-devel] [PATCH V11 08/11] NUMA: add qmp command set-mem-policy to set memory policy for NUMA node Wanlong Gao
2013-08-30 3:10 ` [Qemu-devel] [PATCH V11 09/11] NUMA: add hmp command set-mem-policy Wanlong Gao
2013-08-30 3:10 ` [Qemu-devel] [PATCH V11 10/11] NUMA: add qmp command query-numa Wanlong Gao
2013-08-30 3:10 ` [Qemu-devel] [PATCH V11 11/11] NUMA: convert hmp command info_numa to use qmp command query_numa Wanlong Gao
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=52269B4B.8000503@cn.fujitsu.com \
--to=gaowanlong@cn.fujitsu.com \
--cc=afaerber@suse.de \
--cc=aliguori@us.ibm.com \
--cc=bsd@redhat.com \
--cc=drjones@redhat.com \
--cc=ehabkost@redhat.com \
--cc=hutao@cn.fujitsu.com \
--cc=lcapitulino@redhat.com \
--cc=lersek@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.huangpeng@huawei.com \
--cc=qemu-devel@nongnu.org \
--cc=y-goto@jp.fujitsu.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.