Re: [Gems-users] Opal and warm-up phases


Date: Fri, 22 Sep 2006 07:35:11 -0500 (CDT)
From: Luke Yen <lyen@xxxxxxxxxxx>
Subject: Re: [Gems-users] Opal and warm-up phases
   An easy workaround is to create a cache warmup file that Ruby can read
in at module load time.  The format of the warmup trace is described in
detail in ruby/recorder/TraceRecord.C, and the object used to playback a trace is
ruby/recorder/Tracer.C.

   Looking at the code it looks like you can use "ruby0.tracer-output-file
<filename>" to start the warmup trace, and when you reach the end of
the warmup interval you can quit simulation.  You should then have a
gziped warmup trace file.

  On subsequent runs you can skip to point 2 (where you load Opal), and use
use "ruby0.load-caches <filename>" as the last command when loading Ruby,
load Opal, then continue profiling.

   Luke

On Fri, 22 Sep 2006, Daniele Bordes wrote:

> Hi all. I have to run some benchmark using Simics+Gems simulator and I
> have the following problem:
>
> 1) I should take ruby cache statistics ONLY AFTER a warm-up phase of N
> instructions (but, obviously, I have to load ruby module into simics
> BEFORE the warm-up phase starts).
> I have solved this problem placing a MAGIC_REAKPOINT at the beginning
> of the benchmark and, when simulation stops, I begin the warm-up
> phase.
>
> 2) I should load opal module into simics AFTER warm-up phase ends,
> since I don't really need it during cache warm-up.
>
> The problem is that till now I have been obliged to load opal BEFORE
> warm-up phase, because every time I tried to realize the second point
> I received some errors.
> Loading opal before warm-up phase, however, make simulation very slow...
>
> Does anybody know how I can realized what described at point 2 ?
>
> Sorry to be nuisance.
> Thank you very much.
> _______________________________________________
> 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→]