[Gems-users] question about ruby cycles


Date: Sun, 19 Mar 2006 15:29:51 -0500 (EST)
From: lxue@xxxxxxxxxxx
Subject: [Gems-users] question about ruby cycles
Hi, I have a quick about ruby_cycles.
The Protocol I used is MOESI_CMP_TOKEN;
I want to compare the ruby_cycles of two configurations:
one is single processor :
-----------------------------------------------------
      ruby0.setparam g_NUM_PROCESSORS 1
      ruby0.setparam g_PROCS_PER_CHIP 1
------------------------------------------------------
the other is two processors(2 processors on a chip)
-------------------------------------------------------
     ruby0.setparam g_NUM_PROCESSORS 2
     ruby0.setparam g_PROCS_PER_CHIP 1
-------------------------------------------------------
And other configuartions are same.
For the same application, for the first single processor configuration,
I got "Ruby_cycles: 5074917", for the second 2 processors configuration, I
got
"Ruby_cycles: 11123235". How can I compare the performance of the given
application running on different configurations? I also want to make sure
how the "Ruby_cycles" are calculated? Does it add up the total cycles of
two processors? If it is true, can I say that for the given application,
the performance are alomost same for these two applications. (Since
11123235 /2 is close to 5074917.

Thanks for your help!

-- Liping






[← Prev in Thread] Current Thread [Next in Thread→]
  • [Gems-users] question about ruby cycles, lxue <=