Jump to content
HWBOT Community Forums

Recommended Posts

Posted (edited)

The estimating speed part was pretty slow, 10 min is "normal". I made some changes to the code a few days ago so that it just reads the speed from a OS file, it's pretty much instant now. The benchmark itself gives you regular progress updates, but slows down near the end. But yeah it took me +2 hr with the cpu OCed to 1 GHz :). Crazy if you see that the same work can be done in 30 seconds on a modern pc.

 

What OS/Java version do you have? I have Raspbian hard float ABI installed.

Java version:

dennis@raspberrypi ~ $ java -version

java version "1.7.0_07"

OpenJDK Runtime Environment (IcedTea7 2.3.2) (7u7-2.3.2a-1+rpi1)

OpenJDK Zero VM (build 22.0-b10, mixed mode)

 

http://hwbot.org/submission/2350613_devroush_hwbotprime_arm1176_s_2h_39min_19sec_5ms

Edited by Devroush
Posted (edited)

Trying the new benchbot and new Java, just started the bench.

As I type the above I just got the first update!

Looks like it's working.

Further updates as events warrant.

 

Thanks guys!

 

 

EDIT:

http://hwbot.org/submission/2353479_

 

I like this benchmark, giving a link to use for people SSHing into CLI is awesome.

Edited by Bobnova
  • 3 months later...
Posted

looking forward to explore the Raspberry-pi in different ways than I'm doing now, but it will have to wait until I get back to Belgium in august. richba5tard, who wrote/writes the code of this benchmark anyway? I've been having the same idea for quite a long time but never came to finish something. Maybe I'll try to write/add openCl functionality, some Java wrapper libraries have appeared but I'm not sure if they allow the same functionality as native OpenCL C/C++ applications. Until now I didn't found OpenCL to be as platform independent as they claim it to be. Code compiled for one system seems to act different on other machines, even though the openCL program is only compiled at runtime.

Posted

offtopic, but: what kind of IDE are you using? In Netbeans I can't properly import the source files without manually creating each file and copying its content.

Posted

install a java virtual machine:

 

sudo apt-get update

sudo apt-get instal openjdk-7-jre

 

download the compiled zip, unzip it, and open the directory with a terminal, then execute the jar file:

 

java -jar filename.jar

Posted

ah, hmm, DHCP right? With Raspbian I got it more or less working without much hassle.

 

Me, I'm fine, thanks for asking :) I'm still in Portugal for a few more weeks, enjoying the sun, beaches, good food and nice parties off course ;) Since I started my school carrier again I haven't been fooling around with hardware anymore. Well... not in a way of making it faster... But one never looses the thrill of playing around with hardware right :) It's nice to see you're still doing this hwbot thing, I never expected OC to stay so successful, muito fixe ;)

Posted

hah, yeah, I could already imagine that would not be a smart thing to do, adding that to the git :)

Well I managed to get it working in netbeans, I don't know exactly where to put the C codes but the program functions without so it seems, I only have the .so file in the same directory as the jar file I build through netbeans.

 

Anyway, looking at the code gives me more questions than was hoping for. I don't really understand for example why you use the return statements in the constructor like you do in the following line of code:

 

@Override
   public Benchmark instantiateBenchmark() {
       BenchmarkConfiguration configuration = new BenchmarkConfiguration();
       configuration.setValue(PrimeBenchmark.TIME_SPAN, TimeUnit.SECONDS.toMillis(10));
       configuration.setValue(PrimeBenchmark.SILENT, false);
       return new PrimeBenchmark(configuration, super.availableProcessors, super.progressBar);
   }

 

 

The ThreadFactory is also something I haven't read upon yet, until now I was always manually creating threads and executing them through calling the start() method. Hmmm, inspiring :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...