Re: [Gems-users] ruby results


Date: Thu, 14 Sep 2006 13:30:45 -0500 (CDT)
From: Mike Marty <mikem@xxxxxxxxxxx>
Subject: Re: [Gems-users] ruby results
If you want to simulate a "CMP" with 2 processors, each with private L1-L2
hierarchies, then just use the SMP protocols as-is and configure your
interconnect to be really fast like a "CMP".  Use g_PROCS_PER_CHIP as "1".
Yes, the simulator thinks there are 2 "chips" but if your interconnect is
configured to be fast, then it doesn't matter.

--Mike

> Yes, it's there. Now, I get the following assertion:
>
> simics> ruby0.setparam g_NUM_PROCESSORS 2
>
> simics> ruby0.setparam g_PROCS_PER_CHIP 2
>
> simics> cpu-switch-time 1
>
> The switch time will change to 1 cycles (for CPU-0)
> once all processors have synchronized.
> simics> ruby0.init
>
> Ruby Timing Mode
> Warning: optimizations not enabled.
> Creating event queue...
> Creating event queue done
> Creating system...
>   Processors: 2
> Creating system done
> Ruby initialization complete
> simics> c
> failed assertion '!Protocol::m_CMP' at fn void
> profile_miss(const CacheMsg&, NodeID) in
> slicc_interface/RubySlicc_Profiler_interface.C:111
> failed assertion '!Protocol::m_CMP' at fn void
> profile_miss(const CacheMsg&, NodeID) in
> slicc_interface/RubySlicc_Profiler_interface.C:111
> At this point you might want to attach a debug to the
> running and get to the
> crash site; otherwise press enter to continue
> PID: 7448
>
> Thank you.
>
> --- Luke Yen <lyen@xxxxxxxxxxx> wrote:
>
> > >
> > > I use the standard-CMP file instead of the
> > > standard-SMP file in MOESI_SMP_hammer.slicc, but I
> > > still get the assertion error. Am I missing
> > something?
> > >
> >
> >    Can you check the SLICC-generated Protocol.h file
> > for newly compiled
> > protocol to make sure the statement:
> >
> >     static const bool m_CMP = (true) ;
> >
> >   is there?
> >
> >   Luke
> > _______________________________________________
> > 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.
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> 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→]