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

From: David Heidelberger
Date: Mon Dec 09 2013 - 22:53:45 EST


Hello,

this patch is used in Gentoo geek-sources and mptcp-sources (and probably in lot other kernel sources sets). So, there was lot testing.

It's not _big_ performance difference, but -mtune=native is nice to have.
It could be great, if this kernel option could be fully utilized without need of additional patching.

Thank for your work guys.

Cheers,
David

Dne 2013-12-08 16:53, John napsal:
I have been maintaining the attached patch since kernel v3.9.[1] ÂI
submit for review the most recent incarnation which works with the
v3.12 tree. ÂAs you can see by the ANOVA plots referenced in the
comments, these micro optimizations are value-added statistically
based on a compilation endpoint and are on-par with the included
"core2" option in the mainline kernel itself.

I maintain an unofficial Arch Linux kernel repo and have been
building/packaging kernels using this patch for many different CPUs
and Arches. ÂI feel this code has been tested by the >2,500 users of
my repo on many different CPUs and under both x86 and x86_64
systems[2] and feel it is worth for inclusion into the mainline
kernel.

Please cc me on replies as I am NOT a regular subscriber to lkml. ÂThank you.

1. https://github.com/graysky2/kernel_gcc_patch
2, http://repo-ck.com/stats.pdf
--
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/