Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Linux 7.3 SMP Improvement To Help Reduce Latency, Improve Real-Time Performance

Дата публикации: 17-08-2026 14:09:01

Among the pull requests sent out today now that the Linux 7.3 merge window is open are the SMP improvements for this next kernel version. Standing out among the SMP code are some enhancements for helping reduce latency and ultimately enhancing real-time Linux performance...

Основное содержимое страницы с новостью.

LINUX KERNEL

Among the pull requests sent out today now that the Linux 7.3 merge window is open are the SMP improvements for this next kernel version. Standing out among the SMP code are some enhancements for helping reduce latency and ultimately enhancing real-time Linux performance.

Due to blocking until remote CPUs complete the IPI function execution, scheduling latency can increase "dramatically" with the number of remote CPUs and other conditions. Especially for x86_64 where Translation Lookaside Buffer (TLB) flushes are performance via IPIs, process exit and process-mapped page reclamation can lead to waiting on multiple IPI operations.

SMP monitoring

Bytedance engineers thus took to reworking the kernel SMP code to allow preemption during IPI completion waiting in order to avoid scheduling latency spikes. Bytedance engineers found the existing Linux SMP behavior to be particularly bad for latency-sensitive workloads like DPDK. In their end their optimizations paid off big time with a 90% reduction in P99 latency in testing with DPDK:

SMP latency benchmark result

Thomas Gleixner summed up the situation elegantly in the SMP pull request:

"Reduce the preemption disabled sections in smp_call_function*().

The various smp call functions keep preemption disabled across the full operation which includes the wait for completion. Especially the latter can take some time when one of the target CPUs is not immediately responding to the IPI, which can result in large latency spikes.

To improve this provide a per task CPU mask to track the CPUs to wait for. That makes the information required for the wait task local and therefore allows to reenable preemption before the wait. While this comes with moderate extra memory cost this reduces SMP function call induced latency measured in a fleet for high priority tasks from ~17ms to ~1.5ms (~90%)."

The pull is now awaiting action by Linus Torvalds. Barring any code nit picks from Linus Torvalds, it's pretty safe to assume it will land this week as we kick off the Linux 7.3 merge window.

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1IOmap Improvement For Linux 7.3 Takes EXT4 & XFS Performance Further013.6918-08-2026
2Intel & AMD Power Management Driver Improvements Ready For Linux 7.307.3717-08-2026
3EFS & FreeVxFS File-Systems Get Booted While FailFS Merged For Linux 7.3017.1218-08-2026
4Linux 7.3 To Land Initial Code Improving vRAM Management, More Improvements Coming06.6117-08-2026
5Linux 7.3 Adds New "bpf_sock_read_xattr" Feature For systemd, BPF Programs08.4418-08-2026
6Linux 7.3 On PowerPC Now Supports In-Kernel Rust, Initial Power12 Enablement Begins014.1617-08-2026
7XFS Lands FALLOC_FL_WRITE_ZEROES For Efficiency Improvement In Linux 7.3014.4318-08-2026
8tlbi= Boot Option Submitted Ahead Of Linux 7.2 Kernel Release08.5516-08-2026
9Three Lines of Code Improve Linux Storage Performance07.7523-06-2026
10Lenovo Lands New Watchdog Driver In Linux 7.3 For Their SE30G2 + SE60 Edge AI Computers011.3318-08-2026

Классификация: Экономика. Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 10.19. Источник: www.phoronix.com.