From: James Bottomley Subject: Re: [PATCH] qla2xxx: Resolved a performance issue in interrupt handler Date: Wed, 10 Jun 2009 11:17:57 -0500 Message-ID: <1244650677.17432.0.camel@mulgrave.site> References: <1244575944.12321.58.camel@mulgrave.site> <19C9538E-B7B2-4924-859F-37E56660D95E@qlogic.com> <1244580029.12321.138.camel@mulgrave.site> <2796FDDF-31EA-44E2-8856-84A22F31A01F@qlogic.com> <38D5FA1B-4CCC-46FB-8793-4131AF6AAD05@qlogic.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from bedivere.hansenpartnership.com ([66.63.167.143]:47498 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751664AbZFJQR7 (ORCPT ); Wed, 10 Jun 2009 12:17:59 -0400 In-Reply-To: <38D5FA1B-4CCC-46FB-8793-4131AF6AAD05@qlogic.com> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Anirban Chakraborty Cc: "Styner, Douglas W" , "linux-scsi@vger.kernel.org" , "Tripathi, Sharad C" , "Ma, Chinang" , "Prickett, Terry O" , "Wilcox, Matthew R" On Wed, 2009-06-10 at 09:09 -0700, Anirban Chakraborty wrote: > On Jun 10, 2009, at 8:52 AM, Styner, Douglas W wrote: > > > > > Anirban Chakraborty [mailto:anirban.chakraborty@qlogic.com] write: > >> > >> You got it right. Basically we are doing: > >> 1. baseline scsi-misc + earlier patch > >> 2. baseline scsi-misc + this patch > >> And then compare 1 and 2. > > > > Results are as follows: > > Total interrupts are down slightly (-0.8%), QLA interrupts are flat > > (-0.1%) Cycles for qla2xxx_intr_handler up from .77% to .92%. > > So, it looks like using spin_lock_irqsave is doing a better job than > globally disabling the sharing of the interrupt via IRQF_DISABLED. OK, so just drop the msix changes and resubmit ... it'll have to go in SCSI misc, but once the merge window is over, you can request a backport to stable. James