Topics /
Systems & Performance
The most popular blog posts about systems & performance on Hacker News. 6,942 posts.
Thread Pools in Nginx Boost Performance 9x (2015)
Deliver modern applications with NGINX. Explore high-performance load balancing, API gateways, and web server solutions trusted by top global enterprises.
24-core CPU and I can’t type an email – part two
In my last post I promised to give more details about some rabbit holes that I went down during the investigation, including page tables, locks, WMI, and a vmmap bug. Those details are here, along …
Why libvirt supports only 14 PCIe hotplugged devices on x86-64
You might have used libvirt , a Linux daemon that provides an abstraction and management layer for virtualization software. This daemon allows you to submit an XML file containing a description of a VM, disk image or network. libvirt is then able to configure, start it and keep it running.
Principles for Fast Tokio Applications
A microscope for Tokio and Rust applications
We made Postgres writes faster, but it broke replication
Exploring LSM tree implementation in PostgreSQL for better write performance.
PostgreSQL query performance bottlenecks
PostgreSQL query planner is full of surprises, so a common-sense approach to writing performant queries is sometimes misleading. In this blog post, I'll describe examples of optimizing seemingly obvious queries with the help of EXPLAIN ANALYZE and Postgres metadata analysis.
FFmpeg 101 (2024)
A high-level architecture overview to start with FFmpeg.
Why bother with argv[0]?
The first argument of a program’s command line, typically reflecting the program’s name/path and often referred to as argv[0], can in most cases be set to an arbitrary value without affecting the process’ flow. Making the case against argv[0], this post demonstrates how it can be used to deceive security analysts…
The Insecurity of Debian
The difference in security defaults between Debian and Red Hat.
What Is Systems Programming, Really?
I have a gripe with the phrase
Making Rust binaries smaller by default
Have you ever tried to compile a helloworld Rust program in --release mode? If yes, have you seen its binary size? Suffice to say, it’s not exactly small. Or at least it wasn’t small until recently. This post details how I found about the issue and my attempt to fix it in Cargo.
The compositor is evil
First, I want to make it clear that I’m not accusing the compositor of true evil, which I define roughly as deliberately causing suffering. There’s unfortunately too much of that in the world. I mean it in the more metaphorical sense that it causes serious problems and forces other parts of the system to be more…
Windows XP Activation: Game Over
For almost two decades, MSKey Readme 1 has heralded the defeat of Windows XP's product activation, not via mere circumvention , but by cracking the encryption algorithm itself.
Beating the L1 cache with value speculation (2021)
If we have a heuristic to guess some value cheaply, we can remove a data dependency in a tight loop using the branch predictor. This allows the CPU to run more instructions in parallel, increasing performance. If this explanation does not make much sense to you, keep reading to learn about some of the magic making…
Writing a simple windows driver in Rust
The Rust language ecosystem is growing each day, its popularity increasing, and with good reason. It’s the only mainstream language that provides memory and concurrency safety at compile time…
Real hardware breakthroughs, and focusing on rustc
The Redox official website
Hazelcast 3.8.3
2017-10-07: IMap is not the only datatype supporting merge: ICache is mergable as well.
Async Rust in Practice: Performance, Pitfalls, Profiling
Learn how our developers used flamegraphs to diagnose and resolve performance issues in our Tokio framework based Rust driver.
How does Windows decide whether your computer has full Internet access?
Looking for special servers.