Scalability is a double edged sword...
[Posted July 17, 2002 by corbet]
| From: |
| Duncan Simpson <dps@io.stargate.co.uk> |
| To: |
| letters@lwn.net |
| Subject: |
| Scalabitiy is a double edged sword... |
| Date: |
| Thu, 11 Jul 2002 11:26:30 +0100 |
A unix kernel with very fine grained locking exists already. It is called
solaris and nobody is impressed with its performance on small systems. If you
have a 64+ processor Ultra Enterprise 10000, or whatever it's current
equivalent is, the fine grained locking is a big win. If you only have 3 or
fewer processors the locking costs more than the time saved by reduced lock
contention. At least one MPI implementation is also guilty of sacrificing
performance on small systems, like the systems the many people have access to,
at the altar of scalability.
I think it would be a mistake for Linux to follow the policy of sacrificing
performance on small systems just for scalability to vast numbers of processors,
which practically nobody using linux has. Scalability improvements that also
help small systems should be pursued instead, for example the O(1) scheduler.
If the lack of scalablity to vast numbers of processors is an issue for you
then you can presumably afford to buy solaris, unicos max, or whatever.
The spin lock deadlock issue is probably best resolved by a simple, well
maintained, list of spinlock in increasing or decreasing order. Deadlock is,
provably, avoided if you always take locks in the same order everywhere, which
should be moderately easy given such a list. I, perhaps forunately, am not in a
position to construct or maintain such a list. Victims^H^H^H^H^H^H^Hvolunteers
who are in a position to do so should probably file their application on the
linux kernel mailing list.
P.S. I do have some (paper) claims to knowledge of parallel systems. Just when
it was freshly minted parallel systems went out of fashion :-(
--
Duncan (-:
"software industry, the: unique industry where selling substandard goods is
legal and you can charge extra for fixing the problems."
(
Log in to post comments)