Date: Tue, 12 May 2020 13:32:10 +0100 From: Steve O'Hara-Smith <steve@sohara.org> To: Nikita Stepanov <nikitastepanov113@yandex.kz> Cc: freebsd-questions@freebsd.org Subject: Re: Recompiling the kernel increases performance? Message-ID: <20200512133210.3e5ed9aac65903ebdee3ea56@sohara.org> In-Reply-To: <825101589284883@sas1-ffdbcd5f1d77.qloud-c.yandex.net> References: <825101589284883@sas1-ffdbcd5f1d77.qloud-c.yandex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 12 May 2020 18:01:23 +0600 Nikita Stepanov <nikitastepanov113@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@sohara.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200512133210.3e5ed9aac65903ebdee3ea56>