Re: [Xen-devel] [PATCH v2] x86/apic/x2apic: Share IRQ vector between cluster members only when no cpumask is specified

2017-08-28 Thread Boris Ostrovsky
On 08/28/2017 11:41 AM, Jan Beulich wrote: On 28.08.17 at 16:35, wrote: >> On 08/28/2017 03:38 AM, Jan Beulich wrote: > And finally I continue to be not really happy about the change as > a whole. Despite what was discussed on v1, I'm concerned of the

Re: [Xen-devel] [PATCH v2] x86/apic/x2apic: Share IRQ vector between cluster members only when no cpumask is specified

2017-08-28 Thread Jan Beulich
>>> On 28.08.17 at 16:35, wrote: > On 08/28/2017 03:38 AM, Jan Beulich wrote: >> And finally I continue to be not really happy about the change as a whole. Despite what was discussed on v1, I'm concerned of the effects of this on hosts _not_ suffering

Re: [Xen-devel] [PATCH v2] x86/apic/x2apic: Share IRQ vector between cluster members only when no cpumask is specified

2017-08-28 Thread Boris Ostrovsky
On 08/28/2017 03:38 AM, Jan Beulich wrote: > >>> And finally I continue to be not really happy about the change as >>> a whole. Despite what was discussed on v1, I'm concerned of the >>> effects of this on hosts _not_ suffering from vector shortage. >>> Could you live with the new behavior

Re: [Xen-devel] [PATCH v2] x86/apic/x2apic: Share IRQ vector between cluster members only when no cpumask is specified

2017-08-28 Thread Jan Beulich
>>> On 25.08.17 at 18:00, wrote: > On 08/25/2017 10:56 AM, Jan Beulich wrote: > On 08.08.17 at 17:59, wrote: >>> --- a/xen/arch/x86/genapic/delivery.c >>> +++ b/xen/arch/x86/genapic/delivery.c >>> @@ -30,7 +30,8 @@ void __init

Re: [Xen-devel] [PATCH v2] x86/apic/x2apic: Share IRQ vector between cluster members only when no cpumask is specified

2017-08-25 Thread Boris Ostrovsky
On 08/25/2017 10:56 AM, Jan Beulich wrote: On 08.08.17 at 17:59, wrote: >> --- a/xen/arch/x86/genapic/delivery.c >> +++ b/xen/arch/x86/genapic/delivery.c >> @@ -30,7 +30,8 @@ void __init clustered_apic_check_flat(void) >> printk("Enabling APIC mode: Flat.

Re: [Xen-devel] [PATCH v2] x86/apic/x2apic: Share IRQ vector between cluster members only when no cpumask is specified

2017-08-25 Thread Jan Beulich
>>> On 08.08.17 at 17:59, wrote: > --- a/xen/arch/x86/genapic/delivery.c > +++ b/xen/arch/x86/genapic/delivery.c > @@ -30,7 +30,8 @@ void __init clustered_apic_check_flat(void) > printk("Enabling APIC mode: Flat. Using %d I/O APICs\n", nr_ioapics); > } > >

[Xen-devel] [PATCH v2] x86/apic/x2apic: Share IRQ vector between cluster members only when no cpumask is specified

2017-08-08 Thread Boris Ostrovsky
We have limited number (slightly under NR_DYNAMIC_VECTORS=192) of IRQ vectors that are available to each processor. Currently, when x2apic cluster mode is used (which is default), each vector is shared among all processors in the cluster. With many IRQs (as is the case on systems with multiple