On Thu, 1 Nov 2007, Gregory Haskins wrote:
>
> I had observed this phenomenon on some 8-ways here as well, but I didn't
> have the bandwidth to code something up. Thumbs up!
Can you test under interesting loads?
We're interested in:
- is the unfairness fix really noticeable (or does it just move the
problem somewhere else, and there is no real change in behaviour)
- what is the performance impact?
In particular, unfair spinlocks have the potential to perform much better.
Not so much because the spinlock itself acts all that differently, but
because being unfair also fundmanetally tends to keep the data structures
that are *protected* by the spinlock on just one CPU.
So "unfair" is obviously always bad. Except when it isn't. I'd personally
like to merge the ticket spinlocks, but I'd really like to have people who
have real loads where they matter actually also do some performance
testing. Because I do think it will potentially be a performance downer.
(I obviously hope it won't be, but..)
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]