Closed lidija-b closed 4 years ago
Hello. Have you specified the clock speed of your machine when you built your tests? You should do that with the --cpu-mhz option, e.g.:
./build_all.py --arch native --chip default --board default --cflags='-c -O2 -fdata-sections -ffunction-sections' --ldflags='-O2 -Wl,-gc-sections' --user-libs='-lm' --cpu-mhz 2000 --clean
This will make embench repeat the body of the tests as many times as required to have the results to be consistent when compared to other processors regardless of the clock speed.
You might also want to check whether you can deactivate any sort of default boost on your machine, just to be more precise about the clock speed you're using.
Hello again. In addition to what I said last time I'd like to say that embench is currently designed for embedded systems. Even if a native option is available, a version of Embench suitable for systems with an OS is yet to come. I strongly encourage you to get involved with the monthly calls (send me an email to paolo.savini@embecosm.com so I can send you the details of the call) and/or to subscribe to the mailing list: https://embench.org/.
I would close this for now. Don't hesitate to get in touch here or on the mailing list for any doubt.
Thank you for your input Paolo
In the absence of further comments, I am marking this as closed.
I was looking into native builds and tested on mips and I want to check if there is something I'm missing or some problem i missed because these results don't look like what is written as example in doc. So results were off for some of size benchmarks but other look as expected.
So for mips64 gets when running benchmark: (cflages '-c', '-O2', '-fdata-sections', '-ffunction-sections' ldflags '-O2', '-Wl,-gc-sections')
And for size results are: (cflags '-c', '-Os', '-fdata-sections', '-ffunction-sections' ldflags '-Os', '-Wl,-gc-sections', '-nostartfiles', '-nostdlib')
It doesn't look to be empty executable issue.
When i was my testing was based on Embench 05rc1(#42) and arm32. Have tested with same process on raspberypi and got the expected results.