Re: [PATCH 1/1] x86_64: add config options to optimize for newer AMD processors

From: Linus Torvalds
Date: Thu Oct 03 2013 - 12:27:51 EST


On Thu, Oct 3, 2013 at 5:06 AM, Austin S Hemmelgarn
<ahferroin7@xxxxxxxxx> wrote:
> improved. Building kernel 3.12-rc2 with allmodconfig using 8 jobs on a FX-8320 takes
>
> 22 minutes and 57 seconds on a kernel with CONFIG_MK8,
> 21 minutes and 35 seconds on a kernel with CONFIG_GENERIC, and
> 19 minutes and 11 seconds on a kernel with CONFIG_PILEDRIVER.

That's certainly noticeable. Surprisingly so. What makes MK8 so bad in
particular, I wonder?

Just out of interest, have you done any profiles on the kernel cost
here to see what it is that makes such a big difference. Because
normally on a kernel build, I see most of the overhead in path lookup.
But that's only true for otherwise optimized builds that don't have
system call auditing etc debugging that spreads the costs out over
everything..

Linus
--
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/