[lkml]   [1999]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: andrea buffer code (2.2.9-C.gz)
Andrea wrote:
> >number of spinlocks and choose which to use with some reductive function?
> I think that if you want to SMP scale better it worth to
> pay _only_ with memory wastage and _not_ with wasted CPU cycles.
This is not always true: as Ingo pointed out, more memory
means more cache misses, and that costs CPU cycles as well.
The sometimes the reductive function could be as simple as

The advantage of a reductive function is that - if you have a suitable
parameter - you can achieve parallel execution even without a memory
structure (e.g. cache lookup's: instead of one fully associated
cache with one lock you implement an array of 4(16,...)-way set
associate caches with one lock for each cache)

> My latest code is placed here. masp0008 feel free to give it a review.

I've downloaded it yesterday, but I don't know when I'll have enough
time for a review.


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

 \ /
  Last update: 2005-03-22 13:51    [W:0.042 / U:2.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site