Recompiling the kernel increases performance?

Steve O'Hara-Smith steve at sohara.org
Tue May 12 12:32:18 UTC 2020


On Tue, 12 May 2020 18:01:23 +0600
Nikita Stepanov <nikitastepanov113 at yandex.kz> wrote:

	Recompiling the kernel may improve the performance of some CPU
bound operations if you adjust optimisation flags and compile to a specific
CPU architecture. However unless your system load is such that it is CPU
bound in kernel space it is unlikely to make a difference to the overall
performance of the system at the cost of increasing the risk of hitting
optimisation bugs.

	Very high performance routing is one of the few applications I can
think of where I might expect a noticeable difference from optimising
kernel code.

-- 
Steve O'Hara-Smith <steve at sohara.org>


More information about the freebsd-questions mailing list