Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263178AbUKTUki (ORCPT ); Sat, 20 Nov 2004 15:40:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263176AbUKTUkg (ORCPT ); Sat, 20 Nov 2004 15:40:36 -0500 Received: from mail.gmx.net ([213.165.64.20]:10393 "HELO mail.gmx.net") by vger.kernel.org with SMTP id S263178AbUKTUju (ORCPT ); Sat, 20 Nov 2004 15:39:50 -0500 X-Authenticated: #4399952 Date: Sat, 20 Nov 2004 21:40:35 +0100 From: Florian Schmidt To: Florian Schmidt Cc: Lee Revell , Ingo Molnar , linux-kernel@vger.kernel.org, Rui Nuno Capela , Mark_H_Johnson@Raytheon.com, "K.R. Foley" , Bill Huey , Adam Heath , Thomas Gleixner , Michal Schmidt , Fernando Pablo Lopez-Lezcano , Karsten Wiese , Gunther Persoons , emann@mrv.com, Shane Shrybman , Amit Shah Subject: Re: [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm2-V0.7.29-0 Message-ID: <20041120214035.2deceaeb@mango.fruits.de> In-Reply-To: <20041120201155.6dc43c39@mango.fruits.de> References: <20041111215122.GA5885@elte.hu> <20041116125402.GA9258@elte.hu> <20041116130946.GA11053@elte.hu> <20041116134027.GA13360@elte.hu> <20041117124234.GA25956@elte.hu> <20041118123521.GA29091@elte.hu> <20041118164612.GA17040@elte.hu> <1100920963.1424.1.camel@krustophenia.net> <20041120125536.GC8091@elte.hu> <1100971141.6879.18.camel@krustophenia.net> <20041120191403.GA16262@elte.hu> <1100975745.6879.35.camel@krustophenia.net> <20041120201155.6dc43c39@mango.fruits.de> X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1988 Lines: 41 On Sat, 20 Nov 2004 20:11:55 +0100 Florian Schmidt wrote: > 29-4 with PREEMPT works very good (jackd at 64 frames: 0 xruns (running for > 1h now), soundcard irq unthreaded). Opposed to 29-1 PREEMPT_REALTIME which > showed some very weird jackd behaviour (xruns from 10usec to 50msec [!!!]). > rtc_wakeup was showing no large jitter for that kernel though, nor did the > different traces show anything that might have caused the jackd xruns. And > yes, i configured the irq handlers sanely :) > > Will build 29-4 PREEMPT_REALTIME now and see how this one behaves. Pretty much as bad as 29-1. Sadly i have no idea on how to find out what is causing jackd to act so weird under a PREEMPT_REALTIME kernel. It seems there is some correlation to activity on X. Hiding and showing windows has a certain chance of triggering a large xrun. Hmm, the max jitter rtc_wakeup shows at 1024hz is around 150us. Which seems a tiny bit large, too, as the rtc histogram shows a max wakeup latency of 16us.. It seems it's not the threaded irq handlers as jackd peformed quite well under 29-4 PREEMPT with the soundcrd irq handler threaded and at high prio (which i forgot to mention in my previous mail). So i don't really know how to go about this. I suppose i just run PREEMPT kernels instead of PREEMPT_REALTIME. Maybe it's the overhead which is killing jackd performance with PREEMPT_REALTIME, but i don't believe so (50ms? nah!). flo P.S.: There's so many variables in this PREEMPT/PREEMPT_REALTIME, handlers threaded/unthreaded. IRQ handler thread priorities. It would probably be cool if we could create some testing procedure which produces results which are comparable. Ideally this procedure would be automated. Any takers? - 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/