https://www.phoronix.com/news/Linux-7.0-AWS-PostgreSQL-Drop Phoronix * Articles & Reviews * News Archive * Forums * Premium Ad-Free * Contact * Popular Categories * Close * * Articles & Reviews * News Archive * Forums * Premium * Contact * Categories Computers Display Drivers Graphics Cards Linux Gaming Memory Motherboards Processors Software Storage Operating Systems Peripherals * [ ] [Search] AWS Engineer Reports PostgreSQL Performance Halved By Linux 7.0, But A Fix May Not Be Easy Written by Michael Larabel in Linux Kernel on 4 April 2026 at 07:36 AM EDT. 59 Comments LINUX KERNEL An Amazon/AWS engineer raised the alarms on Friday over the current Linux 7.0 development kernel leading to the throughput for the PostgreSQL database server being around half that of prior kernel versions. The culprit halving the PostgreSQL performance is known but a revert looks like it may not happen and currently suggesting that PostgreSQL may need to be adapted. Salvatore Dipietro of Amazon/AWS reported a throughput and latency regression for PostgreSQL. They found Linux 7.0 in its near-final form delivering around 0.51x the throughputof prior kernels on a Graviton4 server due to now much more time being spent in a user-space spinlock. Bisecting the regression was traced back to the Linux 7.0 change of restricting the available preemption modes for the kernel. That change was previously covered on Phoronix within Linux 7.0 To Focus Just On Full & Lazy Preemption Models For Up-To-Date CPU Archs and in turn upstreamed with the Linux 7.0 scheduler updates. As a result, yesterday posted to the Linux kernel mailing list was a patch to restore PREEMPT_NONE as the default given the severity of the reported regression. pgbench regression benchmark While fixing an active performance regression, it looks like this change to restore PREEMPT_NONE as the default preemption model might not be picked up. Peter Zijlstra who authored the original code simplifying the preemption modes has responded that the "fix" is to make PostgreSQL make use of the Restartable Sequences (RSEQ) time slice extension. That time slice extension support was also upstreamed for Linux 7.0. "The fix here is to make PostgreSQL make use of rseq slice extension: https://lkml.kernel.org/r/[email protected] That should limit the exposure to lock holder preemption (unless PostgreSQL is doing seriously egregious things)." So if that stands and shifting the blame to PostgreSQL, Linux 7.0 stable could lead to a significant drop for PostgreSQL performance in some scenarios until that popular database server is updated. Linux 7.0 stable is due out in about two weeks. This is also the kernel version powering Ubuntu 26.04 LTS to be released later in April. 59 Comments Tweet Related News Linux 7.0-rc7 Released With Improved Docs For AI Agents, WiFi Driver Performance Fix Linux 7.1 Expected To Begin Removing i486 CPU Support Meta Has A New Linux Optimization To Avoid Throttling TCP Throughput Unnecessarily Snapdragon X2's Adreno X2-85 GPU Sees Driver Improvements For Linux 7.1 April 1 Linux Patches: Verified Birth Date For File Creation, Block Emacs From Running New Rust-Based BUS1 In-Kernel IPC In Development For The Linux Kernel About The Author 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 Steam On Linux Use Skyrocketed In March - More Than Double The macOS Gaming Marketshare AWS Engineer Reports PostgreSQL Performance Halved By Linux 7.0, But A Fix May Not Be Easy New Patches Allow Building Linux IPv6-Only, Option To Deprecate "Legacy" IPv4 Cloudflare Announces EmDash As Open-Source "Spiritual Successor" To WordPress Debian Is Figuring Out How Age Verification Laws Will Impact It KDE Linux Hardening Their OS Against Updates Making Systems Unbootable Redox OS Introducing New CPU Scheduler For ~1.5x Performance In Heavy Tasks Fedora Rejects Proposal To Use systemd For Managing Per-User Environment Variables Latest Linux News Linux 7.0-rc7 Released With Improved Docs For AI Agents, WiFi Driver Performance Fix Linux 7.1 Expected To Begin Removing i486 CPU Support AMD & Valve Deliver Better Kaveri / Kabini APU Experience With Upcoming Linux 7.1 Linux 7.0-rc7 Adding More Documentation For AI Tools To Send Better Security Bug Reports hid-omg-detect: Linux Driver In Development To Detect Malicious HID Devices Linux Sees Fixes For Its GD-ROM Driver In 2026 For Sega Dreamcast Debian Is Figuring Out How Age Verification Laws Will Impact It Razer Wolverine V3 Pro & Betop KP50 Controllers To Be Supported By Linux 7.0 AWS Engineer Reports PostgreSQL Performance Halved By Linux 7.0, But A Fix May Not Be Easy 3mdeb Makes Progress Bringing AMD openSIL + Coreboot To Ryzen AM5 Motherboard Show Your Support, Go Premium Phoronix Premium allows ad-free access to the site, multi-page articles on a single page, and other features while supporting this site's continued operations. Latest Featured Articles CachyOS Delivers More Performance Out Of Intel Panther Lake AMD Ryzen AI Max "Strix Halo" Enjoys Great Performance Gains With Latest Linux Software Ubuntu 26.04 Showing Nice Gains Over Ubuntu 25.10 On AMD Ryzen 9000 Series KDE Plasma 6.6 Showing Frequent Performance Advantage Over GNOME 50 With NVIDIA R595 Driver Open-Source Nouveau Performance With Linux 7.0 + NVK Mesa 26.1-dev vs. NVIDIA Linux Driver Support Phoronix The mission at Phoronix since 2004 has centered around enriching the Linux hardware experience. In addition to supporting our site through advertisements, you can help by subscribing to Phoronix Premium. You can also contribute to Phoronix through tips/donations via PayPal or Stripe. Phoronix Media --------------------------------------------------------------------- * Contact * Michael Larabel Phoronix Premium --------------------------------------------------------------------- * Support Phoronix * While Having Ad-Free Browsing, * Single-Page Article Viewing Share --------------------------------------------------------------------- * Facebook * Twitter / X * Legal Disclaimer, Privacy Policy, Cookies | Privacy Manager | Contact * Copyright (c) 2004 - 2026 by Phoronix Media. * All trademarks used are properties of their respective owners. All rights reserved.