From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263772AbUG1Vul (ORCPT ); Wed, 28 Jul 2004 17:50:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265060AbUG1Vuk (ORCPT ); Wed, 28 Jul 2004 17:50:40 -0400 Received: from viper.oldcity.dca.net ([216.158.38.4]:52388 "HELO viper.oldcity.dca.net") by vger.kernel.org with SMTP id S263772AbUG1Vud (ORCPT ); Wed, 28 Jul 2004 17:50:33 -0400 Subject: Re: [patch] voluntary-preempt-2.6.8-rc2-L2, preemptable hardirqs From: Lee Revell To: Ingo Molnar Cc: linux-kernel , William Lee Irwin III , Lenar L?hmus , Andrew Morton , Arjan van de Ven In-Reply-To: <20040728050535.GA14742@elte.hu> References: <1090732537.738.2.camel@mindpipe> <1090795742.719.4.camel@mindpipe> <20040726082330.GA22764@elte.hu> <1090830574.6936.96.camel@mindpipe> <20040726083537.GA24948@elte.hu> <1090832436.6936.105.camel@mindpipe> <20040726124059.GA14005@elte.hu> <20040726204720.GA26561@elte.hu> <20040727162759.GA32548@elte.hu> <1090968457.743.3.camel@mindpipe> <20040728050535.GA14742@elte.hu> Content-Type: text/plain Message-Id: <1091051452.791.52.camel@mindpipe> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 28 Jul 2004 17:50:52 -0400 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2004-07-28 at 01:05, Ingo Molnar wrote: > * Lee Revell wrote: > if your soundcard doesnt share the irq line with any other 'heavy' > interrupt then you can make the irq 'direct' via a simple change to > arch/i386/kernel/irq.c, change this line from: > > #define redirectable_irq(irq) ((irq) != 0) > > to: > > #define redirectable_irq(irq) (((irq) != 0) && ((irq) != 10)) > > (if the soundcard is on IRQ 10). > > does such a change combined with v=3 fix the latencies you are seeing? With L2, 1:3, max_sectors_kb=256, and the above change, the performance is truly amazing. Over 20 million interrupts, on a 600Mhz machine, the worst latency I was able to trigger was 46 usecs. There does not seem to be any adverse affect on any aspect of the system. This looks like the perfect setup for a DAW. Lee