Linux 6.7 To Boast Better Performance For FQ Packet Scheduling Algorithm

Written by Michael Larabel in Linux Networking on 2 October 2023 at 09:41 AM EDT. 4 Comments
LINUX NETWORKING
The Linux kernel's Fair Queue "FQ" network packet scheduling algorithm that is celebrating its 10th anniversary since being mainlined in the Linux 3.12 kernel cycle is celebrating by rolling out some performance optimizations with the next version of the Linux kernel.

Eric Dumazet of Google has been working on a round of performance improvements to the Fair Queue network scheduling algorithm code. The end result is seeing around a 5% throughput improvement and up to a 13% increase for unpaced UDP packets.
"net_sched: sch_fq: round of improvements

For FQ tenth anniversary, it was time for making it faster.

The FQ part (as in Fair Queue) is rather expensive, because we have to classify packets and store them in a per-flow structure, and add this per-flow structure in a hash table. Then the RR lists also add cache line misses.

Most fq qdisc are almost idle. Trying to share NIC bandwidth has no benefits, thus the qdisc could behave like a FIFO.

This series brings a 5 % throughput increase in intensive tcp_rr workload, and 13 % increase for (unpaced) UDP packets."

These FQ packet scheduling improvements have been merged into the net-next branch ahead of the Linux 6.7 kernel merge window opening up in about one month's time.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week