The curious case of nanosleep vs. hr_sleep
This weekend, I finally got around reading a bookmarked paper that proposes an improved nanosleep:
In the following I document a few notes.
The Papers¶
At page 4 I'm asking …
This weekend, I finally got around reading a bookmarked paper that proposes an improved nanosleep:
In the following I document a few notes.
At page 4 I'm asking …
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 …