Thanks for your reply, Mike. But I'm not sure I
understand your approach. Could you please elaborate?
Also, I don't understand why I shouldn't return
immediately from ruby_operate. I'm not interested in
any timing for those memory locations. I would like to
set a constant latency for the requests to those
locations and not to pollute the L1/L2 cache.
Thank you.
Dave
--- Mike Marty <mikem@xxxxxxxxxxx> wrote:
>
> If memory is non-cacheable, you certainly do not
> want to return
> immediately from ruby_operate.
>
> Choose a protocol that has silent S eviction, and
> add a request type to
> ensure your cache doesn't get the block in M state
> (exclusive). Ok, we've
> covered loads. Not sure how you want to handle
> Stores.
>
> --mike
>
>
> > Hi,
> >
> > I would like to treat certain memory locations as
> > non-cacheable because I don't want to pollute the
> L1
> > cache. So, I was wondering if there was a way to
> do
> > this in Ruby. Perhaps I could return immediately
> from
> > ruby_operate? What should be the returned value
> from
> > ruby_operate? The number of cycles that Simics has
> to
> > wait (the latency of the operation)?
> >
> > Thank you,
> >
> > Dave
> >
> >
> >
> >
>
____________________________________________________________________________________
> > Expecting? Get great news right away with email
> Auto-Check.
> > Try the Yahoo! Mail Beta.
> >
>
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
> > _______________________________________________
> > 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.
> >
> _______________________________________________
> 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.
>
>
____________________________________________________________________________________
Looking for earth-friendly autos?
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/
|