Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752596AbZIHWxs (ORCPT ); Tue, 8 Sep 2009 18:53:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751822AbZIHWxs (ORCPT ); Tue, 8 Sep 2009 18:53:48 -0400 Received: from mail-in-17.arcor-online.net ([151.189.21.57]:54374 "EHLO mail-in-17.arcor-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751284AbZIHWxr (ORCPT ); Tue, 8 Sep 2009 18:53:47 -0400 X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-03.arcor-online.net 959CF2C2A24 Message-ID: <4AA6E07C.9030801@arcor.de> Date: Wed, 09 Sep 2009 01:53:48 +0300 From: Nikos Chantziaras Organization: Lucas Barks User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090826 Thunderbird/3.0b3 MIME-Version: 1.0 To: Arjan van de Ven CC: linux-kernel@vger.kernel.org, mingo@elte.hu Subject: Re: BFS vs. mainline scheduler benchmarks and measurements References: <20090906205952.GA6516@elte.hu> <20090907074039.1b6bc1ac@infradead.org> <4AA6056A.4020106@arcor.de> <20090908013800.296a5fb5@infradead.org> <4AA62E4E.4040700@arcor.de> <20090908072046.3932fd50@infradead.org> In-Reply-To: <20090908072046.3932fd50@infradead.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2016 Lines: 50 On 09/08/2009 05:20 PM, Arjan van de Ven wrote: > On Tue, 08 Sep 2009 13:13:34 +0300 > Nikos Chantziaras wrote: > >> On 09/08/2009 11:38 AM, Arjan van de Ven wrote: >>> On Tue, 08 Sep 2009 10:19:06 +0300 >>> Nikos Chantziaras wrote: >>> >>>> latencytop has this to say: >>>> >>>> http://foss.math.aegean.gr/~realnc/pics/latop1.png >>>> >>>> Though I don't really understand what this tool is trying to tell >>>> me, I hope someone does. >>> >>> despite the untranslated content, it is clear that you have >>> scheduler delays (either due to scheduler bugs or cpu contention) >>> of upto 68 msecs... Second in line is your binary AMD graphics >>> driver that is chewing up 14% of your total latency... >> >> I've now used a correctly installed and up-to-date version of >> latencytop and repeated the test. Also, I got rid of AMD's binary >> blob and used kernel DRM drivers for my graphics card to throw fglrx >> out of the equation (which btw didn't help; the exact same problems >> occur). >> >> Here the result: >> >> http://foss.math.aegean.gr/~realnc/pics/latop2.png >> >> Again: this is on an Intel Core 2 Duo CPU. > > > so we finally have objective numbers! > > now the interesting part is also WHERE the latency hits. Because > fundamentally, if you oversubscribe the CPU, you WILL get scheduling > latency.. simply you have more to run than there is CPU. Sounds plausible. However, with mainline this latency is very, very noticeable. With BFS I need to look really hard to detect it or do outright silly things, like a "make -j50". (At first I wrote "-j20" here but then went ahead an tested it just for kicks, and BFS would still let me use the GUI smoothly, LOL. So then I corrected it to "-j50"...) -- 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/