is there a dude that has linux installed on ps3 any distro with java? to try out this: Whetstone based Multicore CPU Benchmark via JNLP please? just out of curiosity ... if it is running...
|
|
|
|
Would you like to get all the new info from
PSX-Scene in your email each day?
Want to learn more about the team keeping you up to date with the latest scene news?
Read about them now! Check out our Developer bios, too! | ||
|
|
is there a dude that has linux installed on ps3 any distro with java? to try out this: Whetstone based Multicore CPU Benchmark via JNLP please? just out of curiosity ... if it is running...
Hostname: User_PS3
Java version: 1.6.0_18 (jvm:14.0-b16) arch: ppc
OS: Linux ver: 2.6.39-g2a10ebc
number of cores detected:2
CPU model: -
CPU default clock: -
Exception in thread "main" java.lang.NumberFormatException: For input string: "SonyPS3"
at java.lang.NumberFormatException.forInputString(Num berFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:481)
at java.lang.Integer.parseInt(Integer.java:514)
at cpubench.CPU.getModel(CPU.java:151)
at cpubench.CPU.getCpuInfo(CPU.java:21)
at cpubench.MainCli.cliBench(MainCli.java:51)
at cpubench.Main.main(Main.java:17)
^^ That was the output of the jar. Guess it didn't work ....
The PS3 has a single multithreaded core giving you two cores, the other "7 cores" are SPU's which are not counted as processor cores and cannot be used by Java or Linux unless applications are coded for it. Linux will only report the two cores since it doesn't know what to do with the SPU's.
Unfortunately, Java programs cannot use the SPU's because there are no libraries for it. You'll have to try with C/C++. Google for guides on how to program for PS3 OtherOS.
Also, my advice is not to use Java to code for the PS3 since Java uses a lot of memory and the PS3 lacks in it.



| « Previous Thread | Next Thread » |