Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262698AbVAFBnQ (ORCPT ); Wed, 5 Jan 2005 20:43:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262701AbVAFBnQ (ORCPT ); Wed, 5 Jan 2005 20:43:16 -0500 Received: from dfw-gate1.raytheon.com ([199.46.199.230]:63879 "EHLO dfw-gate1.raytheon.com") by vger.kernel.org with ESMTP id S262699AbVAFBm5 (ORCPT ); Wed, 5 Jan 2005 20:42:57 -0500 To: "K.R. Foley" Cc: Lee Revell , Andrew Morton , Bill Huey , Adam Heath , linux-kernel@vger.kernel.org, Ingo Molnar , Florian Schmidt , Fernando Pablo Lopez-Lezcano , Rui Nuno Capela , Steven Rostedt , Thomas Gleixner From: Mark_H_Johnson@raytheon.com Subject: Re: Real-Time Preemption, comparison to 2.6.10-mm1 Date: Wed, 5 Jan 2005 16:58:38 -0600 Message-ID: X-MIMETrack: Serialize by Router on RTSHOU-DS01/RTS/Raytheon/US(Release 6.5.2|June 01, 2004) at 01/05/2005 05:23:17 PM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-SPAM: 0.00 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2425 Lines: 75 > Do you have a simple way of triggering and trapping the starvation? That > of course is probably asking for a lot. :) What I have been doing is now recorded as bug #3997 at http://bugme.osdl.org/show_bug.cgi?id=3997 Running latencytest has the advantage of generating some charts that I can show others how well (or poorly) the system runs. I just rebooted in SMP and did a few other tests with the following steps that should be simpler to set up and run. [1] Create cpu_test.c as follows: #define LOOPS 100000000 int main() { int u, v, k, l; for (v=0; v<100; v++) { for (u=0; utmpfile (replacing $1 with about 1.5x your physical memory size - this is my "disk write" test) b. cp tmpfile tmpfile2 (this is my "disk copy" test) c. cat tmpfile tmpfile2 >/dev/null (this is my "disk read" test) delete the files when done. It appears (at least on my system) that disk I/O triggers the problem more than the other tests (x11perf, top [with no delay]). I was however in an odd situation [just before I sent this message] where it appeared that the disk copy was OK but I could not type on any of my windows - mouse entries were OK but not the keyboard. That may be a different variant of my "starvation problem". --Mark - 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/