Re: [Gems-users] Statistics


Date: Tue, 5 Sep 2006 14:34:47 -0700 (PDT)
From: "Dave Z." <zhu_dave@xxxxxxxxx>
Subject: Re: [Gems-users] Statistics

--- Dan Gibson <degibson@xxxxxxxx> wrote:


---------------------------------

> Some statistics are already broken-down on a
per-processor basis (egtotal misses). Others can be
trivially added by
modifyingruby/profiler/Profiler.[Ch]

I don't see how some statistics are stated on a
per-processor basis. In my configuration, there are
two processors but I only see "total_misses: 39269
[39269 0]". Does each number in brackets refer to a
processor? If so, it means the benchmark ran only on
one of the processors. Is there a way to assign
threads to processors? Like processor affinity in
Linux?

Also, I have been trying to find where "Chip Stats"
are handled (e.g. cache event counts, transitions),
but I couldn't find them in any of the files located
at ruby/profiler/. Could you please tell me where I
could find them?


>> My benchmarks take a long time to simulate with
Simics + Ruby. Iwould like to run a certain section of
my benchmarks (e.g.initialization phase) in Simics
only, and then load Ruby to getstatistics of the
memory system. Would this reduce the simulation
time?How can this be done?

>The best way to do this is to use a Simics "magic"
instruction to breakthe simulation. Refer to the
simics documentation on how to use a magicinstruction
-- your simics script will look something like this:
magic-break-enable
c       # run until you get a "magic" break
load-module ruby
ruby0.init
c       # run until you get another "magic" break,
signalling the endof execution
ruby0.dump-stats filename

I used the magic instruction in my benchmark, MAGIC(1)
and MAGIC(2) as mentioned in simics user guide. But
when I ran the simulation, it didn't stop at the magic
breakpoint but continued until the end. (I'm using
sarek with solaris 10.) I didn't get any compilation
errors. What could be the problem? 

Thank you very much for your help.



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
[← Prev in Thread] Current Thread [Next in Thread→]