Re: Improve spinlock performance by moving work to one core

From: Waiman Long
Date: Fri Nov 06 2015 - 12:38:52 EST

On 11/05/2015 11:28 PM, Ling Ma wrote:

Thanks for your suggestion.
We will look for real scenario to test, and could you please introduce
some benchmarks on spinlock ?


The kernel has been well optimized for most common workloads that spinlock contention is usually not a performance bottleneck. There are still corner cases where there is heavy spinlock contention.

I used a spinlock loop microbenchmark like what you are doing as well as AIM7 for application level testing.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at