4 ms·
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 b
by Someone 6y ago
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.
- jstanley 6y ago> 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.
- xxs 6y agoThe microbenchmark part is part of the article, no idea why the downvotes here.
- Dah00n 6y agoBecause the benchmark isn't doing what GP days it does.
- chalst 6y agoFrom 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.
- deleted 6y ago[deleted]