From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Chris Friesen" Subject: Re: Issue with SCHED_FIFO app Date: Mon, 17 May 2010 14:51:29 -0600 Message-ID: <4BF1AC51.7080108@nortel.com> References: <201005131249.56432.kernel@kolivas.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Xianghua Xiao Cc: Con Kolivas , Suresh Rajashekara , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-omap@vger.kernel.org On 05/12/2010 09:16 PM, Xianghua Xiao wrote: > I'm unsure if the newest "top" (or /proc/PID/stat) reports the correct > cpu usage when CFS/BFS is used, as you mentioned it seems failed to do > that. I will try to stress the system and see who fails first under > same workload, maybe that's the only way to compare cpu usage between > 2.6.18rt vs 2.6.33rt, for now. If you turn on scheduler debugging, then /proc/sched_debug gives accurate information using the scheduler clock (at least with CFS, not sure about BFS). Chris