http://www.economist.com/news/scien...st-computer-thanks-video-games-deeper-thought
SPEED fanatics that they are, computer nerds like to check the website of Top500, a collaboration between German and American computer scientists that keeps tabs on which of the worlds supercomputers is the fastest. On November 12th the website released its latest list, and unveiled a new champion.
Titan has an unusual design, too. All supercomputers are composed of thousands of processor chips harnessed together. Often, these are derivatives of the central processing units, or CPUs, that sit at the heart of modern, desktop machines. But Titan derives the majority of its oomphmore than 90%from technology originally developed for the video-game industry. Half of its 37,376 processors are ordinary CPUs. But the other half are graphics processing units, or GPUs. These are specialised devices designed to cope with modern video games, which are some of the most demanding applications any home machine is ever likely to run. Chinas TianHe-1 machine, a previous Top500 champion, was built in the same way, as are 60 other machines in the Top500 list.
Parallel worlds
Broadly speaking, a CPUwhich will be expected to run everything from spreadsheets to voice-recognition software to encoded videohas to be a generalist, competent at every sort of mathematical task but excelling at nothing. A GPU, by contrast, is designed to excel at one thing only: manipulating huge numbers of the triangles out of which all modern computer graphics are made.
Several years ago researchers at Nvidia and AMD (the two companies that produce most of the worlds high-performance GPUs) realised that many scientific problems which demand huge amounts of computing powereverything from climate simulations and modelling combustion in an engine to seismic analysis for the oil-and-gas industrycould be translated into a form that was digestible by their GPUs. Soon after, supercomputer builders such as Cray (which put Titan together using Nvidias GPUs) began to take notice.
Borrowing from the games industry in this way brings several benefits. One big one is efficiency. Titan is an upgrade of Oak Ridges existing Jaguar machine. Upgrading Jaguar with ordinary CPUs would have meant building a computer that sucked around 30MW of electricity when running flat outenough juice to power a small town. Because GPUs are so good at their specialised tasks, Titan can achieve its blistering performance while sipping a (relatively) modest 8.2MW.
It makes sense financially, too, says Sumit Gupta, head of supercomputing at Nvidia. The chips that the firm sells to supercomputer-makers are almost identical to those it sells to gamers. As Dr Gupta observes, The history of high-performance computing is littered with the bodies of firms that tried to build products just for the supercomputing market. By itself, its just too small a niche.
Not all problems are susceptible to being chopped up in such a way, though (hiring a dozen barbers, to take another analogy, is unlikely to speed up a haircut significantly). The requirement to translate a problem into the sort of mathematics that a GPU can digest adds another barrier. Dr Gupta gives the example of the models used to simulate how a car will react in a crash as one problem that has so far resisted what the industry calls the massively parallel approach. Clever programmers can sometimes find a way around such issues: ray-tracing, a high-quality, mathematically intense approach to computer graphics that aims to simulate individual light rays, was, ironically, long thought to be the kind of problem that a modern GPU would struggle with. Yet at a graphics conference in 2008, a group of researchers from Nvidia announced that they had, nevertheless, found a way to do it.