11

I'm learning numeric computation and have a Core i5, 4gb laptop which I find to be slow for some tasks.

I've read that a single PS3 has the processing power of 30 clustered PCs.

Basically I'm thinking of purchasing a PS and installing Linux on it and then running my python programs on it.

I've read that Sony has disabled the ability to install Linux with firmware update 3.21

Is there a way to run Linux on recent versions of PS? Is there a hack around the new limitation? If I went out and bought one would I be able to run Linux or not?

4
  • I don't think your python programs will run any faster on a ps3. To accomplish this you need to program directly to the help cores on the cell processor which is much like a GPU.
    – SlimJim
    Dec 26, 2012 at 18:19
  • You should look into GPGPU programming like CUDA or openCL (exists wrappers for Python) instead in my opinion. But note two things: it's kinda hard for most algorithms to run fast on these type of hardware and that not all algorithms can be effectively be converted neither. Serial stuff should stay in the CPU (i5 or what ever) and massively parallel stuff can be sent to the GPU.
    – SlimJim
    Dec 26, 2012 at 18:32
  • 3
    this stackpost is kinda relevant (more on the actual programming not installing linux) stackoverflow.com/questions/1355827/…
    – SlimJim
    Dec 26, 2012 at 18:45
  • 1
    @SlimJim Yeah. I've also found that it has 256M of RAM out of which a good portion would get taken by Linux. I like your suggestion on CUDA, would check it out. Dec 27, 2012 at 6:32

2 Answers 2

9

As matters currently stand, there is no "safe" way to use Linux on a PS3 you buy brand new from a retail store. Since the firmware will not provide you low level access to the hypervisor, it's impossible to install Linux without first replacing the firmware. The console will only install firmware with Sony's cryptographic signature, and you are not allowed to downgrade the firmware; it is not possible to overwrite the firmware unless you can build your own and forge Sony's signing key.

To directly answer your questions:

  • Are there ways? Yes, because Sony is not very good at keeping their signing keys a secret. You will need to do research on custom firmware. Using such firmware would void your warranty, and you risk having your console banned from the Playstation Network if you connect to it and Sony detects that you're not running an official firmware release. Even if a firmware is "safe" one day, it might not be the next.

  • Would you be able to run Linux on one that you bought? "Maybe." Do your research, and pay very close attention to any commentary about whether or not the hacks work with newer hardware revisions. Do not buy unless you're sure that the hack you intend to use will work with that console, proceeding recklessly could permanently damage your purchase.

Instructions that are more specific than this are unlikely to be posted as answers, because nobody wants Sony breathing down their neck.

1
  • 1
    Yeah. As it turns out a GPU of equivalent price as a PS3 can offer 1400 processing cores at 900MHz each. So PS cluster seems to be a thing of the past. Jan 6, 2013 at 5:52
3

I agree with others. Performance on a single PS3 isn't going to be close to what you would get with a white box (DIY) PC w/ any recent NVIDIA GPU plus CUDA for those cases where you need it.

Neither the PS3 running Linux or your own x64 box will be massively cool just because. CUDA helps with numerical computations, so if you are a heavy user of software like R, Octave, etc. you will enjoy significant improvement (I have heard that R runs 7x faster w/ CUDA based libraries substituted for the default).

Don't expect to suddenly see Firefox or libreOffice running at the speed of thought. Software performance is not just based on the number of cores or specialized processors--it has to be written to take advantage of them. I.e. just sticking a fast NVIDIA card in your PC isn't going to make R crunch your numbers faster. It is only because there are CUDA specific libraries (e.g. BLAS) which you can use when you build R--likely from source, unless someone has already created an RPM (or DEB, etc.) with these libraries. Not too hard, but you need to have the software which knows how to leverage the hardware to see the specialized increase in performance.

That said, I am pretty pissed that Sony dicked PS3 owners over by blocking this functionality. While it wouldn't be a super computer, being able to get double duty out of my PS3 would have been cool. As mentioned, the limited RAM makes desktop use less than optimal.

PS3s, when they are properly networked, have been used to create some amazing super computer clusters using standard Linux clustering software. When this is done the limited RAM isn't a problem, and they are usually custom programmed for things the platform is really good at, like figuring out protein folding.

If you are just interested in the power of distributed computing, there is a BOINC client for PS3 which you can install from PlayStation Network where you can donate your PS3's power, typically to some academic group working on difficult bioinformatics or statistical problems (e.g. data mining the human genome). You just run it like a screen saver when you are not playing.

It is pretty clear that Sony doesn't give a rats ass for either the use of the PS3 as nodes in clusters or letting users use it as a Linux PC. If they had a soul (or brain?) they would figure out how to let users expand the RAM and charge them to download and install some custom Linux w/ a decent repo of cool things prebuilt. Not a huge market, but you can certainly see the advantage of having something which could be used for school work and gaming, esp. if you are in charge of marketing to kids who have to come up with good arguments why they need a PS4. ;)

1
  • Out of curiosity, LibreOffice does implement OpenCL for many spreadsheet calculations, and it's orders of magnitude (I tested 80%+ on my system) faster than the native implementation.
    – Marc.2377
    Dec 31, 2016 at 18:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .