|
|
|
|
|
by yjftsjthsd-h
2883 days ago
|
|
So... always use `-O0 -march=i586`, because using obvious optimizations for your hardware is a total waste of time and will definitely never ever be beneficial? Seriously, I get that it's possible to go off the deep end over optimizing, but that site is way off the deep end in the opposite direction. |
|
One thing I will say, compiling your own has many benefits, as all the distribution kernels use Generic x86-64 and miss out on all the Intel/AMD optimizations.
For example, just by switching from "Generic-x86-64" to "Core 2 or newer" in Processor type and features -> Processor family in kernel config, adds these 5 optimizations:
CONFIG_X86_INTERNODE_CACHE_SHIFT=6
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_P6_NOP=y
You can say it's pulling hairs, but hey, that's what I want. Not many people have the time, know-how, run Linux, etc. to be able to make these optimizations.