Forum: PS3 Linux Discussion - The PS3 Linux Discussion forum contains all the information you are looking for on using Linux on the PS3.


The above video goes away if you are a member and logged in, so log in now!




 
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!

 


User Tag List

Thread: [request] java benchmark on ps3 linux?
  

Results 1 to 9 of 9
  1. #1 [request] java benchmark on ps3 linux? 
    nickblame's Avatar
    nickblame is offline Member
    Join Date
    Jul 2008
    Posts
    73
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    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...
    Reply With Quote  

  2. #2  
    Redblade20XX's Avatar
    Redblade20XX is offline Existenial Thinker
    Join Date
    Jan 2011
    Location
    Outer Haven
    Posts
    139
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    7
    Likes Received
    12
    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 ....
    Meaning does not reside in the mathematical symbols. It resides in the cloud of thought enveloping these symbols. It is conveyed in words; these assign meaning to the symbols. -Marvin Chester

    Everything in the future is a wave, everything in the past is a particle. -Lawrence Bragg
    Reply With Quote  

  3. #3  
    nickblame's Avatar
    nickblame is offline Member
    Join Date
    Jul 2008
    Posts
    73
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    Quote Originally Posted by Redblade20XX View Post
    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 ....
    if you care enough to help debbuging, I could try to send you a modified version to pass this error (other errors might show up though)

    oh and did it get the available cores correctly?? linux sees ps3 as dualcore? (if yes then I guess it is not worth it)
    Reply With Quote  

  4. #4  
    Redblade20XX's Avatar
    Redblade20XX is offline Existenial Thinker
    Join Date
    Jan 2011
    Location
    Outer Haven
    Posts
    139
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    7
    Likes Received
    12
    Quote Originally Posted by nickblame View Post
    if you care enough to help debbuging, I could try to send you a modified version to pass this error (other errors might show up though)

    oh and did it get the available cores correctly?? linux sees ps3 as dualcore? (if yes then I guess it is not worth it)
    If you send it, I will use it for debugging. Idk why the ps3 only sees dual cores because during the install phase, I selected all 7 cores but it didn't acknowledge them.
    Meaning does not reside in the mathematical symbols. It resides in the cloud of thought enveloping these symbols. It is conveyed in words; these assign meaning to the symbols. -Marvin Chester

    Everything in the future is a wave, everything in the past is a particle. -Lawrence Bragg
    Reply With Quote  

  5. #5  
    nickblame's Avatar
    nickblame is offline Member
    Join Date
    Jul 2008
    Posts
    73
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    hit it again bro it should get past that Number Format Exception
    Reply With Quote  

  6. #6  
    dukhia's Avatar
    dukhia is offline Member
    Join Date
    Jan 2011
    Posts
    99
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    3
    Likes Received
    2
    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.
    lol at those ignorant n00bs who think that all the PS3 hackers are cheaters

    I dont buy a high end device unless it has been hacked in some way

    PS3 Slim 500GB - 3.72 || PSP Slim - 6.60 PRO-B9

    PSN ID: dhakkanbaaz

    Rocking in Uncharted 2 MP
    Reply With Quote  

  7. #7  
    nickblame's Avatar
    nickblame is offline Member
    Join Date
    Jul 2008
    Posts
    73
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    I'm not coding for the PS3, the benchmark is for JavaSE compatible devices. Since there's a way to run it in PS3 it would be interesting to see the results.
    Though gah your right it won't be anywhere near the true cpu power of ps3. bummer.
    Reply With Quote  

  8. #8  
    Redblade20XX's Avatar
    Redblade20XX is offline Existenial Thinker
    Join Date
    Jan 2011
    Location
    Outer Haven
    Posts
    139
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    7
    Likes Received
    12
    Quote Originally Posted by nickblame View Post
    hit it again bro it should get past that Number Format Exception
    Sorry for the late reply! Was away from my ps3. Ran the jar again and those errors from the first one was gone but it just said "Running...." for 15 minutes so I guess the script jammed somewhere....

    -Red
    Meaning does not reside in the mathematical symbols. It resides in the cloud of thought enveloping these symbols. It is conveyed in words; these assign meaning to the symbols. -Marvin Chester

    Everything in the future is a wave, everything in the past is a particle. -Lawrence Bragg
    Reply With Quote  

  9. #9  
    nickblame's Avatar
    nickblame is offline Member
    Join Date
    Jul 2008
    Posts
    73
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    not really. if it something was wrong you would have seen it pop up in the console. it will most probably need ages to complete as dual core and totaly unoptimized.. its ok forget it
    Reply With Quote  

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