大多数购买PS3的人是玩家,而不是天文学家,但是天文物理学家Gaurav Khanna也购买了8台PS3,他买PS3游戏机的目的不是为了玩游戏,而是为了组装一台超级计算机
Khanna目前已经将8台PS3游戏机连接在一起,据他表示,其处理能力相当于拥有400个节点超级计算机.他所建立的这个超级计算机主要用于Massachusetts大学的物理系的一项研究:模拟较大规模的黑洞效应.
该项目的内容是,估算两个黑洞在互相碰撞之后产生的引力波,以及引力波的“涟漪”对以光速运行的物体产生的影响等等.这些都是爱因斯坦在广义相对论上提出的预言,但是从未被直接观测到.为了进行研究,所有的PS3均运行于Linux操作系统,通过IBM的Cell芯片进行复杂的高端运算.
据Khanna表示,整体而言,PS3的性能高于普通计算机,一台PS3约相当于具有25个节点的IBM蓝色基因计算机.
8台PS3没有经过任何保护,仅仅通过廉价的千兆交换机互相连接.
Suffering from its exorbitant price point and a dearth of titles, Sony's PlayStation 3 isn't exactly the most popular gaming platform on the block. But while the console flounders in the commercial space, the PS3 may be finding a new calling in the realm of science and research.
Right now, a cluster of eight interlinked PS3s is busy solving a celestial mystery involving gravitational waves and what happens when a super-massive black hole, about a million times the mass of our own sun, swallows up a star.
As the architect of this research, Dr. Gaurav Khanna is employing his so-called "gravity grid" of PS3s to help measure these theoretical gravity waves -- ripples in space-time that travel at the speed of light -- that Einstein's Theory of Relativity predicted would emerge when such an event takes place.
It turns out that the PS3 is ideal for doing precisely the kind of heavy computational lifting Khanna requires for his project, and the fact that it's a relatively open platform makes programming scientific applications feasible.
"The interest in the PS3 really was for two main reasons," explains Khanna, an assistant professor at the University of Massachusetts, Dartmouth who specializes in computational astrophysics. "One of those is that Sony did this remarkable thing of ** the PS3 an open platform, so you can in fact run Linux on it and it doesn't control what you do."
He also says that the console's Cell processor, co-developed by Sony, IBM and Toshiba, can deliver massive amounts of power, comparable even to that of a supercomputer -- if you know how to optimize code and have a few extra consoles lying around that you can string together.
"The PS3/Linux combination offers a very attractive cost-performance solution whether the PS3s are distributed (like Sony and Stanford's Folding@home initiative) or clustered together (like Khanna's), says Sony's senior development manager of research and development, Noam Rimon.
According to Rimon, the Cell processor was designed as a parallel processing device, so he's not all that surprised the research community has embraced it. "It has a general purpose processor, as well as eight additional processing cores, each of which has two processing pipelines and can process multiple numbers, all at the same time," Rimon says.
This is precisely what Khanna needed. Prior to obtaining his PS3s, Khanna relied on grants from the National Science Foundation (NSF) to use various supercomputing sites spread across the United States "Typically I'd use a couple hundred processors -- going up to 500 -- to do these same types of things."
However, each of those supercomputer runs cost Khanna as much as $5,000 in grant money. Eight 60 GB PS3s would cost just $3,200, by contrast, but Khanna figured he would have a hard time convincing the NSF to give him a grant to buy game consoles, even if the overall price tag was lower. So after tweaking his code this past summer so that it could take advantage of the Cell's unique architecture, Khanna set about petitioning Sony for some help in the form of free PS3s.
"Once I was able to get to the point that I had this kind of performance from a single PS3, I think that's when Sony started paying attention," Khanna says of his optimized code.
Khanna says that his gravity grid has been up and running for a little over a month now and that, crudely speaking, his eight consoles are equal to about 200 of the supercomputing nodes he used to rely on.
"Basically, it's almost like a replacement," he says. "I don't have to use that supercomputer anymore, which is a good thing."
"For the same amount of money -- well, I didn't pay for it, but even if you look into the amount of funding that would go into buying something like eight PS3s -- for the same amount of money I can do these runs indefinitely."
The point of the simulations Khanna and his team at UMass are running on the cluster is to see if gravitational waves, which have been postulated for almost 100 years but have never been observed, are strong enough that we could actually observe them one day. Indeed, with NASA and other agencies building some very big gravitational wave observatories with the sensitivity to be able to detect these waves, Khanna's sees his work as complementary to such endeavors.
Khanna expects to publish the results of his research in the next few months. So while PS3 owners continue to wait for a fuller range of PS3 titles and low prices, at least they'll have some reading material to pass the time.
模拟地球算个毛,看我们模拟黑洞
[ 本帖最后由 月神侠 于 2008-2-29 15:57 编辑 ] |