Visualizing Ext4
What does ext4 look like?
Topics /
The most popular blog posts about systems & performance on Hacker News. 6,942 posts.
What does ext4 look like?
Most CPU architectures in use today have an instruction called popcount , short for “population count”. Here’s what it does: it counts the number of set bits in a machine word. For example (assuming 8-bit words for simplicity), popcount(00100110) is 3 and popcount(01100000) is 2 .
Where are they now? You won't believe her new look!
The primary admin account on an M1 Mac is its Owner, responsible for authorising the installation and use of second operating systems. Here’s what can go wrong with Ownership.
What is TCP? This post is an exploration of TCP, the workhorse of the internet. This deep dive includes detailed examples and a step-by-step walkthrough. A simple TCP explanation.
The idea of a zero cost abstraction is very important to certain programming languages, like Rust and C++, which intend to enable users to write programs with excellent performance profiles with relatively little effort. Since this idea is fundamental to the design of Rust and my work, I want to investigate, for a…
Earlier this year I wrote about container computing and enumerated some of the benefits that you get when you use it as the basis for a distributed application platform: consistency & fidelity, development efficiency, and operational efficiency. Because containers are lighter in weight and have less memory and…
We rewrote critical software that powers all online storefronts on Shopify, offering the fastest online shopping experience, entirely from scratch and without downtime.
Exploring a minimal implementation of a time-sharing kernel on RISC-V, implemented in Zig, on top of OpenSBI.
What should you do with your unclosed browser tabs? I ran pong in mine.
Fuchsia is a general-purpose open-source operating system created by Google. It is based on the Zircon microkernel written in C++ and is currently under active development. The developers say that Fuchsia is designed with a focus on security, updatability, and performance. As a Linux kernel hacker, I decided to take a…
As part of the small minority of devs at my company who primarily run Windows, I’m accustomed to working around occasional Unix-specific behaviors in our build and deployment systems. Cygwin makes most stuff just work, I can fix simple incompatibilities myself, and as a last resort I can always boot into OSX for a…
Python loses every public benchmark by 21-875x. I took the exact problems people use to dunk on Python and climbed every rung of the optimization ladder -- from CPython version upgrades to Rust. Real numbers, real code, real effort costs.
Take a tour through hundreds of performance improvements in .NET 11.
TinyKVM can be used to sandbox regular Linux programs or programs with specialized APIs embedded into your servers.
A lot of programmers believe that compilers are magic black boxes in which you put your messy code in and get a nice optimized binary out. The hallway philosophers will often start a debate on which language features or compiler flags to use in order to capture the full power of the compiler’s magic. If you have ever…
Apple has revealed the hidden Fallback Recovery OS mode available on M1 Macs. How to enter and use it, and why it’s another big plus.
by Aditya Mavlankar, Liwei Guo, Anush Moorthy and Anne Aaron
On a summer's day a trip in a hot tube train is a dreadful experience, but how did we end up with such hot tube trains, and what's being done about it?
A detective story with a silly ending
Starting at 1342 UTC today we experienced a global outage across our network that resulted in visitors to Cloudflare-proxied domains being shown 502 errors (“Bad Gateway”). The cause of this outage was deployment of a single misconfigured rule within the Cloudflare Web Application Firewall (WAF)
Written pieces, talks, and other bits by Zach Holman.
NOTE June 2026: Hetzner announced over 100% increases in prices. They will honour old prices for instances built before June 15th 2026, but for new instances the performance/price ratios show below are no longer valid.
Discover io_uring, an async I/O API for Linux that can potentially benefit networking, and learn how to integrate it into your applications and I/O libraries.
Posted by Gal Beniamini, Project ZeroIn this blog post we’ll complete our goal of achieving...
mvSQLite is the open-source , SQLite-compatible distributed database. We decoupled SQLite's storage layer onto FoundationDB to offer massive yet "bottomless" scalability, point-in-time reads, and the strictest level of consistency.
If you need a basic NAS and don't care about GUI features, it is suprisingly simple to set up a ZFS dataset and share it over the network using Samba.