LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-13-2009, 07:02 PM   #1
flouran
Member
 
Registered: Aug 2008
Distribution: Ubuntu Hardy Heron 8.04 LTS
Posts: 77

Rep: Reputation: 16
Talking Porting Genering C Applications (MLucas) onto the PS3


Hi guys,
I was wondering how I could port generic C applications, such as MLucas (which is a program similar to Prime95 and MPrime but is intended for non-x86 processors), onto the PS3. I was thinking of installing Yellow Dog Linux on the PS3 and then going from there. Do you know of any guides or have any experience with this sort of thing? I have created a thread on the GIMPS forum site and it is located at: http://www.mersenneforum.org/showthr...ight=GIMPS+PS3.

Thanks,
Flouran

P.S. If you have any questions regarding the Great Internet Mersenne Prime Search (GIMPS) goto: http://www.mersenne.org/ for more information.

Last edited by flouran; 01-13-2009 at 07:36 PM.
 
Old 01-14-2009, 12:33 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
You would need to clarify what you mean by "port".

If you are just trying to compile some software to run on the PS3, then that is no problem (assuming the code is portable enough to run on PowerPC, and all dependencies are met).

But to actually get it to utilize the PS3's Cell architecture, you are talking about a massive amount of work. You couldn't even call it a port, you would have to basically start from scratch and design the software from the ground up to be aware of the Cell's SPU coprocessors.

The fact of the matter is, when running Linux, the PS3 is just a relatively average PowerPC machine. Linux runs in it's own VM on the PS3, and applications are only aware of the Cell's primary PPC CPU. Sony provides a library that you can use to make Linux applications aware of the SPU's, but you still need to write software around it; it isn't just a matter of linking generic programs to this library and have them suddenly become super-powered.

So in other words, if you can get MLucas compiled and running on the PS3, it is only going to run as fast as a basic single-core machine could run it. You wouldn't be getting anything near the theoretical power of the system, and would be better of putting together a basic dual-core machine for ~$150 than wasting a PS3's time running this software (you could watch a Blu-Ray on it...or something).
 
  


Reply

Tags
cell, linux, port, ps3



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Porting Applications to Linux for System z LXer Syndicated Linux News 1 06-05-2008 03:54 AM
LXer: Helpful Hints for Porting Fortran Applications LXer Syndicated Linux News 0 08-31-2006 05:21 AM
Porting Solaris applications to Linux gracy_fg Programming 2 02-14-2006 11:58 PM
porting applications from suse to redhat mehtabhi Linux - Distributions 1 01-21-2003 11:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration