Slashdot Log In
The Quest for More Processing Power
Posted by
CmdrTaco
on Wed Feb 09, 2005 08:30 AM
from the but-i-want-it-now dept.
from the but-i-want-it-now dept.
Hack Jandy writes "AnandTech has a very thorough, but not overly technical, article detailing CPU scaling over the last decade or so. The author goes into specific details on how CPUs have overcome limitations of die size, instruction size and power to design the next generation of chips. Part I, published today, talks specifically about the limitations of multiple cores and multiple threads on processors."
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
There can only be one (Score:5, Funny)
Re:There can only be one (Score:4, Interesting)
Parent
Re:There can only be one (Score:5, Interesting)
Parent
We dont need more power (Score:3, Interesting)
Re:We dont need more power (Score:4, Informative)
I remember the old motorola 68000 range having 16 32bit regs for general coding, and one of the prime benefits of the ppc was the vastly greater registry capacity.
I stopped coding assembler when I moved to x86 - what a horrible cludge of a stack stack biased platform it is.
Parent
Re:We dont need more registers (Score:5, Interesting)
What kind of algorithm are you imagining would benefit from 256 fields of non-vectorized data?
Of course, those registers could be used in larger things for everything that's worthy of a local variable, but as soon as you run into a stack operation you'll either only want to push a subset of the registers to the stack, or face a harder blow of memory access times by making each function call a 2048 byte write to memory.
Explicit encoding of parallelism, hints to branch prediction, and similar stuff, seems far more appropriate.
Again, few single functions in an imperative language have 256 separate variables, without involving arrays of data. Unless the register file is addressable by index from another register (basically turning it into a very small addressed memory, which is whta you try to avoid with registers), you have little use for 256 of them. Take for example a trivial string iteration algorithm, most of those registers would be completely useless. The same holds true for common graph algorithms.
Parent
Re:We dont need more registers (Score:4, Informative)
It does. Take a look at x86-64. The 98% reason 64 bit x86 code is faster when you are using less than 4 gigs of RAM is the fact it has double the registers. With the same number of registers, 64 bit code normally slows things down measurably because the pointer size doubled. The instruction word length doesn't change.
256 registers goes a bit far unless half of them are predication bits.
Parent
Re:We dont need more registers (Score:4, Interesting)
The Itanium has a huge file with, IIRC, even more registers in total. They are not inter-changeable, though, but the (almost) only point in that would be to keep the total number of registers down, while being flexible for most types of code. As I think that it's generally actually easier to make them separate for different execution units, that's not very interesting. Also, note that the Itanium currently has a 2-cycle (again, IIRC) register access time! They tried to be visionary, adding a huge register set, in addition to some parallelism encoding and other things I mentioned in the parent, but they traded (what seems to be) far too much to get it.
A huge (defined as MMIX-like, not AMD64-like)register file might be great, but you need selective register pushing to stack to get away with it, unless you or the compiler are performing very aggressive inlining. What's easier, if you're doing assembler -- calling a function and put a local on the stack or writing a huge fricking implementation of your main algorithm, taking great care to use all different registers in each function inlining?
Parent
Re:We dont need more power (Score:3, Interesting)
As with dual CPU motherboards, you go to dual, when you cant get anything else out of the single...
10GHz CPU, lol. Why not release one that requires a 100GHz clock? If its only processing every 30th cycle, whats the big deal? Oversimplification I know, but that is the essence of Intels laughable strategy. Consumer ignorance vs. product innovation. Well take the ignorance. How long can it las
Re:We dont need more power (Score:5, Funny)
TERRORIST!
Parent
More power will lead to more bloat.. (Score:5, Insightful)
Pun (Score:3, Funny)
Re:More power will lead to more bloat.. (Score:5, Interesting)
(Here's a simple cost analysis: We can pay this guy $100k/year to do hand-optimized tweaks on this code that then becomes a liability for future maintanence if that coder dies, quits, or whatever. Or, we could add another stick of $100 RAM, and buy a new processor next year for a fraction of his cost and get a similar performance bump... The math doesn't add up...)
Parent
Re:More power will lead to more bloat.. (Score:5, Insightful)
Getting back to your point, there is still a market for hand-coders. With most consumer electronics, I'm talking kid's toys, alarm clocks, talking dolls, you try to shave off every penny you can in manufacturing costs. Plus, once you start a product line, you run it out for years.
In that case, of high volume and low cost, it is easy to absorb the cost of a $100,000 hand coder. Especially if he can save you $0.10 a unit on lines where volume is measured in the millions of units.
Besides, most of the "hand coders" I know work more in the $36,000 dollar range.
Parent
Re:More power will lead to more bloat.. (Score:3, Interesting)
Speed is rarely an issue t
Quick answer (Score:5, Interesting)
Its only new software thats sucking up all the extra processing power.
Remember back with really sluggish 33mhz 486s etc (and a lot lower) and thinking of the ultimate computer being a whole 50mhz.
Well now you got a computer thats over 10 times faster with practically infinate capacity.
Fire up that old operating system and run you original software, you will be in heaven!
x86 centric (Score:3, Insightful)
Unbloated URL (Score:5, Informative)
Same article without 90% of the ad-bloat.
Eliminate Bottlenecks (Score:5, Interesting)
Re:Eliminate Bottlenecks (Score:4, Informative)
L1 & L2 Cache: Almost instantanious, Picoosecond resonse time
L3 and higher Cache: A bit slower, but still pretty quick, Nano resonse time
Main memmory: Go do something else while waiting for this, Nano/Microsecond resonse time
Hard Drive: Go to lunch and come back, Milisecond resonse time
Parent
Limitations... (Score:3, Funny)
Ummm, my home machine has a 400MHz processor running Suse. I'm thinking of upgrading, as I have every 6 months for 5 years, but I just keep waiting for the "next" best thing rather than upgrading now.
There are mobile phones more powerful than my home PC, but it does the job.
The wonder of these future boxes is that we will STILL be able to write code that makes them run slow. Roll on Longhorn I say!
Re:Limitations... (Score:4, Interesting)
Well, each version of Windows seems to bring about new hardware requirements. Most people buy a new Windows version with new hardware. It is more than just a little coincidence. I think Microsoft is well aware that most people aren't able to install Windows themselves, and that making them believe you'll need a faster box is a good idea to keep them upgrading to the "next" level, both on software and hardware.
Kjella
Parent
Not particularly good for Windows (Score:4, Interesting)
Most OS's these days are not monolithic. Even MS is really a collection of smaller pieces, but not nearly to the degreee of Linux.
Linux just scales better than Windows on multiple CPUs. I have no doubt that MS will work indian programers day and night to catch up, but this is a game they are definetly playing catch up in.
Linux, in some versions is scalling past 64 CPUs now (oh the benefits of forked kernel development!), which should factor nicely when time comes that AMD ('cause may not be around then) is pushing ships with dozens if not hundreds of micro-cores.
Last I checked (and I may be out of date on this) Windows started bogging on 4 CPUs. And never mind it's assanine global message loop.
I fully realize Joe User cares more about percieved performance than real performance (long live xorg!), and explaining Linux's advanced scaling architecture will not win over the desktop, but it will have a signifigant impact on technical decision markets; from servers to embeded devices (HUGE market for these clustered chips).
just a thought (Score:4, Funny)
Re:Myth of the single threaded desktop (Score:4, Interesting)
1) Programming for two or more processors is more work, and prone to more subtle and strange errors.
2) Most people only have one processor.
You can draw the obvious conclusions.
Fact #1 can be dealt with by proper techniquie, training, and tools.
Fact #2 is going to change due to the inability of AMD, Intel to deliver over 4GHz.
Parent