[Gems-users] Negative ruby statistics


Date: Wed, 30 Apr 2008 13:37:18 -0500
From: "Berkin Ozisikyilmaz" <boz283@xxxxxxxxxxxxxxxxxxxx>
Subject: [Gems-users] Negative ruby statistics
>From a recent run, I get the following negative statistics. Why is this
caused?

instruction_executed: -478402819 [ -30949667 -32694695 -30796653 -27052123
-31460596 -33731078 -31751655 -27227611 -29555813 -31742431 -28960556
-30594586 -22054601 -32097916 -30981458 -26751380 ]
simics_cycles_executed: -1489523970 [ -93095034 -93095034 -93095034
-93095034 -93095034 -93095034 -93095034 -93095034 -93095034 -93095034
-93095034 -93095033 -93095464 -93096033 -93096033 -93096033 ]
cycles_per_instruction: -0.722895 [ -0.698382 -0.661107 -0.701852 -0.799001
-0.68704 -0.640794 -0.680742 -0.793852 -0.731317 -0.68094 -0.746349
-0.706487 -0.980053 -0.673398 -0.697665 -0.807984 ]
misses_per_thousand_instructions: -1.15319 [ -2.12442 -1.35539 -1.09742
-0.766557 -1.35961 -1.07494 -0.636691 -0.856006 -1.22544 -1.05609 -0.72288
-1.18573 -2.50039 -1.04119 -0.719882 -0.998528 ]

I also had a similar/related question 2 days ago. Did anyone have issues
like this?

Regards,
Berkin

-----Original Message-----
From: gems-users-bounces@xxxxxxxxxxx [mailto:gems-users-bounces@xxxxxxxxxxx]
On Behalf Of Berkin Ozisikyilmaz
Sent: 2008-04-28 17:30
To: 'Gems Users'
Subject: [Gems-users] Understanding ruby and opal statistics

Hi,

I am running my application on 16 processors with ruby for a while and then
load opal and step 100million instructions. Now I can dump ruby and opal
statistics.

Both seem to agree on number of cycles, but there is something that I don't
understand with instruction count. 
Opal says that
[0]   total number of instructions committed:             100000002
[0]   total number of instructions decoded:               105486715
[0]   total number of instructions executed:              101600065
[1]   total number of instructions committed:             117935284
[1]   total number of instructions decoded:               121728002
[1]   total number of instructions executed:              119055476 so on.
I understand that different processors may be idling so on and we can have
difference in instructions committed.

Ruby says that
R uby_current_time: 58905273
Ruby_start_time: 11538060
Ruby_cycles: 47367213 
instruction_executed: 1223603037 [ 81105382 80324304 75240703 84349669
69569396 74585663 78035505 85433618 71846017 75168266 80232199 76919609
67920704 72447556 75125355 75299091 ]
simics_cycles_executed: -738438776 [ -46152236 -46152236 -46152236 -46152236
-46152236 -46152236 -46152236 -46152236 -46152236 -46152236 -46152236
-46152236 -46152236 -46153236 -46153236 -46153236 ]
Here it seems that even though ruby is started earlier it has less
instruction executed count. Why is that?
And why are the reported cycles are negative?

Thanks
Berkin



_______________________________________________
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.


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