From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762281AbZDQXY3 (ORCPT ); Fri, 17 Apr 2009 19:24:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755761AbZDQXYV (ORCPT ); Fri, 17 Apr 2009 19:24:21 -0400 Received: from zcars04e.nortel.com ([47.129.242.56]:43766 "EHLO zcars04e.nortel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755455AbZDQXYU (ORCPT ); Fri, 17 Apr 2009 19:24:20 -0400 Message-ID: <49E90F9D.5010308@nortel.com> Date: Fri, 17 Apr 2009 17:24:13 -0600 From: "Chris Friesen" User-Agent: Thunderbird 2.0.0.21 (X11/20090302) MIME-Version: 1.0 To: Christoph Lameter CC: Peter Zijlstra , Ingo Molnar , linux-kernel@vger.kernel.org Subject: Re: Scheduler regression: Too frequent timer interrupts(?) References: <1239951613.23397.4107.camel@laptop> <1239977776.23397.4590.camel@laptop> <1239979901.23397.4638.camel@laptop> <20090417153520.GA29968@elte.hu> <1239985426.23397.4757.camel@laptop> <20090417164918.GK8253@elte.hu> <1239991892.23397.4905.camel@laptop> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Apr 2009 23:24:16.0298 (UTC) FILETIME=[A01B88A0:01C9BFB3] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christoph Lameter wrote: > The latencytest code simulates a busy processor (no system calls, all > memory is prefaulted). For some reasons Linux is increasingly taking time > away from such processes (that intentionally run uncontended on a > dedicated processor). This causes regressions so that current upstream is > not usable for these applications. > > It would be best for these applications if the processor would be left > undisturbed. There is likely not much that the OS needs to do on a busy > processor if there are no competing threads and if there is no I/O taking > place. Peter/Ingo, could ftrace be used to determine where time is being spent in the kernel with suitable accuracy? (This may be a dumb question, I haven't played with ftrace much.) Given that we're talking about tens of usecs of duration, statistical sampling may not work all that well. Chris