Moreover, this is why most of our results with GEMS report 95%
confidence intervals instead of just averages -- we run each data point
many times, to account for these variations you are observing.
Regards,
Dan
Gregory T Byrd wrote:
It's not reasonable to expect the same number of instructions to be
executed. Different orderings of memory operations can result in
different execution paths. For a simple example, think of multiple
threads spinning on a lock -- the delay of memory operations can affect
who gets the lock first, and when they get the lock. So the number of
instructions executed in the spinning loops would be different.
Also, you would expect the number of cycles to be different. After all,
that's why you want to change the coherence protocol, I assume -- to make
things execute faster?
I think the only reasonable measure is to execute the same amount of
"work" (e.g., the entire benchmark), and show how long it took for that
work to be executed with the different schemes.
...Greg
On Tue, 1 May 2007, Vivek Venkatesan wrote:
Hello All,
I'm having trouble making an accurate comparison between two coherence
models both based on MOESI_CMP_directory with Ruby. I am using a 16-core
CMP and my initial approach was to run the same benchmark with the two
models for a specific number of instructions (c 50000000) and compare
the total ruby cycles elapsed. This didn't work because the 2 runs
resulted in a different number of total instructions executed.
Another method I tried was to have a magic instruction at the beginning
and end of the benchmark so that I can track the total ruby cycles taken
to complete the entire benchmark. Then again, the total instructions
executed differed (which did not make sense to me at all, especially
since both start from the same checkpoint).
So how would I go about making a fair comparison of the two models? Is
there any way you can make simics execute a certain number of total
instructions or make ruby execute a certain number of total cycles?
Thanks much.
-Vivek
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
--
http://www.cs.wisc.edu/~gibson [esc]:wq!
|