Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261302AbUJ3UFn (ORCPT ); Sat, 30 Oct 2004 16:05:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261301AbUJ3UFn (ORCPT ); Sat, 30 Oct 2004 16:05:43 -0400 Received: from mustang.oldcity.dca.net ([216.158.38.3]:14515 "HELO mustang.oldcity.dca.net") by vger.kernel.org with SMTP id S261303AbUJ3UFR (ORCPT ); Sat, 30 Oct 2004 16:05:17 -0400 Subject: Re: [Fwd: Re: [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0.4] From: Lee Revell To: Florian Schmidt Cc: Ingo Molnar , Paul Davis , Thomas Gleixner , LKML , mark_h_johnson@raytheon.com, Bill Huey , Adam Heath , Michal Schmidt , Fernando Pablo Lopez-Lezcano , Karsten Wiese , jackit-devel , Rui Nuno Capela In-Reply-To: <20041030214738.1918ea1d@mango.fruits.de> References: <20041029172243.GA19630@elte.hu> <20041029203619.37b54cba@mango.fruits.de> <20041029204220.GA6727@elte.hu> <20041029233117.6d29c383@mango.fruits.de> <20041029212545.GA13199@elte.hu> <1099086166.1468.4.camel@krustophenia.net> <20041029214602.GA15605@elte.hu> <1099091566.1461.8.camel@krustophenia.net> <20041030115808.GA29692@elte.hu> <1099158570.1972.5.camel@krustophenia.net> <20041030191725.GA29747@elte.hu> <20041030214738.1918ea1d@mango.fruits.de> Content-Type: text/plain Date: Sat, 30 Oct 2004 16:05:14 -0400 Message-Id: <1099166715.1434.1.camel@krustophenia.net> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1548 Lines: 44 On Sat, 2004-10-30 at 21:47 +0200, Florian Schmidt wrote: > Hi, in the meantime i also booted into P9 again and the results differ > dramatically. Much better in P9. Anyways, i reuploaded the tarball. The > program tries to detect missed irq's now and counts the total number of > irq's delivered by /dev/rtc. Since the program does not recover from missed > irq's the "statistical" data for these runs is useless [except for the > knowledge of the fact that one or more irq was missed :)] Here are my results with T3. As expected, much better. -- rlrevell@mindpipe:~/cvs/wakeup$ ./rt_wakeup 1024 100000 freq: 1024 #: 100000 setting up /dev/rtc. locking memory... turning irq on, beginning measurement (might take a while). done. total # of irqs: 100000. missed irq's: 0 mean cycle difference betweem two wakeups: 585875 cycles min. cycle difference betweem two wakeups: 517708 cycles (#: 27478) diff from mean diff: 68166.8 max. cycle difference betweem two wakeups: 656018 cycles (#: 27477) diff from mean diff: 70143.2 mean difference from mean difference: 3052.86 cycles -- So maybe the bug is not related to scheduling of SCHED_FIFO threads, but that we are missing IRQs. I think this would explain the choppy playback with mplayer (it uses the RTC and does not run SCHED_FIFO). Lee - 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/