From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965265AbWFINji (ORCPT ); Fri, 9 Jun 2006 09:39:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965262AbWFINji (ORCPT ); Fri, 9 Jun 2006 09:39:38 -0400 Received: from mail.gmx.de ([213.165.64.20]:46470 "HELO mail.gmx.net") by vger.kernel.org with SMTP id S965265AbWFINjh (ORCPT ); Fri, 9 Jun 2006 09:39:37 -0400 X-Authenticated: #14349625 Subject: Re: 2.6.17-rc6-rt1 From: Mike Galbraith To: tglx@linutronix.de Cc: =?ISO-8859-1?Q?S=E9bastien_Dugu=E9?= , Ingo Molnar , linux-kernel@vger.kernel.org, John Stultz , Deepak Saxena In-Reply-To: <1149858713.5257.146.camel@localhost.localdomain> References: <20060607211455.GA6132@elte.hu> <1149842550.7585.27.camel@Homer.TheSimpsons.net> <1149847951.3829.26.camel@frecb000686> <1149852951.7421.7.camel@Homer.TheSimpsons.net> <1149853468.3829.33.camel@frecb000686> <1149855638.7413.8.camel@Homer.TheSimpsons.net> <1149857821.3829.42.camel@frecb000686> <1149858713.5257.146.camel@localhost.localdomain> Content-Type: text/plain; charset=utf-8 Date: Fri, 09 Jun 2006 15:42:38 +0200 Message-Id: <1149860558.7423.9.camel@Homer.TheSimpsons.net> Mime-Version: 1.0 X-Mailer: Evolution 2.4.0 Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2006-06-09 at 15:11 +0200, Thomas Gleixner wrote: > On Fri, 2006-06-09 at 14:57 +0200, Sébastien Dugué wrote: > > All the round trips under strace are in the 2ms range. > > > > How on earth can it be that stracing the ping gives better > > performance??? > > Was busy fixing a scheduling while atomic bug. I just verified that I > have the same weird behaviour. I'm looking into it. I downloaded and patched a ping.c to do a user triggered latency trace around recvfrom() of a ping -c 1 127.0.0.1 running SCHED_RR. We schedule away at 25us, do aaaall kinds of interesting stuff, and come back at 42234us. If you want the trace, holler. It's 51k bzipped. -Mike