kdlucas / byte-unixbench

Automatically exported from code.google.com/p/byte-unixbench
GNU General Public License v2.0
1.27k stars 323 forks source link

whetstone measurements issues #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. configure 1 cpu to the system
2. run 1 copy, 2, 4, copies of whetstone
3. the throughput should be the same as there is only one cpu. The throughput 
scales linearly.

What is the expected output? What do you see instead?
Expected to use wall clock time for calculations instead it uses process time.

What version of the product are you using? On what operating system?
ubuntu 15.04 - latest unixbench

Please provide any additional information below.
I modified the compilation flag from UNIX to GTODay and it fixed the issue. 
GTODay uses wall clock time to calculate the results which is what is needed as 
using process time may result in undue advantages to processors having higher 
single threaded performance while lack in throughput mode ( multiple SMT copies 
). This does not also differentiate a configuration with higher number of cpus.

Original issue reported on code.google.com by r.puvich...@gmail.com on 30 Mar 2015 at 1:09

GoogleCodeExporter commented 9 years ago
This is same as issue 15

Original comment by r.puvich...@gmail.com on 30 Mar 2015 at 1:12

gstrauss commented 8 years ago

As noted above, same as #15

Suggested solution is to modify Makefile $(PROGDIR)/whetstone-double: CFLAGS += -DDP -DUNIX -DUNIXBENCH to replace -DUNIX with -DGTODay