From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266153AbUHBPX1 (ORCPT ); Mon, 2 Aug 2004 11:23:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266188AbUHBPX1 (ORCPT ); Mon, 2 Aug 2004 11:23:27 -0400 Received: from cantor.suse.de ([195.135.220.2]:46480 "EHLO Cantor.suse.de") by vger.kernel.org with ESMTP id S266153AbUHBPXY (ORCPT ); Mon, 2 Aug 2004 11:23:24 -0400 Date: Mon, 02 Aug 2004 17:19:31 +0200 Message-ID: From: Takashi Iwai To: Lee Revell Cc: Ingo Molnar , linux-kernel , Andrew Morton , Scott Wood Subject: Re: [patch] voluntary-preempt-2.6.8-rc2-M5 In-Reply-To: <1091228074.805.6.camel@mindpipe> 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> <20040729222657.GA10449@elte.hu> <1091141622.30033.3.camel@mindpipe> <20040730064431.GA17777@elte.hu> <1091228074.805.6.camel@mindpipe> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 MULE XEmacs/21.4 (patch 15) (Security Through Obscurity) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org At Fri, 30 Jul 2004 18:54:39 -0400, Lee Revell wrote: > > On Fri, 2004-07-30 at 02:44, Ingo Molnar wrote: > > * Lee Revell wrote: > > > > > After running jackd with L2 all night, the only repeated XRUN was this > > > one: > > > > > > ALSA /home/rlrevell/cvs/alsa/alsa-driver/alsa-kernel/core/pcm_lib.c:139: XRUN: pcmC0D2c > > > [] dump_stack+0x17/0x20 > > > [] snd_pcm_period_elapsed+0x27b/0x3e0 [snd_pcm] > > > [] snd_emu10k1_interrupt+0xd1/0x3c0 [snd_emu10k1] > > > [] handle_IRQ_event+0x47/0x90 > > > [] do_IRQ+0xe3/0x1b0 > > > [] common_interrupt+0x18/0x20 > > > [] add_to_swap+0x21/0xc0 > > > [] shrink_list+0x156/0x4b0 > > > [] shrink_cache+0x14d/0x370 > > > [] shrink_zone+0xa8/0xf0 > > > [] balance_pgdat+0x1be/0x220 > > > [] kswapd+0xa9/0xb0 > > > [] kernel_thread_helper+0x5/0x10 > > > > > > This produced a few ~2ms XRUNs. The shrink_zone -> shrink_cache -> > > > shrink_list is a recurring motif. > > > > > > Is this addressed in M2? > > > > not yet. I havent seen this latency yet, nor are there any immediately > > clear clues in the xrun logs you sent. (it would still be nice to check > > out -M2, to see whether with all those configurability changes it > > matches the latencies of L2+your-irq.c-hack.) > > I discovered that a few of the XRUN traces were spurious - jackd > apparently does something while stopping and starting that produces an > XRUN trace but that jackd does not consider an error. I will fix this > in jackd. The msync() related XRUN triggered by apt-get is definitely > real. Yes. There is a bogus report at stopping (snd_pcm_drain is called). It was fixed in the recent ALSA cvs tree, but seems not propagated to bk yet... Takashi