Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 4,390 posts.

Systems & Performance
Any year
4033

On the Costs of Syscalls (2021)

It's well known that syscalls are expensive. And that software mitigations against CPU bugs (such as Meltdown) even have made them more expensive. But how expensive are they really? To begin to answer this question I wrote a small micro-benchmark in order to measure the minimal costs of a syscall …