--- Dan Gibson <degibson@xxxxxxxx> wrote:
> Dave Z. wrote:
> > Hello All,
> >
> > I have a few questions regarding Ruby results and
> > magic instruction. In my configuration, there are
> two
> > processors. For example, total_misses is shown as
> > follows: total_misses: 39269 [39269 0]. Does each
> > number in brackets refer to a processor?
> Yes, each bracket refers to a processor. In your
> example above,
> processor 0 had 39,269 L2 misses, processor 1 had
> zero.
> > If so, does
> > it mean the benchmark ran only on one of the
> > processors?
> Not necessarily -- it means that Ruby didn't find
> any misses from that
> processor...which probably means that Ruby isn't
> fully installed. Are
> you using the "sarek" target?
Yes, I'm using the sarek target w/ solaris 10.
> Using non-sarek
> targets or even sarek
> targets with some configuration options set can
> result in more than on
> physical memory object (often one per processor).
> Ruby installs itself
> of "phys_mem0", which can manifest as only showing
> accesses from cpu0.
> Find out if a "phys_mem0" object exists in your
> simulation, and also a
> "phys_mem1", "phys_mem2", etc.
There exists only phys_mem0 object. What do I need to
do to have phys_mem1? Perhaps private L1 cache and
shared L2 cache? I would like to see memory accesses
from each processor.
> Otherwise, have you set the cpu-switch-time in
> Simics to 1?
No, I haven't. The current CPU switch time is 1000000
cycles.
> You might
> have a very large cpu-switch-time and/or cpu1 might
> be in a disabled state.
How do I enable cpu1? Isn't it done automatically when
I set g_NUM_PROCESSORS to 2?
Thank you for your help.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|