The processing of incoming UDP packets has been accelerated by 12% in the Linux kernel.
A set of changes has been accepted into the codebase forming the Linux 7.0 kernel, which, during stress testing in a 100-gigabit network, increased the performance of incoming UDP packet processing by 12%. The optimization was implemented through manual inlining of two functions. It is noted that the function timecounter_cyc2time() can be called for each incoming packet, as modern protocols require tracking the time of packet arrival. Due to this, during processing,
