From: "Jan Beulich" Subject: Re: [RFC PATCH v1] Replace tasklets with per-cpu implementation. Date: Thu, 28 Aug 2014 13:39:54 +0100 Message-ID: <53FF3F3A020000780002EB62@mail.emea.novell.com> References: <1409162329-6094-1-git-send-email-konrad.wilk@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XMyzb-00019f-Rh for xen-devel@lists.xenproject.org; Thu, 28 Aug 2014 12:39:55 +0000 In-Reply-To: <1409162329-6094-1-git-send-email-konrad.wilk@oracle.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Konrad Rzeszutek Wilk Cc: xen-devel@lists.xenproject.org, keir@xen.org List-Id: xen-devel@lists.xenproject.org >>> On 27.08.14 at 19:58, wrote: > The 'hvm_do_IRQ_dpci' is the on that is most often scheduled > and run. The performance bottleneck comes from the fact that > we take the same spinlock three times: tasklet_schedule, > when we are about to execute the tasklet, and when we are > done executing the tasklet. Before starting all the work here, did you investigate alternatives to this specific use of a tasklet? E.g., it being a softirq one, making it have its own softirq? Jan