Jump to content
HWBOT Community Forums

[beta] HWBOT Prime - x86 / ARM / Windows / Linux / Mac bench


Recommended Posts

Currently in alpha stage, but working pretty well on a wide variety of platforms. Same bench can be used to test your brand new i7, as your ARM based NAS, as your linux server, as your android phone, etc etc.

 

The goal of the bench is twofold:

- to serve as an example on how to use the HWBOT Data API and write your own benchmark

- to provide a cross platform benchmark so we can compare and compete on linux, mac, phones, tablets, etc.

 

To make this possible, the benchmark was written in java. While not the most sexiest of languages, it does run on many platforms.

 

Features:

- secure (encrypted data files)

- save functionality

- command line supported for headless systems

- processor detection on all platforms

- screenshot

 

To be implemented:

- hashing of data file for checksum

- more robust hw detection

 

The source code:

https://github.com/frederikcolardyn/benchbot

Includes everything to build hwbotprime, but the binary will not be able to communicate with the HWBOT server as the security module is private.

 

Example submissions:

http://hwbot.org/submission/2354252_richba5tard_hwbotprime_core_i7_3615qm_29sec_566ms (macbook pro)

http://hwbot.org/submission/2353620_richba5tard_hwbotprime_arm926ej_s_35min_1sec_716ms (Netgear ReadyNAS MS2000 ARM based)

http://hwbot.org/submission/2353479_ (raspberry pi)

 

Binary (v.0.3.1):

https://s3-eu-west-1.amazonaws.com/hwbotdownloads/hwbotprime-0.3.1.zip

 

Latest Android beta (29/03)

- V1.02 APK: http://downloads.hwbot.org/downloads/benchmarks/org.hwbot.prime-102.apk

 

gDaaViN.jpghBMLDqY.jpg

Edited by Massman
Link to post
Share on other sites
  • 3 months later...
  • Replies 214
  • Created
  • Last Reply

Top Posters In This Topic

New build (0.6.4):

- proper hardware detection with C library compiled for linux/windows/macosx

- score as primes calculated per second, benchmark run always takes ± 22 sec

 

Tested on a wide variety of platforms, works both in bash console as with a UI.

 

Only one requirement: your system must have a java runtime 6 or newer.

 

http://downloads.hwbot.org/hwbotprime.jar

 

Instructions:

- using file browser: just doubleclick jar

- using console: java -jar hwbotprime.jar

Link to post
Share on other sites

HWBOT Prime 0.6.6 reaches beta stage! Tests are looking good on all platforms. Fire up your raspberry pi and start overclocking! :D

 

Download:

http://downloads.hwbot.org/hwbotprime.jar

 

Instructions:

1) install java jdk 6 or newer if not installed yet

2) doubleclick jar or run via command line: java -jar hwbotprime.jar

 

Home:

http://hwbot.org/benchmark/hwbotprime/

 

Screenshots:

attachment.php?attachmentid=1526&d=1369852481

attachment.php?attachmentid=1527&d=1369852481

attachment.php?attachmentid=1528&d=1369852519

Link to post
Share on other sites
  • 2 months later...

can't remember where I red it but somewhere it was stated that for Raspberry Pi changing the batch size to 16 had a positive effect on performance while on other platforms there was no change. What was the value before you changed it to 16?

Link to post
Share on other sites
  • 1 month later...
  • 4 weeks later...

root# java -jar hwbotprime-0.8.3.jar nogui

No native cpu speed library for darwin yet... falling back to OS tools.

--------- HWBOT Prime 0.8.3 ----------

 

Processor detected:

 

Estimating speed... n/aMHz

Running benchmark using 2 threads.

Starting benchmark...

Warm up phase: ..................................................................................................... done!

Benchmark phase: ..................................................................................................... done!

All done!

 

 

java.lang.SecurityException: The provider has unsigned class files.

at org.hwbot.bench.prime.b.a(Unknown Source)

at org.hwbot.bench.prime.PrimeEncryptionModule.a(Unknown Source)

at org.hwbot.bench.prime.PrimeEncryptionModule.addChecksum(Unknown Source)

at org.hwbot.bench.service.DataServiceXml.createXml(DataServiceXml.java:43)

at org.hwbot.bench.service.BenchService.getDataFile(BenchService.java:272)

at org.hwbot.bench.service.BenchService.saveToFile(BenchService.java:322)

at org.hwbot.bench.ui.console.BenchConsole.notifyBenchmarkFinished(BenchConsole.java:36)

at org.hwbot.bench.service.BenchService.run(BenchService.java:211)

at java.lang.Thread.run(Thread.java:743)

Failed to save the file: /private/var/root/Andrei/nogui.hwbot. Reason: Benchmark has been modified. Bad hacker! shoo!

Score: saved to file nogui.hwbot.

 

Any help with this? Tried to run it on my iPhone.

Link to post
Share on other sites
  • 1 month later...

Compiled a custom version (without encryption module) to run on iPhone5 in jamvm.

After a lot of attempts, managed to get this score (force printed in the console, cause creating the unencrypted xml file was also failing to some jaxb class missing/unsatisfied dependencies).

 

No native cpu speed library for darwin yet... falling back to OS tools.
--------- HWBOT Prime 0.8.2 ----------

Processor detected:

Estimating speed... n/aMHz
Running benchmark using 2 threads.
Starting benchmark...
Warm up phase:   .................................................................................................... done!
Benchmark phase: ..................................................................................................... done!
All done!
Force Print HWBOT Prime Score: 329.5794 ----------

--------- HWBOT Score: 329.5794 ----------

Exception in thread "Thread-1" java.lang.Error: javax.xml.datatype.DatatypeConfigurationException: java.lang.ClassNotFoundException: gnu/xml/datatype/JAXPDatatypeFactory

Link to post
Share on other sites

Still far from the real potential of the architecture, I assume all blame is on jamvm (built in 2010 with unofficial toolchain and using GNU Classpath).

 

Without a decent VM, no fun here. :)

 

-Dthreads=4

Andreis-iPhone:~/andrei root# jamvm -Dthreads=4 -Xms64m -Xmx64m -jar hwbotprime.jar nogui
No native cpu speed library for darwin yet... falling back to OS tools.
--------- HWBOT Prime 0.8.2 ----------

Processor detected:

Estimating speed... n/aMHz
Running benchmark using 2 threads.
Starting benchmark...
Warm up phase:   ..................................................................................................... done!
Benchmark phase: ..................................................................................................... done!
All done!
Force Print HWBOT Prime Score: 430.26498 ----------

--------- HWBOT Score: 430.26498 ----------

Exception in thread "Thread-1" java.lang.Error: javax.xml.datatype.DatatypeConfigurationException: java.lang.ClassNotFoundException: gnu/xml/datatype/JAXPDatatypeFactory
  at com.sun.xml.bind.DatatypeConverterImpl.<clinit>(DatatypeConverterImpl.java:768)

 

-Dthreads=2

Andreis-iPhone:~/andrei root# jamvm -Dthreads=2 -Xms64m -Xmx64m -jar hwbotprime.jar nogui
No native cpu speed library for darwin yet... falling back to OS tools.
--------- HWBOT Prime 0.8.2 ----------

Processor detected:

Estimating speed... n/aMHz
Running benchmark using 2 threads.
Starting benchmark...
Warm up phase:   ..................................................................................................... done!
Benchmark phase: ..................................................................................................... done!
All done!
Force Print HWBOT Prime Score: 464.80276 ----------

--------- HWBOT Score: 464.80276 ----------

Exception in thread "Thread-1" java.lang.Error: javax.xml.datatype.DatatypeConfigurationException: java.lang.ClassNotFoundException: gnu/xml/datatype/JAXPDatatypeFactory

Link to post
Share on other sites

Default is detected amount of cores * 2, if I remember correctly. It can be overridden by specifying the -Dthreads=x parameter. Note v0.8.3 does not print the correct amount of threads used.

 

java -Dthreads=1 -jar hwbotprime.jar

Link to post
Share on other sites
  • 2 weeks later...
  • 2 weeks later...

Feature request for next major version, Have a similar save function to AM3 wrapper, in that save saves the score file to desktop as the scores name. The popping up new window to set path/filename sometimes gets caught on the verification screenshot. (That and we don't want it crashing on those super unstable overclocks :))

Link to post
Share on other sites

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...