Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753444AbdFMOMW (ORCPT ); Tue, 13 Jun 2017 10:12:22 -0400 Received: from mx2.suse.de ([195.135.220.15]:54337 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753095AbdFMOMV (ORCPT ); Tue, 13 Jun 2017 10:12:21 -0400 Subject: Re: [PATCH V3] xen-evtchn: Bind dyn evtchn:qemu-dm interrupt to next online VCPU To: Anoob Soman , xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org Cc: boris.ostrovsky@oracle.com References: <1496836016-7053-1-git-send-email-anoob.soman@citrix.com> From: Juergen Gross Message-ID: Date: Tue, 13 Jun 2017 16:12:18 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <1496836016-7053-1-git-send-email-anoob.soman@citrix.com> Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1035 Lines: 24 On 07/06/17 13:46, Anoob Soman wrote: > A HVM domian booting generates around 200K (evtchn:qemu-dm xen-dyn) > interrupts,in a short period of time. All these evtchn:qemu-dm are bound > to VCPU 0, until irqbalance sees these IRQ and moves it to a different VCPU. > In one configuration, irqbalance runs every 10 seconds, which means > irqbalance doesn't get to see these burst of interrupts and doesn't > re-balance interrupts most of the time, making all evtchn:qemu-dm to be > processed by VCPU0. This cause VCPU0 to spend most of time processing > hardirq and very little time on softirq. Moreover, if dom0 kernel PREEMPTION > is disabled, VCPU0 never runs watchdog (process context), triggering a > softlockup detection code to panic. > > Binding evtchn:qemu-dm to next online VCPU, will spread hardirq > processing evenly across different CPU. Later, irqbalance will try to balance > evtchn:qemu-dm, if required. > > Signed-off-by: Anoob Soman Committed to xen/tip.git for-linus-4.13 Thanks, Juergen