Re: [PATCH] expand micro-optimizations in kernel to newer model CPUs

From: Richard Weinberger
Date: Sun Dec 15 2013 - 12:32:07 EST


Am Sonntag, 15. Dezember 2013, 04:42:50 schrieb John:
> ----- Original Message -----
>
> > From: Richard Weinberger <>
> >
> > A *very* small speedup.
> >
> > And I really doubt your numbers.
> > Why are you using ANOVA? You're comparing *two* groups not more than two.
> > I had a quick look at your raw numbers, they don't seem to be normally
> > distributed at all.
> > Did you remove some peaks?
>
> Hi Richard. Thank you for your interest. Yes, a small speedup as I
> mentioned but I'll note that the current kernel code includes the MCORE2
> option. I tested this against some of the newer ones and they are all on
> par with each other. For example, here are differences in median values:
>
> CPUDifference in median value
> core2 +87.5 ms
> core7-avx+79.7 ms
> core-avx-i+257.2 ms
>
> I am using ANOVA to establish that the generic group differs from the
> optimized group. I have always used ANOVA for this sort of comparison
> whether using two or more groups. In fact, thumb through any medical or
> scientific journal, you'll see others in pier reviewed article doing the
> same.

Only because others so does not make it valid.
Why not a plain T-test?

> I did not remove any datapoints; I do not understand why you don't think the
> sets are normally distributed. Did you see the normal quantile plots?
> Additionally, the population variances are fairly equal (Levene and
> Barlett tests).

Just perform a simple Kolmogorow-Smirnow test like on
http://jumk.de/statistic-calculator or http://www.physics.csbsju.edu/stats/KS-test.n.plot_form.html and you'll find out.
IIRC from my statistics 101 you'd have to perform a two-sided ANOVA test
if your data points are not normally distributed.

That said, we should not waste time with statistics games.
What we need are reliable and reproducible results.
As Boris requested many times before...

Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/