Le 18/06/2018 à 14:29, m...@netbsd.org a écrit :
joerg called it stupid and said we should use monitor, he's probably
right. new arm also has a similar thing.
The thing is, there are several SPINLOCK_BACKOFF()s that we just can't
replace by monitor. For example because we want to measure the
On Mon, 18 Jun 2018, m...@netbsd.org wrote:
For anyone interested in performance tuning..
https://aloiskraus.wordpress.com/2018/06/16/why-skylakex-cpus-are-sometimes-50-slower-how-intel-has-broken-existing-code/
tl;dr pause in newer skylakes is a lot.
We call this internally x86_pause and do