219 points · by randta · 9y ago · 196 comments
The battle between GPUs and CPUs in the datacenter is real, but I wouldn't count out regular CPUs yet. Even with GPU-ready frameworks like Tensorflow, Theano, and Pytorch, it still requires a fair amount of domain expertise to get good performance out of GPUs. These frameworks can automatically offload compute kernels to the GPU, but actually getting good performance still requires you to understand the memory model, what data to pin in GPU memory, how to use the limited GPU memory effectively, etc.
The new instruction sets that Intel have been adding (e.g. all of the recent vectorized FMA instructions) go a long way to making Intel CPUs competitive for a lot of this ASIC/GPU stuff out of the box for things like neural networks. Nvidia has been off to a really great start in this area, and they have carved out a very respectable lead, but I think it's premature to say that Intel (or AMD) are having an existential crisis.
You have to wonder why they started with inference and not the other way round. Perhaps it's the case that you train a model once, then use it for predictions many, many, many times, thus using more aggregate compute power. (I used to work at Google, but the above is based on public information and speculation alone.)
The paper does confirm that CPUs are closer to GPUs for smaller or latency-sensitive workloads than most people assumed. At least on 2015-vintage hardware, that is. And they're a lot less trouble to set up and provision.
At least from what I know of ASICs (which is admittedly pretty high-level), this direction is the natural way I'd expect it to go, because the inference problem is much closer in scale to the kind of problem ASICs are already widely used for and good at. Fast inference can be done with a chip of a size similar to what you see in existing ASICs, like specialized DSP chips. Speeding up training is a lot more speculative. You could try scaling up to massively powerful individual chips that can each replace an NVidia GPU (but with lower cost / lower power budget), or improve distributed training so you can effectively use a much larger number of much weaker customized chips. And there are more significant memory and memory-bandwidth issues with training, so it's less of the pure-compute type of problem that ASICs are more often clear wins for. All of which is probably possible with enough effort, but less straightforward, especially to end up with something that beats GPUs on relevant metrics.
I think that was the GP's point? The training is done on GPUs, the execution is done on ASICs, and neither step involves Intel. That's what alarms them. Dedicated hardware might help this, but that seems iffy to me. ML and neural networks are still a fast-evolving field, and instructions that might help today could be useless next year. ASICs can be thrown out and replaced, but instructions that Intel adds to its ISA will be there forever.
True, but for training, in near future, it is still going to be GPU, probably Nvidia GPU only, not too much Intel could do.
> requires a fair amount of domain expertise to get good performance out of GPUs
Rightfully so, but invisible to end user/programmer, if you ever use those frameworks and understand their abstraction level. This falls into the realm of few experienced engineers in Google/FAIR/Nvidia and other respected institutions, who understand their business well.
I think Intel is indeed having an existential crisis: they are losing the future, the future of computation is shifting, away from their comfort zone, and they yet figured out how to stop or catch up with the new trend. If CPU becomes a stock controller component, just like a WiFi-chip, how is Intel going to justify its hefty marketing valuation? It is about time for Intel to do some hard soul searching.
One style of training that would be a good fit for the current TPU architecture is some of the recent work on reinforcement learning without gradients:
As to whether the TPU can perform efficient training or whether it chokes like current FPGAs due to insufficient memory bandwidth is a different question. That would be my guess but I'd love to be proven wrong.
I only know of Nervana's ASIC that is promising to be used for training and Google hinted at it for future work. Does anyone know of other processor, ASIC or FPGA's that are built for training?
Will the same happen to other non-x86 groups? Who knows. But we also see that even Intel's previous "accelerator" divisions have moved focus to being "CPU-driven" as well (Xeon Phi), so we have that data point.
I also remember some of the articles from a decade ago that were sure Intel's "might" would help it succeed in the mobile market. I'm not entirely sure if it's as bad for Intel in the machine learning market, because right now there's pretty much only one competitor rather than many.
It's usually much easier to be second in a market than the 5th, as some customers would inevitably get some raw deals from the incumbent, and they'll want an alternative. But if the machine learning market starts becoming entrenched around GPUs, that second player may end-up being AMD, which I think will have decent alternatives to Nvidia's training and inference GPUs in a year or two (mainly for 2019 with 7nm Navi, though).
reminds Sun in 1998 and the onward years when SPARC was like North Korea border patrol in preventing any x86 penetration into Sun even though it was clear that x86 was the future.
You don't even have to look that far back. As recently as two years ago, I remember comments here proclaiming with certainty that Intel would crush ARM because they had finally broken through the power wall.
I think a lot of folks, Intel included, have a strong belief in the inevitability of x86 dominance. But ultimately most of the inherent value of x86 is compatibility with Windows software (and DOS before it). Take that away and a lot of the advantages disappear. (Not to downplay the impressive technical and process achievements Intel has made, of course...)
Intel acquired Digital's StrongARM unit as part of a settlement for a patent infringement suit.
Fifteen or so years ago I read someone mentioning that the ratio of processor state transitions per bit of program state was growing almost exponentially.
Anecdote: Starting in the early eighties I started using CAD programs. And they were painfully slow. Yet around 1995 suddenly they weren't 'slow'. That was huge. Since then improvements in processor speed and memory hasn't provided nearly as much functional improvement.
What I think is we're in a world were current processor designs are over kill of much of the programming tasks people need done. What people want is not more speed but better efficiency. That points towards using excess silicon to implement task specific coprocessors, not for more unneeded GPU performance gains.
This leaves Intel in a bad spot. Especially since everyone and their dog is loath to design in Intel parts if they can help it.
Intel has Xeon Phi, but what else are they doing? There is so much opportunity in new computing architectures but it seems like Intel has been taken by surprise. I hope this giant wakes up.
It is essentially what modern cores have with a their split caches, except those things are called "caches" because the architecture then has a lot of machinery for pretending to be a von Neumann Machine with a huge memory. This pretending is done because that's the kind of machine that software expects.
But the first unices ran on machines with memories only as big as a modern L1-cache. Moreover, networking and parallelism are everyday issues for software now. It will be interesting to see if software evolves to explicitly recognise that it is really running on a network of small machines + a hierarchy of big external storage devices, of which DRAM is just one.
The difference is of course that we should not see the whole cluster of cores as a Von Neumann machine, the memory bandwidth is just too low to drive multiple cores with some external memory, memory must be as close as possible to the cores themselves. Quote from wtallis lower in this sub-thread :
> You can't pretend that memory is all equidistant from the processor cores unless you want everything running equally slow.
If you are a large multi-national where your product pipeline is shallow due to competitors creation better products than your R&D.
I think the Xeon Phi is an example of something which fell flat.
And intel doesn't have these people. They don't want the embarrassment and are too entrenched in their own processes. The technology as of this year can compete or stomp intel into the ground. We can program ASICs to handle any task, just about as fast as it can handle the electron flow. The only real setback is the fact the instructions are not hard-coded in the actual physical logic. That's literally the only slow-down. Were it not for that translation layer right there, ASICs would come out on top, no problem. Specialization is the future. General purpose was good enough for 30 years, it's time to move on.
Is that like La Brea Tarpit? Just say ASIC.
An ASIC is an Application Specific Integrated Circuit. In particular, a GPU is not an ASIC. Saying Custom Application Specific Integrated Circuit Processor is doubly redundant.
https://en.wikipedia.org/wiki/Application-specific_integrate...
Where you're right is that Nirvana was a chip company founded for this ASIC and I think the term "custom" is misnomer. You could argue that Google isn't a chip company so theirs are custom.
It would be a shame if the bean counters got them into this with drawing back r&d and are now taking r&d away. The engineers are definitely not in control at Intel today, hard to quantify research projects and developer/engineer outreach to non engineers. These types of moves have been known to kill off companies.
We know fab sizing is going to stop being worth it. But bigger dies, with better heat dissipation, and processors that better fit today's use cases, all that should be within Intel's capabilities.
There are some pretty hard physical boundaries. Businesses write off their hardware in 3 or 5 years, it's rare to see a machine older than that. But there may come a time when a 10 year old computer is just as powerful as one you buy today. The replacement market is what's driving Intel's revenues for a very large part and if that should ever stop then it probably wouldn't be a great idea to hold a lot of intel stock.
Oh I wish. Oh I wish..
You mean like my 2012 laptop, upgraded to 16GB RAM, which is perfectly good at web browsing, Google docs and html/python/postgres dev ?
People didn't WANT to see it coming. The data that it broke were back at 65nm but very much at 40nm and 28nm. RAM hasn't scaled in years.
However, the history of technology is littered with the corpses of those who bet against Moore's Law. Combine this with the fact that your job basically depends upon Moore's Law continuing, and you have something similar to the Wall Street collapse. I can bet against it, but I lose my job if I'm wrong, and I lose my job if I'm right. Better to just close my eyes and cash my paycheck.
For consumer evidence simply look at embedded microcontrollers. Note that RAM and flash haven't been scaling every 18 months for a while.
Some of these will cause some pain in other areas like software development.
That said, there's absolutely no guarantee that there's a true CMOS 2.0 on the horizon that will provides anything like the approximately 3500X performance gains we've seen from CMOS process scaling. There are huge macro implications if computing basically stops getting faster/cheaper/smaller from year to year.
First of all, let's be more precise. In this context, what people mean by the "end of Moore's Law" is the slowdown and, soon, probable end of CMOS process scaling. The issue is that CMOS process scaling has been such an incredible engine for performance that just getting those kinds of performance increases in other ways isn't easy. I wrote a bit about this a year ago.
http://bitmason.blogspot.com/2016/01/beyond-general-purpose-...
To answer your question, people did see this coming. There were disagreements about how far down you could economically drive feature sizes so there has been debate about exact dates. But pretty much no one thought CMOS features could be made arbitrarily small.
Pretty much no one qualified, maybe. There are lots of laymen (including many True Believers in The Singularity) who operate under the impression that it's a fixed law of nature.
That's a fin of a modern transistor (Intel 22nm). The dots in the photo are atoms. It's fair to say that Moore's law is nearing an end or has already ended.
Still, it's not like the physical size of semiconductors is the problem. A CPU today is maybe 100mm^2 of silicon. 4U of rack space can easily hold tens of thousands of CPUs, if you can power them, cool them, and connect them up in a useful way.
EEs in the semiconductor industry have been talking about it for the past 20 years; they didn't know exactly when it would occur but they knew it was coming. It's only software developers who were blissfully unaware.
EDIT: The interesting thing about the end of Moore's Law from AMD's (and everybody who isn't Intel) perspective is that finally the playing field is moving closer to even. Before, Intel always had the most advanced fab processes because of the vast amounts of money they funneled into it, which meant that everybody else had to have a better architecture than Intel chips just to get equal performance. Now that Intel is losing that process advantage, it should become possible for everyone to compete purely on the basis of architecture again.
We're nowhere near the absolute limits imposed by the fundamentals of thermodynamics, quantum mechanics, etc. Those are relatively straightforward bounds to calculate but are completely useless for anything but extremely long-term projections.
What we wish we could compute is what the limits are on current manufacturing techniques and incremental advances from that. But we don't know precisely how many incremental improvements we have left to discover before we need to abandon silicon entirely.
[1]http://hopefullyintersting.blogspot.com/2017/04/the-coming-i...
Well, it is not as if we will just suddenly stop using CMOS, but the end of improvements is in sight:
https://en.wikipedia.org/wiki/5_nanometer
If we are willing to putter along with no process improvements whatsoever, then yes, we can keep using 5nm indefinitely. And no doubt there will be incremental improvements in performance and yield at that node.
But we can't, and won't stop there to continue to drive down the cost of computing. It is just the end of the road for CMOS lithography.
Abandon for what? In many series they hand-wave this away using words like "hyperspace substrate" or "dark matter" or "unobtanium." Do we have an idea of what we could use in reality?
What can happen is to make chips simpler in that less computation is spent in instruction decoding, tracking, scheduling and more is spent on actual execution.
Maybe AMD is putting a lot of financial pressure on them, and they have to put more funds in R&D?
To remain price competitive with AMD Ryzen, Intel's Gross margin will likely take a dive from the current 60% to below 50% over the next few years. The Data Center Group represent 30% of the Revenue, and my guess it represent 60%+ of the profits.
OpeX is increasing, R&D required for each node is increasing. They are not in Smartphone, they are not opening up their Fab. Basically their future looks pretty grim to me. They wont disappeared all of a sudden, they will likely have 3 to 5 years more time to figure it out.
But, again none of this has to do with Intel withdrawing from so many project. I cant believe saving money from these event / project are the motives.
Something like cancelling a developer's conference would totally fit this scenario.
Intel: 60b in revenue, of which over 50b is from processors.
AMD: 4b revenue. It's impossible tell what part of that is ATI and processors... since AMD mixes desktop cpus with ATI revenue; and mixes server cpus with embedded and soc revenue. So they're playing a bit of a game to hide their cpu sales. If we assume 1/2 is from cpus, that's 2B.
Does Intel really feel pressure to reduce their prices because of a competitor that sells (perhaps) 1/25th of their revenue?
I just built a new PC and put an i7 in it. The Ryzen 1800x is more expensive than an i7-7700k, while having worse performance.
Obviously AMD makes cheaper versions where that comparison doesn't hold.. but the advantage for AMD here isn't clear cut, and so there's no reason to believe there will be a mass migration to AMD.
Besides I've heard this kind of rhetoric about AMDs cpus before.. and yet I've never seen the sort of switch like you're describing. If it were true that everyone was switching to Ryzen CPUs, they would be sold out everywhere and AMD would be talking about how to scale up by an order of magnitude to meet demand.. none of that has happened.
AMD did a good job with Ryzen, and they'll probably post some great numbers next quarter... maybe they'll get to 5 or 6b over the next year... but Ryzen hasnt changed the selling proposition for AMD. It is still: in the low to mid end desktop processor market, AMD is cheaper and has similar performance.
I think you overstate success of Ryzen. It's only clearly better in price/performance ratio of you compare it to overpriced Intel's top monsters. There are other processors from Intel which are comparable to Ryzen, plus the question of multithreaded/singlethreaded performance, whichever you need more.
Also killing the IDF is not very developer / designer friendly. You're reducing the community vibe and life.
Networking was great too, and lots of old friends to meet.
I also don't care about servers. I'm not a dev-ops/admin person.
On my laptop/desktop, where I DO care, I don't see Intel going away anytime soon.
Even if we switched to some ARM devices, it would be a regression (if not for anything else, for having to run most Windows/MacOS stuff under some kind of Rosetta-like interpreter for many years).
Besides, as soon as ARM CPUs approach the limits of various manufacturing processes, they will face the same issues Intel does. Moore's law is not coming back.
What time is it?
The question was what time is it. Intel is an industry leading leader committed to developing customer solutions. We are not disclosing what time it is now. We may be making announcements related to time in the future.
This cost me a day. On the plus side of the ledger, I like Intel documentation, especially their Optimization Reference Manual. But I don't need to go to IDFs anymore and now I don't have to.
A show like IDF clearly makes less sense if you're increasingly unwilling to say much about future directions. It's also entirely possible that the projections for event sponsorships, etc. weren't looking to be where Intel wanted them to be.
So this will only change when either of a couple things happen. One is demand side: a killer application on the desktop which requires an FPGA comes along and drives demand. The other is supply side: the demand for CPU+FPGA is so great from Amazon+Microsoft+Google that chip manufacturers just supply it in desktops for 'nothing'.
An example of the demand side is game graphics. I don't need this but a lot of people do and then my UI graphics get better.
An example of the supply side is that I don't really need cryptographic grade random number seeds, RDSEED, but I get it for free because someone who buys a ton more than I do does need this.
I don't see this happening for 5-10 years.
For the desktop, though? Not for a while.
Intel came first with Itanium (June 2001: https://en.wikipedia.org/w/index.php?title=Itanium&oldid=775...), which clearly is a 64 bit CPU. The first x86-64 CPU by AMD got released in April 2003 (https://en.wikipedia.org/w/index.php?title=X86-64&oldid=7754...) and Intel's first x86-64 CPU came out June 2004 (https://en.wikipedia.org/w/index.php?title=X86-64&oldid=7754...).
https://arstechnica.com/information-technology/2017/03/amd-n...
Ryzen close the gap and offer better value for money.
Android as an OS surpassing this March everything else on web-usage speaks the same story in different words (http://www.wired.co.uk/article/android-overtakes-windows).