Re: [Gems-users] some questions about Opal


Date: Mon, 22 Sep 2008 00:18:16 -0400
From: "wei wang" <apollo.mobility@xxxxxxxxx>
Subject: Re: [Gems-users] some questions about Opal
so i have to make rubycache the same configuration as Ruby ? because it seems that every cache access is checked to make sure it behaves (miss/hit) the same in rubycache and Ruby. 

wei

On Tue, Sep 16, 2008 at 2:54 PM, Luke Yen <lyen@xxxxxxxxxxx> wrote:
On Tue, 16 Sep 2008, wei wang wrote:

> 1. i just saw a rubycache class in Opal. why does Opal have its own cache
> module, while we have Ruby modeling a complete memory sub-system? can i turn
> the rubycache off when Opal and Ruby are both loaded? if this class is
> necessary, should i make the cache configuration of rubycache the same as
> Ruby?

   Opal's rubycache is only meaniful in uniprocessor target systems, as it
doesn't do any cache coherence.  Even then I would recommend running with
Ruby to simulate that target system, as it has more accurate memory
timings.

> 2. is there an option for Opal to control which type of instructions can be
> seens by cache? like what "USER_MODE_DATA_ONLY" does in Ruby?

   No.

  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.


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