How a 40-Line Fix Eliminated a 400x Performance Gap

39 points by lalitm


adrien

Bad title, good article. Don't go for this kind of title if you have good content: that's really underselling.

For people who may not click: the topic is about some clever and undocumented extra API through the POSIX clock_* functions on Linux. By using free bits in the clock identifier values, Linux encodes extra information for the API so that you can request other data and make the kernel do less work (and therefore give you a reply faster).

deivid

What libc are they using? I'm surprised to even see a syscall for clock_gettime, it should be a function call to __vdso_clock_gettime, no?

neil_f

Any idea how to make those interactive SVGs for free? I see a lot of paid tools