Re: [Qemu-devel] [PATCH for-2.10 05/23] numa: move source of default CPUs to NUMA node mapping into boards

2017-04-25 Thread Igor Mammedov
On Tue, 25 Apr 2017 16:48:30 +0200 Andrew Jones wrote: > On Wed, Mar 22, 2017 at 02:32:30PM +0100, Igor Mammedov wrote: > > diff --git a/hw/arm/virt.c b/hw/arm/virt.c > > index 0cbcbc1..8748d25 100644 > > --- a/hw/arm/virt.c > > +++ b/hw/arm/virt.c > > @@ -1554,6 +1554,16 @@

Re: [Qemu-devel] [PATCH for-2.10 05/23] numa: move source of default CPUs to NUMA node mapping into boards

2017-04-25 Thread Andrew Jones
On Wed, Mar 22, 2017 at 02:32:30PM +0100, Igor Mammedov wrote: > diff --git a/hw/arm/virt.c b/hw/arm/virt.c > index 0cbcbc1..8748d25 100644 > --- a/hw/arm/virt.c > +++ b/hw/arm/virt.c > @@ -1554,6 +1554,16 @@ static void virt_set_gic_version(Object *obj, const > char *value, Error **errp) >

Re: [Qemu-devel] [PATCH for-2.10 05/23] numa: move source of default CPUs to NUMA node mapping into boards

2017-04-20 Thread Igor Mammedov
On Tue, 28 Mar 2017 15:19:20 +1100 David Gibson wrote: > On Wed, Mar 22, 2017 at 02:32:30PM +0100, Igor Mammedov wrote: [...] answering to questions that I forgot to answer before > > @@ -1554,6 +1554,16 @@ static void virt_set_gic_version(Object *obj, const > >

Re: [Qemu-devel] [PATCH for-2.10 05/23] numa: move source of default CPUs to NUMA node mapping into boards

2017-03-29 Thread Igor Mammedov
On Wed, 29 Mar 2017 13:24:49 +1100 David Gibson wrote: > On Tue, Mar 28, 2017 at 12:53:10PM +0200, Igor Mammedov wrote: > > On Tue, 28 Mar 2017 15:19:20 +1100 > > David Gibson wrote: > > > > > On Wed, Mar 22, 2017 at 02:32:30PM +0100,

Re: [Qemu-devel] [PATCH for-2.10 05/23] numa: move source of default CPUs to NUMA node mapping into boards

2017-03-28 Thread David Gibson
On Tue, Mar 28, 2017 at 12:53:10PM +0200, Igor Mammedov wrote: > On Tue, 28 Mar 2017 15:19:20 +1100 > David Gibson wrote: > > > On Wed, Mar 22, 2017 at 02:32:30PM +0100, Igor Mammedov wrote: > > > Originally CPU threads were by default assigned in > > > round-robin

Re: [Qemu-devel] [PATCH for-2.10 05/23] numa: move source of default CPUs to NUMA node mapping into boards

2017-03-28 Thread Igor Mammedov
On Tue, 28 Mar 2017 15:19:20 +1100 David Gibson wrote: > On Wed, Mar 22, 2017 at 02:32:30PM +0100, Igor Mammedov wrote: > > Originally CPU threads were by default assigned in > > round-robin fashion. However it was causing issues in > > guest since CPU threads from

Re: [Qemu-devel] [PATCH for-2.10 05/23] numa: move source of default CPUs to NUMA node mapping into boards

2017-03-27 Thread David Gibson
On Wed, Mar 22, 2017 at 02:32:30PM +0100, Igor Mammedov wrote: > Originally CPU threads were by default assigned in > round-robin fashion. However it was causing issues in > guest since CPU threads from the same socket/core could > be placed on different NUMA nodes. > Commit fb43b73b (pc: fix

Re: [Qemu-devel] [PATCH for-2.10 05/23] numa: move source of default CPUs to NUMA node mapping into boards

2017-03-23 Thread Igor Mammedov
On Thu, 23 Mar 2017 11:40:29 +0530 Bharata B Rao wrote: > On Wed, Mar 22, 2017 at 7:02 PM, Igor Mammedov wrote: > > > diff --git a/numa.c b/numa.c > > index e01cb54..b6e71bc 100644 > > --- a/numa.c > > +++ b/numa.c > > @@ -294,9 +294,10 @@ static

Re: [Qemu-devel] [PATCH for-2.10 05/23] numa: move source of default CPUs to NUMA node mapping into boards

2017-03-23 Thread Bharata B Rao
On Wed, Mar 22, 2017 at 7:02 PM, Igor Mammedov wrote: > diff --git a/numa.c b/numa.c > index e01cb54..b6e71bc 100644 > --- a/numa.c > +++ b/numa.c > @@ -294,9 +294,10 @@ static void validate_numa_cpus(void) > g_free(seen_cpus); > } > > -void

[Qemu-devel] [PATCH for-2.10 05/23] numa: move source of default CPUs to NUMA node mapping into boards

2017-03-22 Thread Igor Mammedov
Originally CPU threads were by default assigned in round-robin fashion. However it was causing issues in guest since CPU threads from the same socket/core could be placed on different NUMA nodes. Commit fb43b73b (pc: fix default VCPU to NUMA node mapping) fixed it by grouping threads within a