lkml.org 
[lkml]   [2015]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Improve spinlock performance by moving work to one core
On 11/05/2015 11:28 PM, Ling Ma wrote:
> Longman
>
> Thanks for your suggestion.
> We will look for real scenario to test, and could you please introduce
> some benchmarks on spinlock ?
>
> Regards
> Ling
>
>

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.

Cheers,
Longman




\
 
 \ /
  Last update: 2015-11-06 19:01    [W:0.772 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site