future CPUs
Posted Aug 24, 2007 21:04 UTC (Fri) by
landley (subscriber, #6789)
In reply to:
future CPUs by Cato
Parent article:
Linus Torvalds talks future of Linux (apc)
> The average Windows PC needs at least one core for 'admin' - running
> antivirus, content-based firewall, anti-spyware, and general overhead.
> This leaves the other core(s) to do real work.
Someone else pointed out this kind of background task causes problems
when it's I/O intensive rather than CPU, but I'll grant the point. I
have a dual core laptop right now.
The assumption I was challenging is that "scaling beyond 8 cores" is
likely to be remotely important to anybody in our lifetimes. SMP was
available back in 1982 (Anybody remember MP/M, the multiprocessing sequel
to CP/M?). OS/2 3.0 did SMP just fine in 1992. This is not something
new, and predictions of huge demand for it aren't new either. What's
always prevent it from becoming interesting is that programming to take
advantage of it is the difficulty to reward ratio in programming for it.
(I have spent two weeks trying to track down a race condition in
multithreaded OS/2 code interacting with the multithreaded desktop
through a third party library. There's a reason I don't bother with
threads anymore.)
> Linux is not as bad but there's still some overhead, e.g. Beagle type
> file indexing, etc.
Mono is a bad idea, gnome is a bad idea, beagle is mono plus gnome. Not
going there.
But again, "some processes are horribly inefficiently written resource
hogs" doesn't quite translate to "systems will be able to keep more than
8 processors busy real soon now".
> And now that the web is becoming far more video based, and video is
> moving to HDTV ultimately as bandwidth improves (e.g. serving video
> within the home), even Joe Average will have far more reason to tie up
> multiple cores.
Video exercises the 3D accelerator, not the processor.
> The real answer is that programmers will need to learn how to write
> threaded code even for tasks that are most obviously done sequentially.
Woah, Deja Vu. (That statement sounds exactly like Team OS/2, circa
1992...)
Programmers don't "need" to do anything. Sturgeon's law applies to the
thundering horde of ex-MCSE types out there, and the bottom 98% will not
be able to debug a multi-threaded race condition in my lifetime. They're
writing visual basic, cut-and-pasting javascript, and they think C++ is
better than C due to the ability to declare things private from their
co-workers.
Sure, the solution isn't to make hardware that does things people want it
to do, the solution is to force all the people to change to take
advantage of the hardware.
I'm not holding my breath.
(
Log in to post comments)