Topics /
Systems & Performance
The most popular blog posts about systems & performance on Hacker News. 6,943 posts.
Using eBPF and predefined inspections to minimize “observability tax”
Learn how Coroot uses eBPF and predefined inspections to achieve fast, code-free monitoring with minimal observability overhead.
Two interesting XOR circuits inside the Intel 386 processor
Intel's 386 processor (1985) was an important advance in the x86 architecture, not only moving to a 32-bit processor but also switching to a...
The .NET IL Interpreter
Whilst writing a previous blog post I stumbled across the .NET Interpreter, tucked away in the source code. Although, it I’d made even the smallest amount of effort to look for it, I’d have easily found it via the GitHub ‘magic’ file search:
IPv4, IPv6, and a sudden change in attitude
A few years ago I wrote [_The World in Which IPv6 was a Good Design_](https://apenwarr.ca/log/20170810). I'm still proud of that article, bu...
Running Linux on My MacBook
thoughts
Two Workers Are Quadratically Better Than One
For latency, anyway. A common architecture pattern is the “task queue”: tasks enter an ordered queue, workers pop tasks and process them. This pattern is used everywhere from distributed systems to thread pools. It applies just as well to human systems, like waiting in line at a supermarket or a bank. Task queues are…
SI Units for Request Rate
Request rate is the number of requests that arrive, or are serviced, or leave, during some period.
Étoilé on Gnustep
Étoilé is an innovative GNUstep based user environment built from the ground up on highly modular and light components with project and document orientation in mind.
Mini-ITX Seaberry Adds 11 PCIe Slots to a Raspberry Pi
Since the Compute Module 4 came along last year, there have been a few projects that use it that make me do a double-take: They did what with a Pi? Alftel's Seaberry is a carrier board for the CM4 in the Mini ITX form factor that adds on eleven PCI Express slots: 1 x16 slot (with x1 lane) in the standard ITX location…
Spoiling Linux Kernel with "sanctioned" code
Last year I've fixed a bug in Linux kernel OHCI (USB 1.1) stack , which rendered my old printer unreliable: OHCI adds artificial delay of 1ms for each USB transfer of send-read pattern, while my very old, host-based printer expects very tight timings and constant latency, like some kind of CnC machine.
Disk Utility still can't check and repair APFS volumes and containers (2021)
Don’t waste time trying to discover which files are still open when you want to check or repair an APFS disk and Disk Utility throws an error. Here’s the solution.
Why Specifications Don't Compose
Recently my friend Lars Hupel and I had a discussion on why formal methods don’t compose well. You can read the conversation here. We focused mostly on composing formally-verified code. I want to talk a little more about the difficulties in composing specifications. This is half because it’s difficult for interesting…
Multi-Core by Default
On multi-core programming, not as a special-case technique, but as a new dimension in all code.
How does Sidekiq really work?
An investigation into the internals of Sidekiq, one of the most popular Ruby background job processors.
Modernising RISC OS in 2020: is there hope for the ancient ARM OS?
The first computer I owned was a Sinclair ZX Spectrum, and I retain a lot of fondness for these tiny, cheap, severely-compromised machines. I just backed the ZX Spectrum Next kickstarter, for instance. But after I left university and got a job, I bought myself my first proper computer:…
Recording and visualising the 20k system calls it takes to "import seaborn"
Last time we counted CPU instructions, let’s look at syscalls now!
OpenBSD Router Guide
NOTE: Currently this guide only deals with IPv4 as most people still don't use IPv6 and many ISPs also still only use IPv4, but IPv6 is planned for a future update of the guide.
Isolating Xwayland in a VM
In my last post, Qubes-lite with KVM and Wayland, I described setting up a Qubes-inspired Linux system that runs applications in virtual machines. A …
The effect of switching to TCMalloc on RocksDB memory use
Memory allocator is an important part of the system, so choosing the right allocator for a workload can give huge benefits. Here is a story of how we decreased service memory usage by almost three times.
ReactOS Newsletter 103 – Late 2023 News
ReactOS is a free, opensource reimplementation of windows
Hidden Costs of Memory Allocation
It’s important to understand the cost of memory allocations, but this cost can be surprisingly tricky to measure. It seems reasonable to measure this cost by wrapping calls to new[] and delet…
The Tower of Weakenings: Memory Models for Everyone
In my previous article I looked at the ways that Rust could be better at pointers. Half of the problems were fundamental issues that affect basically every programming language that lets you mess with pointers directly, and the other half were rust-specific issues. My article also proposed two solutions: for the…
Compilers and IRs: LLVM IR, SPIR-V, and MLIR
Overall discussion on compilers and IRs (LLVM IR, SPIR-V, and MLIR): why they are in their current manner and how they would evolve