Messages in this thread | | | Date | Tue, 8 Sep 2009 07:20:46 -0700 | From | Arjan van de Ven <> | Subject | Re: BFS vs. mainline scheduler benchmarks and measurements |
| |
On Tue, 08 Sep 2009 13:13:34 +0300 Nikos Chantziaras <realnc@arcor.de> wrote:
> On 09/08/2009 11:38 AM, Arjan van de Ven wrote: > > On Tue, 08 Sep 2009 10:19:06 +0300 > > Nikos Chantziaras<realnc@arcor.de> 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.
Now the scheduler impacts this latency in two ways * Deciding how long apps run before someone else gets to take over ("time slicing") * Deciding who gets to run first/more; eg priority between apps
the first one more or less controls the maximum, while the second one controls which apps get to enjoy this maximum.
latencytop shows you both, but it is interesting to see how much the apps get that you care about latency for....
-- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org
| |