richba5tard Posted February 8, 2013 Share Posted February 8, 2013 (edited) 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 Edited April 15, 2014 by Massman Quote Link to comment Share on other sites More sharing options...
richba5tard Posted May 26, 2013 Author Share Posted May 26, 2013 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 Quote Link to comment Share on other sites More sharing options...
GENiEBEN Posted May 26, 2013 Share Posted May 26, 2013 Nice. Are there any plans on making an iOS build too? http://www.oracle.com/technetwork/developer-tools/adf-mobile/overview/index.html Quote Link to comment Share on other sites More sharing options...
richba5tard Posted May 26, 2013 Author Share Posted May 26, 2013 There is an android build in the pipeline, but not for iOS though. I'll check out that link and see how much effort it would be. What would be the point though? You can't tweak an iOS device. Quote Link to comment Share on other sites More sharing options...
GENiEBEN Posted May 26, 2013 Share Posted May 26, 2013 Yes you can Quote Link to comment Share on other sites More sharing options...
richba5tard Posted May 29, 2013 Author Share Posted May 29, 2013 HWBOT Prime 0.6.6 reaches beta stage! Tests are looking good on all platforms. Fire up your raspberry pi and start overclocking! 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: Quote Link to comment Share on other sites More sharing options...
GENiEBEN Posted May 30, 2013 Share Posted May 30, 2013 Can we get an APK too, or still under work? JBED crashes on jelly bean, for whatever reason, so I can't run it as jar Quote Link to comment Share on other sites More sharing options...
geoffrey Posted August 18, 2013 Share Posted August 18, 2013 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? Quote Link to comment Share on other sites More sharing options...
GENiEBEN Posted October 12, 2013 Share Posted October 12, 2013 Can the GUI be upgraded to display Java version used? Also, a bash script to launch the jar on linux and a batch one for Windows will be awesome. Quote Link to comment Share on other sites More sharing options...
Massman Posted October 13, 2013 Share Posted October 13, 2013 Feature request added to backlog Quote Link to comment Share on other sites More sharing options...
GENiEBEN Posted October 13, 2013 Share Posted October 13, 2013 launch scripts https://db.tt/81c5fkgR linux (tested) https://db.tt/diPRefH2 win (test it first) Quote Link to comment Share on other sites More sharing options...
Arise Posted November 5, 2013 Share Posted November 5, 2013 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. Quote Link to comment Share on other sites More sharing options...
Arise Posted January 1, 2014 Share Posted January 1, 2014 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 Quote Link to comment Share on other sites More sharing options...
richba5tard Posted January 1, 2014 Author Share Posted January 1, 2014 Cool! I've requested an Apple dev licence for iOS to make a proper version. You can try adding -Dthreads=4 to the command line as the score seems much too low. Quote Link to comment Share on other sites More sharing options...
xsuperbgx Posted January 1, 2014 Share Posted January 1, 2014 What are the screenshot requirements if run on linux? I thought I saw some discussion on substitutes for cpuz, but I cannot find it now. Quote Link to comment Share on other sites More sharing options...
GENiEBEN Posted January 1, 2014 Share Posted January 1, 2014 What are the screenshot requirements if run on linux? I thought I saw some discussion on substitutes for cpuz, but I cannot find it now. i-Nex / lspci. Quote Link to comment Share on other sites More sharing options...
Arise Posted January 2, 2014 Share Posted January 2, 2014 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 Quote Link to comment Share on other sites More sharing options...
MetalRacer Posted January 2, 2014 Share Posted January 2, 2014 (edited) nvm. Edited January 3, 2014 by MetalRacer Quote Link to comment Share on other sites More sharing options...
knopflerbruce Posted January 6, 2014 Share Posted January 6, 2014 What's the max thread count for HWBot prime? Quote Link to comment Share on other sites More sharing options...
richba5tard Posted January 6, 2014 Author Share Posted January 6, 2014 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 Quote Link to comment Share on other sites More sharing options...
knopflerbruce Posted January 6, 2014 Share Posted January 6, 2014 ok, so I can just type that into cmd.exe and it will run with the selected amount of threads? I feel the server scores are a bit lower than they should be. My 32core score (based on bulldozer) cannot touch an 8core Piledriver one Quote Link to comment Share on other sites More sharing options...
richba5tard Posted January 7, 2014 Author Share Posted January 7, 2014 Yes, if you want to be 100% sure it's working as expected then set threads to 1 on a multithreaded system, and watch your score drop. java -Dthreads=1 -jar hwbotprime.jar Quote Link to comment Share on other sites More sharing options...
GENiEBEN Posted January 17, 2014 Share Posted January 17, 2014 APK please? I really need something to run on this Android devices besides CPU-Z. Quote Link to comment Share on other sites More sharing options...
FatBoyNotSoSlim Posted January 27, 2014 Share Posted January 27, 2014 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 ) Quote Link to comment Share on other sites More sharing options...
richba5tard Posted January 29, 2014 Author Share Posted January 29, 2014 Good suggestion Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.