Tagged articles
4 articles
Page 1 of 1
21CTO
21CTO
Nov 7, 2024 · Information Security

How a Tiny Linux Patch Boosted Multithread Performance by 2.6%

Linus Torvalds' recent kernel tweak eliminates a barrier function, improving multithread performance by 2.6% while addressing speculative‑execution vulnerabilities like Meltdown and Spectre, illustrating the trade‑off between speed and security in modern Linux systems.

Linus TorvaldsSpeculative Executioncopy_from_user
0 likes · 4 min read
How a Tiny Linux Patch Boosted Multithread Performance by 2.6%
Java Tech Enthusiast
Java Tech Enthusiast
Nov 4, 2024 · Fundamentals

Linux Kernel Patch Improves Performance by 2.6% in Intel Benchmark

Linus Torvalds merged a small patch into the Linux kernel that streamlines the 64‑bit copy_from_user() routine by skipping the costly barrier_nospec() and applying masked user‑address handling, delivering a 2.6% speedup on Intel’s “will it scale” per‑thread‑ops benchmark and slated for inclusion in the upcoming Linux 6.12 stable release.

BenchmarkLinux kernelcopy_from_user
0 likes · 4 min read
Linux Kernel Patch Improves Performance by 2.6% in Intel Benchmark