Closed gjaegy closed 6 years ago
Hi, I have heard the performance of the pause instruction is pretty bad on skylake processors (see https://aloiskraus.wordpress.com/2018/06/16/why-skylakex-cpus-are-sometimes-50-slower-how-intel-has-broken-existing-code/).
I haven't tested this myself however.
So, since ltalloc relies on that instruction, do you think it would make sense to use another primitive (for instance, critical sections on Windows) ?
What would be your first feeling ?
[edit] i realized critical sections might actually use that pause instruction in their implementation, so forget about that one :D
hey @gjaegy thanks for the feedback :)
Hi, I have heard the performance of the pause instruction is pretty bad on skylake processors (see https://aloiskraus.wordpress.com/2018/06/16/why-skylakex-cpus-are-sometimes-50-slower-how-intel-has-broken-existing-code/).
I haven't tested this myself however.
So, since ltalloc relies on that instruction, do you think it would make sense to use another primitive (for instance, critical sections on Windows) ?
What would be your first feeling ?