[Gems-users] Comparing "ruby cycles" when running ruby alone and opal+ruby


Date: Wed, 17 May 2006 16:27:55 +0200
From: "Alessandro Bardine" <alessandro.bardine@xxxxxxxxxxxx>
Subject: [Gems-users] Comparing "ruby cycles" when running ruby alone and opal+ruby
Hi,
I am trying to compare the ruby cycles value that I get
when I run a benchmark in opal+ruby environment ( with DNUCA cache
architecture) with the same value that I get when I only run ruby (with the
same DNUCA cache) driven directly by Simics.
My idea is to make a comparison for the "ruby cycles" values I get at some
fixed number of executed instruction in both environments.
To do this I step opal+ruby with the "sim-step" command and I collect the
ruby cicle value at regular interval, while for ruby alone I collect info
from the file generated with the "periodical-stat-file". 

What I expected was to get similar results but what I am getting from the
first simulations is quite different!!

Are the values of "ruby-cycles" for the two environments (intended at the
same number of total executed instruction) directly comparable?

For the "ruby alone" I get the number of executed instruction in the  file
generated with the "periodical-stat-file", what is hard to understand for me
is how ruby is able to know this value assumed that it is being driven by
Simics.




[← Prev in Thread] Current Thread [Next in Thread→]