The Future of Computing
An anonymous reader writes "Penn State computer science professor Max Fomitchev explains that computing has evolved in a spiral pattern from a centralized model to a distributed model that retains some aspects of centralized computing. Single-task PC operating systems (OSes) evolved into multitasking OSes to make the most of increasing CPU power, and the introduction of the graphical user interface at the same time reduced CPU performance and fueled demands for even more efficiencies. "The role of CPU performance is definitely waning, and if a radical new technology fails to materialize quickly we will be compelled to write more efficient code for power consumption costs and reasons," Fomitchev writes. Slow, bloated software entails higher costs in terms of both direct and indirect power consumption, and the author reasons that code optimization will likely involve the replacement of blade server racks with microblade server racks where every microblade executes a dedicated task and thus eats up less power. The collective number of microblades should also far outnumber initial "macro" blades. Fully isolating software components should enhance the system's robustness thanks to the potential of real-time component hot-swap or upgrade and the total removal of software installation, implementation, and patch conflicts. The likelihood of this happening is reliant on the factor of energy costs, which directly feeds into the factor of code optimization efficiency."
Every time I think software can't get any more bloated, I wait a year or two and it doubles in size again.
GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
>> we will be compelled to write more efficient code
Spoken like a true Microsoft programmer.
The Foley and van Dam classic, "Fundamentals of Interactive Computer Graphics" cites Myer and Sutherland's description of adding more intelligence to graphics processors until they become the equivalent of CPUs, at which point they repeatedly find themselves slower than mass-production CPUs and are turned back into simple devices driven by fast external CPUs once more (;-))
--dave
davecb@spamcop.net
Pardon my ignorance, but all the blades are going to have a lot of extra software running too (OS / App manager / network communication etc). So isn't there a chance of the micro-blades end up eating even more power (Specially if the software is still bloated)? Splitting the code in different blades is definitely not really code optimization anyway.
That's why I don't buy those Python/Ruby/Java productivity boasts. I'd rather do it efficiently in C/C++ right now than wait for a faster CPU that may never come.
Writing small is difficult and I don't think it can be done in a group. Most software which is small is written bij less then 3 programmers.
Compare: "Easy writing makes hard reading." -- Ernest Hemingway
What I cannot create, I do not understand
...is strongly dependent on the interfaces it presents to the world. The pressure is to push more and more functions onto a chip so that external interfaces can be eliminated. This is the victory of the general purpose computer. While in the short term it is always possible to build faster, more speciallised hardware to perform a function, eventually a faster CPU chip which implements the same facility in software becomes cheaper and generic.
Gaming continues to be highly demanding on computer systems.
While I believe processors are currently heavily outmuscleing the exchange rate of primary memory, and that this gap should be closed, I don't believe the era of power expansion is over.
While chipmakers are becomming increasingly environmentally conscious by increasing performance per watt, they are also abandoning hype based "clock speed" development and actually focusing on reducing cycles per instruction, raising instructions per second, optimizing pipelining, and increasing responsiveness.
While this might not be seen as power growth it is, but it's similar to the difference between overall horsepower vs torque on a vehicle.
in the previous decade, most vehicles had decent horsepower but low torque, now the carmakers focus on less fuel hungry but higher torque engines, but as a side effect they also get more HP per liter.
VLC FOR MAC IS DYING! IF YOU DEVELOP, PLEASE SAVE IT!!
or.. and this has to be said.. a "series of tubes?"
VLC FOR MAC IS DYING! IF YOU DEVELOP, PLEASE SAVE IT!!
> "The role of CPU performance is definitely waning, and if a radical new technology fails to materialize quickly we will be compelled to write more efficient code for power consumption costs and reasons," Fomitchev writes.
Yes, he is right. The problem is that http://en.wikipedia.org/wiki/Unix_philosophy has been very long forgotten from the manifacturers of OS for 90% of the PC's around the world. I do not want to start a flamewar, just consider how many features of the OS you really need? It is arguably a GOOD practice to put everything you can in an OS, but for cryin' out loud, at least there must be a way to remove the unneeded parts.
> Slow, bloated software entails higher costs in terms of both direct and indirect power consumption, and the author reasons that code optimization will likely involve the replacement of blade server racks with microblade server racks where every microblade executes a dedicated task and thus eats up less power.
That looks like where we're heading now. Jut consider the 1000 projects for distributed computing out there, and the whole virtualization thingy. But this by itself cannot mean that much less power. If you want less consumption, you have to rely on technology AND on more optimized software.
> The collective number of microblades should also far outnumber initial "macro" blades. Fully isolating software components should enhance the system's robustness thanks to the potential of real-time component hot-swap or upgrade and the total removal of software installation, implementation, and patch conflicts.
YES!!! That's what we're talking about, man! We need separate modules to do the work. Just for info, try googling for Microkernels vs. Monolithic. Tannenbaum has good arguments in favor of microkernels in terms of stability. I don't want to take either side, but it is true that whilst a mere 99.999% of the cars don't suffer from reboots of their onboard computers, our desctops still do. Remember the old joke: "You've moved your mouse. Please restart your computer for the changes to take efect."
> The likelihood of this happening is reliant on the factor of energy costs, which directly feeds into the factor of code optimization efficiency."
Maybe we should move into higher-programming languages that take most of the optimizations hidden from the programmer. For example I have recently read a review that optimizied Java code is VERY near native C performance. Even if that is not true, C is not adapded enough for the various SSE, SIMD and so on optimizations in the modern PCs. Yes, GCC makes all kinds of optimizations, but maybe WE need to move into higher-order logic for our programs?
You'd have what... $0.50?
ok, my BS meter is pegged
while the article has lots of intersting data and information, he doesn't know much about predicting the future
He's right on focusing on memory (vs. CPU) - this is where the major bottlenecks are
He completely missed the boat though on virtualization. Everywhere I look there are different examples of virtualization that are driving development choices - and he doesn't mention it once.
he also is missing the tide happening right now with metaprogramming and generators
also missing the boat on the trends in language flexibility that are turning application development into "domain specific language" development. we're at a tipping point over the current 2-3 year horizon where developers are building out the language AT THE SAME time they write their application. coupled with effective reuse strategy, this will revolutionize how quickly and how functional all our apps can be.
it sucks that tesxt is static, there are a huge number of ideas here, and I have not expressed them as well as I'd like, but alas, once submitted, the text can't change, and it presents the same info to each reader, no matter what their context or background is. I like talking to people much better.
It's the algorithm. It's straight complexity theory; C/C++ is not a panacea. If you write a 2^n or n! algorithm in C, it'll have its doors blown off by an nlogn algorithm in Python.
Either you have constant time, nlogn, or even n algorithms that run OK (CPUs today are fast enough that even for a decent sized n, an n algorithm will be executed shortly). However, no computer humans can ever build that works on the same principles as your desktop computer will be able to do 2^n, n^n, or n! algortihms in any kind of useful time for large n.
You might be able to get results in a lesser amount of time if you can parallelize the work (see the Distributed.net cracking efforts on factoring into large prime numbers), but if you can't make the algorithm work in parallel or otherwise reduce it to a polynomial time algorithm, even a supercomputer from the year 50,000 won't solve these problems for large n.
Don't focus on the language; that's the wrong area to look.
--
Internet Explorer (n): Another bug -- that is, a feature that can't be turned off -- in Windows.
Here's a link to the single page print version of the article.
Today we have bulky boxen and entire rooms filled with computers. We have computers taking up space in our offices and homes. We dedicate energy to just keeping them cool. Tommorow (ok, so not really tommorow, probably in the semi-distant future) we won't really see computers at all in terms of our daily routines. They'll be so miniaturized as to become transparent. The only aspect of computing we'll see in our daily lives will be the user interfaces. The actual computers themselves will be invisible, or at least barely noticeable. They'll become mere extensions of our every whim, capable of reinforcing and improving our minds in a seamless fashion. That, I believe, is the future of computing.
Take for example Google. What happens when you can query a search into google without actually interfacing with an external device like a laptop with a wireless internet connection? Or into Wikipedia? You'll be able to answer questions within seconds of being asked. Maybe less. This is a bigger change than you might think. Where does this leave conventional schooling, for example?
To me, it's exciting. And I wish it were here already.
TLF
I do not respond to cowards. Especially anonymous ones.
Seriously, WHY DOES it take a 4ghz computer to play solitaire?
Translucent 3D! Just like real cards.
KFG
Seriously, WHY DOES it take a 4ghz computer to play solitaire?
;-)
Even Vista only requires a ~800 MHz computer for the "Vista Capable" label, stupid!
Seriously, if all you want to do is to play Solitaire, why don't you grab MS-DOS and a DOS version of Solitaire and check the minimum requirements? Chances are it'll end up at something less than 8 MHz at least. But it won't be that suitable for many other modern world scenarios than playing Solitaire, you won't get something too much better than monochrome text graphics, you won't get good multitasking, no networking support or advanced features like domains or preparations for remote desktop, no USB support, and so on ad infinitum... And there you have a hint in why this looks the way you're wondering.
Modern operating systems are to be prepared for *everything* (or so the philosophy goes at least), and the users should basically just be able to press "Next" in the install process, and then it should be able to do everything listed on a website that don't know the user at all, but still have that big shiny list of stuff advertising what it can do. Guess what happens in the OS design process and how much is installed, and how high the requirements become?
Of course, minimalist freaks that still needs to use Microsoft software can take a look at Windows CE for embedded devices, or the upcoming "Windows Fundamentals for Legacy PCs" for something XP-like that has already been shown to only need 64 MB RAM in a review.
Beware: In C++, your friends can see your privates!
Column 1: n. Column 2: 2^n. Colunm 3: n * log n. Column 4: n * log n + 100.
1 2 0 100
2 4 0.602059991327962 100.602059991328
3 8 1.43136376415899 101.431363764159
4 16 2.40823996531185 102.408239965312
5 32 3.49485002168009 103.49485002168
6 64 4.66890750230186 104.668907502302
7 128 5.9156862800998 105.9156862801
As you can see, for n less than 7, n * log n + 100 (which assumes our language is 100 times slower to run our n*log(n) algorithm vs. our 2^n language), the boundary exists at 6. If our language is only 50 times slower, the boundary is 5.
How much slower would a language have to be (in units) for that n to be not incredibly small; say you have AI for an RTS where you want 20 units on screen? Well, if we scale up our little speadsheet table, we see that 2^20 is 1.0x10^6 larger than 20 * log(20). This leads us to the conclusion that if we are writing AI for a game (such as Warcraft) where we want 20 units on screen, and we have a choice between C with a 2^n decision algorithm, or an interpreted language with an n*log n decision algorithm, the interpreted language would have to be 1048550.0 units slower -- or, 52428.0 units of time slower per iteration of the algorithm to be equally effective (and it'd have to have an overhead of greater than 52,428 units/iteration to be LESS effective!).
The order of the algorithm is the dominant factor in time performance of input to output. Compilers are not little god boxes, and will not fix broken algorithms. Even a very large per-iteration overhead (which doesn't exist, since interpretted languages will use caches, P-code, or even decent JIT techniques) isn't enough to sink the performance of them.
--
Internet Explorer (n): Another bug -- that is, a feature that can't be turned off -- in Windows.
Garry Williams
Where's the *journal* in Dr. Dobbs Journal? It has editors but apparently no one actually edits? I can forgive the lack of "the" articles in the article from I assume a Russian writer, but not the dozens of basic errors.
... CPUs execute"
Discreet elements were gradually replaced with integrated circuits
"Discrete elements"
Intel's new "Woodcrest" server chip as only 14
"Woodcrest server chip has only 14"
speculative threading in the vane of to Intel's Mitosis.
new manufacturing technology in the vane of IBM's
in the vane of Sun's UltraSparc
"in the vein of..."!
although it's new Efficieon CPU
"Its" here is not a contraction of "it is" or "it has", so no apostrophe, also garbled name "Efficeon"
the cores itself would become more simple and less-deeply pipelined (kind of like UltraSparc T1 is doing already).
The cores themselves would become simpler and less-deeply pipelined (similar to the UltraSparc T1)
while other cores might be deprived of such capacity
He means "capability"
unless a way of frequency increases is found that does not result in the market increase in power consumption
"Unless a way to increase frequency is found that does not result in a marked increase in power consumption"
instead are likely to seem them in niece markets
"see them in niche markets"
Code efficiency is at all time low and potentially hide at least a order of magnitude performance boost
"Code efficiency is at an all-time low and potentially hides at least an order-of-magnitude performance boost"
the role of CPU is likely to diminish with time living little reason for further clock-speed improvement
"leaving little reason..." !!
extremely bloated code that out GHz-rated CPUs execute
"that ouR
there is amble room for software optimization
"ample room" !
Quite another alternative to VLIW that is already sprouting profusely
WTF?
Crap editing makes text difficult to read, so people won't read carefully, leading to superficial scanning and the decline of RTFA.
=S
Multitasking is for getting the most our of your computer (whether it's fast or slow) but pays off most rewardingly when it's slow. If processors and I/O were infinitely fast, people wouldn't give a damn about multitasking, because they would never be waiting for their computer to complete a task. It's when you have to wait for something that you most enjoy multitasking; it lets you use your machine for doing something else instead of twiddling your thumbs staring at the progress indicator.
Let's say you want to render a graphics scene, download a file, and edit a text document. An MSDOS user would do those things serially, sadly knowing that:
And this was true whether it was a 4.7 MHz XT or a 100 MHz 486. "Extra power" had nothing to do with it. Indeed, the 486 user probably lamented MSDOS' lack of multitasking less (not more, as the author suggests) because the rendering would be so much faster.
Meanwhile, the 7 MHz Amiga user, despite the seemingly "wimpiness" of his machine (HA!), did all three operations in parallel. His CPU stayed at 100% utilization, his serial port downloaded as fast as it could, and his text editor easily kept up with his typing. The Amiga user gets the most out of his machine. Not because the Amiga is fast, but because multitasking mitigates slowness.
It's the mere desire to get the most work done, that led to multitasking on personal computers. It wasn't the "extra power" that did it. It just seemed that way to the x86 users (and probably only the x86 users) because the slow chips (8086) just happened to have very poor support for multitasking compared to the fast chips (80386). So multitasking appears to correlate with speed. But for the x86ers, it was really a question of CPU features, rather than performance.
The crux of the author's error is this: "We had extra power and we wanted to do something with it." He has forgotten that "we wanted to do something with it" whether or not we had "extra power."
As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.