Linux implementation on PS3

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
Ace Pace
Hardware Lover
Posts: 8456
Joined: 2002-07-07 03:04am
Location: Wasting time instead of money
Contact:

Linux implementation on PS3

Post by Ace Pace »

Ars
Penguin Power on PS3? Probably.

5/16/2006 2:30:04 PM, by Jeremy Reimer


Ever since the announcement of the PlayStation 3's November release date, the Internet has been abuzz with discussion over the promise of Ken Kutaragi's brief mention of Linux. However, as Kutaragi has been known to make statements that were subsequently changed (for example, in 2005, he said that the hard drive for the PS3 would be optional) many people held off on assuming that their shiny new PS3 would come prepackaged with Penguin goodness.

Now, more recent comments at E3 by SCE network system development manager Izumi Kawanishi suggest that each new PS3 will likely come not only with Linux preinstalled, but also a compiler and a set of development tools. If this is true, the PS3 might become the system of choice for Linux enthusiasts and homebrew developers.

But how much of the PS3's architecture will be accessible under Linux? Certainly anything to do with Digital Rights Management (DRM) or playing burned copies of protected games will be locked out. It's also possible that Sony will reserve some of the more advanced graphics and sound features for the big-name PS3 game developers. However, this doesn't mean that Linux on the PS3 will be no different from running it on any generic PC or Macintosh. IBM has made sure of that:

"Unlike existing SMP systems or multicore implementations of other processors, on the Cell, only the general purpose PowerPC core is able to run a generic operating system, while the SPUs are specialized to run computational tasks. Porting Linux to run on Cell's PowerPC core is a relatively easy task because of the similarities to existing platforms like IBM pSeries or Apple Power Macintosh, but this does not give access to the enormous computing power of the SPUs.

Only the kernel can directly communicate with an SPU and therefore needs to abstract the hardware interface into system calls or device drivers. The most important functions of the user interface include loading a program binary into an SPU, transferring memory between an SPU program and a Linux userspace application, and synchronizing the execution."

The IBM port of Linux allows developers to access the Synergistic Processing Units (SPU, sometimes referred to as SPEs in Sony documentation) using their unique instruction set, by creating a virtual file system that can be accessed by userland applications. From a shell prompt, you can even mount the SPU and do a directory listing with ls, with various elements (the small amount of local memory, registers, and the "mailbox" where messages are sent to and from the SPU) appearing as files. These files can then be accessed with standard Unix system calls. This file system is known as "SPUFS" or "Synergistic Processing Unit File System."

The documentation states that the Cell port of Linux was written by a joint team of Sony, IBM, and Toshiba employees based in Austin, Texas, and that the team hopes to include their work in the upcoming 2.6.13 Linux kernel release. Will we see Beowulf clusters of PS3s next? Only the Penguins know for sure.
Brotherhood of the Bear | HAB | Mess | SDnet archivist |
Post Reply