Re: [PATCH] MIPS: Optimize spinlocks.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 24, 2010 at 04:53:36PM +0100, Ralf Baechle wrote:

> And in your benchmarking patch you wrote:
> 
> > 		  spin_single	spin_multi
> > base		  106885	247941
> > spinlock_patch  75194		219465
> 
> I did some benchmarking on an IP27 (180MHz, 2 CPU, needs LL/SC workaround):
> 
> 		spin_single	spin_multi
> base		229341		3505690
> spinlock_patch	177847		3615326
> 
> So about 22% speedup for spin_single but 3% slowdown for spin_multi.
> 
> Disabling the R10k LL/SC workaround btw. gives another 23% speedup for
> spin_single and marginal 0.3% for spin_multi; the latter may well be
> statistical noise.

And I forgot the most important - patch queued for 2.6.34.

Thanks!

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux