Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756503AbYA1S0d (ORCPT ); Mon, 28 Jan 2008 13:26:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752316AbYA1S0V (ORCPT ); Mon, 28 Jan 2008 13:26:21 -0500 Received: from smtp2.Stanford.EDU ([171.67.20.25]:38247 "EHLO smtp2.stanford.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755144AbYA1S0U (ORCPT ); Mon, 28 Jan 2008 13:26:20 -0500 Subject: Re: 2.6.24-rt1: timing problems (was [git pull] x86/hrtimer/acpi fixes) From: Fernando Lopez-Lezcano To: Mike Galbraith Cc: Ingo Molnar , linux-kernel@vger.kernel.org, Thomas Gleixner , "H. Peter Anvin" , Len Brown , Venki Pallipadi , Dave Jones In-Reply-To: <1201409168.5295.26.camel@homer.simson.net> References: <20071207183633.GC26778@elte.hu> <1197053386.32023.13.camel@cmn3.stanford.edu> <20071207185920.GA3006@elte.hu> <1197055769.32023.22.camel@cmn3.stanford.edu> <1197056910.32023.25.camel@cmn3.stanford.edu> <20071207195958.GA12529@elte.hu> <1197076100.32023.67.camel@cmn3.stanford.edu> <20071208091706.GB20516@elte.hu> <1201399193.18590.11.camel@cmn3.stanford.edu> <1201409168.5295.26.camel@homer.simson.net> Content-Type: text/plain Date: Mon, 28 Jan 2008 10:26:15 -0800 Message-Id: <1201544775.9506.1.camel@cmn3.stanford.edu> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 (2.8.3-2.fc6) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1709 Lines: 41 On Sun, 2008-01-27 at 05:46 +0100, Mike Galbraith wrote: > On Sat, 2008-01-26 at 17:59 -0800, Fernando Lopez-Lezcano wrote: > > > Hi Ingo... back to testing. > > History: > > > > 2.6.23.x + rt has not been very usable for audio applications. > > 2.6.24-rt1: same so far. > > > > Why: Jack keeps printing "delayed..." messages and has xruns which means > > that somehow the timing is delayed more than what jack would think > > reasonable. As in the case with an old timing bug, the problem > > dissapears when booting the kernel with idle=poll. Other users of Planet > > CCRMA are able to replicate the behavior, which goes away with idle=poll > > or booting the machine with only one core. As a workaround I have been > > packaging 2.6.22.x but now I'm not able to use that as the old rt14 > > patch, suitably tweaked results in a non working kernel. > > > > So it looks like, again, timing is getting skewed when the jack process > > jumps between cpus and thus jack sees timing jumps that are just not > > happenning. > > > > This is with a build based on 2.6.24 using as a base the latest Fedora > > rawhide source package plus 2.6.24-rt1. > > Do you have a simple testcase? (one which doesn't entail installing > ccrma and becoming an audiophile) No, I don't at this point. I'll see if I can cook something simple today... (naively thinking that some short C code could test for the clock being actually monotonic across cpus). -- Fernando -- 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/