Cache Aware Scheduling Shows Nice Wins for AMD Zen 5 on PostgreSQL, Valkey
rbanffy
26 points
4 comments
May 29, 2026
Related Discussions
Found 5 related stories in 1291.7ms across 14,015 title embeddings via pgvector HNSW
- Linux Cache Aware Scheduling Extended for Better Performance: 360% in MySQL dabinat · 19 pts · June 25, 2026 · 64% similar
- Made a Rust DB run spatial queries on gaming GPU RT cores, beating an H100 dr-jia-yu · 17 pts · June 26, 2026 · 53% similar
- Better JIT for Postgres vladich · 143 pts · March 04, 2026 · 53% similar
- Show HN: PostgreSQL performance and cost across 23 EC2 instance types anivan_ · 83 pts · July 07, 2026 · 52% similar
- AMD Ryzen AI NPUs Are Finally Useful Under Linux for Running LLMs mikece · 27 pts · March 11, 2026 · 52% similar
Discussion Highlights (3 comments)
ysleepy
I wonder how this behaves with VMs, does this help when the host uses this scheduling, but the VM not? Does both make sense? - the vm threads are probably not pinned to cores. In an case, a great boost for containers on bare metal or maybe core-pinned VMs.
fabian2k
I'm always a bit skeptical about benchmarks like this. There's quite a few knobs you want to adjust for a production PostgreSQL on bigger hardware. And the article doesn't provide any configuration details (like shared buffers, is huge pages enabled). The effect is visible at 500 connections, not at 250. The CPU is a Threadripper with 64 cores and 128 GB memory, which seems like a bit of a mismatch to me. So I wonder how transferable these benchmarks are to different setups.
jauntywundrkind
Beautiful generational leap here, so so so good! I'm also excited to see what folks get up to with sched_ext , this year & ongoingly. Scheduling becoming BPF programmable hopefully shows some other neat wins too.