Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I can’t find where the 4% number comes from, but I expect that it comes from a micro benchmark that does little more than futex calls. Reason: if it is from a benchmark that represents real-world use, real-world use must spend at least 4% of its time in futex calls. If that were the case, somebody would have seen that, and work would have been spent on this.

So no, this won’t give you 4% in general.



From the lkml post, it's neither from a real-world case nor from an especially constructed futex benchmark, but from an existing kernel benchmark where it was thought it would be interesting to see how it performed with the new call.


> If that were the case, somebody would have seen that, and work would have been spent on this.

I would think that the linked patch is good evidence that work is being spent on this.


The microbenchmark part is part of the article, no idea why the downvotes here.


Because the benchmark isn't doing what GP days it does.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: