Physics professor Gaurav Khanna has built a PS3 cluster supercomputer to help his studies into “gravitational radiation emitted by very massive black holes as they engulf stars”. Most of the 8 PS3’s in his cluster were donated by Sony but he hopes to expand this to 16. He was surprised how easy it was to install Linux and get them working in parallel. My cluster is running code as fast as running 200 processors on a supercomputer,” Khanna said. However he noted a limitation with the PS3’s 512M of RAM that was not expandable.
quote:
“One cool thing about it is that Sony made PS3 an open platform,” he said. “That opened the possibility of using it for things beyond gaming.”The second advantage is the Cell processor developed by Sony, IBM and Toshiba, which has “great potential in raw computing power,” he said. Each PS3 processor is equal to about 25 processors in a traditional supercomputer.
Khanna began working on the project about a year ago.
“I was lucky that my wife was able to get one for me last Christmas,” when they were in short supply, he said. When he got it he was like — well, like a kid on Christmas morning. “I was so excited about it. As soon as I got it I started taking it apart and putting Linux on it.”
This did not thrill his children, who wanted to play games on it, but “now they have their own.”
And Khanna has eight of his own, most of them donated by Sony. He has received permission to spend department grant money on additional consoles and has six more on order. “My goal is to have 16.”
Khanna’s in-house system will not eliminate his need for time on more traditional supercomputers. Khanna last year was awarded a National Science Foundation grant for 30,000 hours of time on its TeraGrid computing infrastructure for his work on black holes and gravitational waves. However, using the time on a supercomputer means putting your job in queue and waiting until the necessary processors are available to run it. That can mean waiting days for a job that might take a few hours to run. “It’s very painful,” he said.
“The infrastructure hasn’t kept up with demand,” he said. “There is never enough computing time. So it’s not that I won’t be using my supercomputer time any more,” but he will not be as dependent on it.
Loading Linux onto the consoles and hooking them together to work in parallel was easier than he expected, Khanna said.
“I thought it was going to take some hacking, but it was fairly straightforward,” he said. “Sony tells you how to do it.” The tricky part was rewriting his code to take advantage of the new Cell processor. “I had to do a lot of learning. That took several months of work.”
Cell processors are good for supercomputing, and Los Alamos National Laboratory will be using them in a new peta-scale supercomputer it expects to have working next year. But inexpensive clusters of PS3s will not do away with the need for true supercomputers, Khanna said.
The fundamental limitation of the gaming console is its relatively limited memory, with only 512M of RAM per console, “and it’s not expandable,” he said.
“My problems are not heavy on memory usage,” he said. “It’s just heavy on raw calculation.” But if a job requires lots of memory, the PlayStation 3 probably won’t do the trick.
News Source: GcN