Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759044AbZGCTWl (ORCPT ); Fri, 3 Jul 2009 15:22:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755150AbZGCTWc (ORCPT ); Fri, 3 Jul 2009 15:22:32 -0400 Received: from brick.kernel.dk ([93.163.65.50]:49252 "EHLO kernel.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757996AbZGCTWc (ORCPT ); Fri, 3 Jul 2009 15:22:32 -0400 Date: Fri, 3 Jul 2009 21:22:35 +0200 From: Jens Axboe To: Matthew Wilcox Cc: Andi Kleen , linux-kernel@vger.kernel.org, "Styner, Douglas W" , Chinang Ma , "Prickett, Terry O" , Matthew Wilcox , Eric.Moore@lsi.com, DL-MPTFusionLinux@lsi.com Subject: Re: >10% performance degradation since 2.6.18 Message-ID: <20090703192235.GV23611@kernel.dk> References: <20090703025607.GK5480@parisc-linux.org> <87skhdaaub.fsf@basil.nowhere.org> <20090703185414.GP23611@kernel.dk> <20090703191321.GO5480@parisc-linux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090703191321.GO5480@parisc-linux.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1917 Lines: 46 On Fri, Jul 03 2009, Matthew Wilcox wrote: > On Fri, Jul 03, 2009 at 08:54:14PM +0200, Jens Axboe wrote: > > On Fri, Jul 03 2009, Andi Kleen wrote: > > > > > > Matthew Wilcox writes: > > > > > > > > ======oprofile CPU_CLK_UNHALTED for top 30 functions > > > > Cycles% 2.6.18-92.el5-op Cycles% 2.6.30 > > > > 70.1409 67.0207 > > > > 1.3556 mpt_interrupt 1.7029 mpt_interrupt > > > > > > It's strange that mpt_interrupt is that more costly in 2.6.30 > > > than in 2.6.18. I diffed 2.6.30's drivers/message/fusion/mptbase.c > > > to a rhel 5.3s and they seem to be about the same. > > > > > > So why does it cost 0.5% more in 2.6.30? > > > > > > [adding MPT maintainers] > > > > Look at the irqs/sec rate, it's higher by about the same percentage. So > > it's likely not a more costly irq handler, it's likely just called that > > much more. It could be IO pattern, causing more commands to be issued > > (which leads to more interrupts, etc). > > Yes, but the irqs/sec increase doesn't appear to be due to MPT interrupts. > In the /proc/interrupt summaries, RH5 did 388666895 IOC interrupts and > 2.6.30 did 378419042. As a percentage of interrupts, the IOC interrupts > were 59.4% with RH and 51.8% with 2.6.30. OK. So where are the extra irqs from? > This isn't quite conclusive since the collection of /proc/interrupts is > over the entire life of the system, not during the measurement period. > But I do find it persuasive. Since the total is so high, it's probably good enough and sampling only during the measurement likely wouldn't change that picture a lot. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/