Australia's CSIRO To Launch CPU-GPU Supercomputer
bennyboy64 contributes this excerpt from CRN Australia: "The CSIRO will this week launch a new supercomputer which uses a cluster of GPUs [pictures] to gain a processing capacity that competes with supercomputers over twice its size.
The supercomputer is one of the world's first to combine traditional CPUs with the more powerful GPUs.
It features 100 Intel Xeon CPU chips and 50 Tesla GPU chips, connected to an 80 Terabyte Hitachi Data Systems network attached storage unit. CSIRO science applications have already seen 10-100x speedups on NVIDIA GPUs."
Can someone explain exactly what the benefits/drawbacks of using GPUs for processing?
GPUs are massively parallel handling hundreds of cores and tens of thousands of threads. The drawbacks are they have limited instruction sets and don't support a lot of the arbitrary jumping, memory loading, etc. that CPUs do.
It would also be nice if someone could give a quick run down of what sort of applications GPUs are good at.
Anything that is massively parallelisable and processing intensive. The usual bottle neck with GPU programming in normal computers is the overhead of loading from RAM to GPU-RAM. Remove this bottleneck in a custom system and you can have enormous speed ups in parallel applications once you compile the code down to GPU instructions.
Greater detail I will leave to the experts...
Okay, that's not quite true, most tasks benefit from piddling about on the CPU, but demanding tasks would be better off running on something faster and more specialised. The barrier to that is that it's harder to write GPGPU code.
No kidding!!! What do you say at this point?
You already have the technology in your box. The difference is, in the past couple of years, GPUs that were once used exclusively to speed up rendering have become more and more generalized on the hardware and instruction set level to the point where they are a very attractive method of speeding up things other than rendering. Physics simulations, such as fluid dynamics, are much faster on a GPU than a CPU. I currently run the GPU client of Folding@Home and it outperforms the CPU client by orders of magnitude.
The hardware has been around for quite some time, but now we're realizing all the things a GPU can do besides run pretty games faster.
1) Your problem is one that is more or less infinitely parallel in nature. Their method of operation is a whole bunch of parallel pathways, as such your problem needs to be one that can be broken down in to very small parts that can execute in parallel. A single GPU these days can have hundreds of parallel shaders (the GTX 285 has 240 for example).
2) Your problem needs to be fairly linear, not a whole lot of branching. Modern GPUs can handle branching, but they take a heavy penalty doing it. They are designed for processing data streams where you just crunch numbers, not a lot of if-then kind of logic. So if your problem should be fairly linear to run well.
3) Your problem needs to be solvable using single precision floating point math. This is changing, new GPUs are getting double precision capability and better integer handling, but almost all of the ones on the market now are only fast with 32-bit FP. So your problem needs to use that kind of math.
4) Your problem needs to be able to be broken down in to pieces that can fit in the memory on a GPU board. This varies, it is typically 512MB-1GB for consumer boards and as much as 4GB for Teslas. Regardless, your problem needs to fit in there for the most part. The memory on a GPU is very fast, 100GB/sec or more of bandwidth for high end ones. The communication back to the system via PCIe is an order of magnitude slower usually. So while you certainly can move data to main memory and to disk, it needs to be done sparingly. For the most part, you need to be cranking on stuff that is in the GPU's memory.
Now, the more your problem meets those criteria, the better a candidate it is for acceleration by GPUs. If your problem is fairly small, very parallel, very linear and all single precision, well you will see absolutely massive gains over a CPU. It can be 100x or so. These are indeed the kind of gains you see in computer graphics, which is not surprising given that's what GPUs are made for. If your problem is very single threaded, has tons of branching, requires hundreds of gigs of data and such, well then you might find offloading to a GPU slower than trying it on a CPU. The system might spend more time just getting the data moved around than doing any real work.
The good news is, there's an awful lot of problems that nicely meet the criteria for running on GPUs. They may not be perfectly ideal, but they still run plenty fast. After all, if a GPU is ideally 100x a CPU, and your code can only use it to 10% efficiency, well hell you are still doing 10x what you did on a CPU.
So what kind of things are like this? Well graphics would be the most obvious one. That's where the design comes from. You do math on lots of matrices of 32-bit numbers. This doesn't just apply to consumer game graphics though, material shaders in professional 3D programs work the same way. Indeed, you'll find those can be accelerated with GPUs. Audio is another area that is a real good candidate. Most audio processing is the same kind of thing. You have large streams of numbers representing amplitude samples. You need to do various simple math functions on them to add reverb or compress the dynamics or whatever. I don't know of any audio processing that uses GPUs, but they'd do well for it. Protein folding is another great candidate. Folding@Home runs WAY faster on GPUs than CPUs.
At this point, GPGPU stuff is still really in its infancy. We should start to see more and more of it as more people these days have GPUs that are useful for GPGPU apps (pretty much DX10 or better hardware, nVidia 8000 or higher and ATi 3000 or higher). Also there is starting to be better APIs out for it. nVidia's CUDA is popular, but proprietary to their cards. MS has introduced GPGPU support in DirectX, and OpenCL has come out and is being supported. As such, you should see more apps slowly start to be developed.
GPUs certainly aren't good at everything, I mean if they were, well then we'd just make CPUs like GPUs and call it good. However there is a large set of problems they are better than the CPU at solving.
You lost me there, your car analogy contains a train, which threw me off track.
I hate printers.
The reason that most apps run on the CPU is that it's easier to write for, not that most apps actually run better on it for some fundimental reason.
Well that's not exactly true. Of course frameworks for writing programs that utilize the gpu are still on their infancy, but that doesn't mean that all problems are suited for the gpu. Problems that are best solved by the gpu are problems that can be parallelised. I am not exactly sure what do you mean when you say most apps, but if you are talking about apps typicaly found on a desktop that simply isn't true.
The fundamental reason is that gpus are really good at doing the same thing on different sets of data. For example you can send an array of 1000 ints and tell the gpu to calculate and return their square or something similar. The reason for this is that when gpus are used for graphics they usually have to do the same operation on all the pixels on the screen, and they evolved to be good at that. I cannot see how this is useful for desktop applications, especially if you consider the massive cost of accessing data on main memory from the gpu.
It may be 7 digits, but at least it's a semiprime