On 7/11/24 01:18, Leonardo Bras wrote:
What are your thoughts on above results? Anything you would suggest changing?
Can you run the test with a conditional on "!tick_nohz_full_cpu(vcpu->cpu)"?If your hunch is correct that nohz-full CPUs already avoid invoke_rcu_core() you might get the best of both worlds.
tick_nohz_full_cpu() is very fast when there is no nohz-full CPU, because then it shortcuts on context_tracking_enabled() (which is just a static key).
Paolo