Has anyone been able to figure this out? This is my first time ever trying
to do execution trace-replay on any simulator.
I want to be able to trace-replay in FS mode.
- I would like to replay the same execution in FS mode on gem5. Is that
possible? Would that even make sense? Will the files simply be too large
for FS mode?
- I also plan to use the traces on a different simulator.
- And lastly I want to do perfect branch prediction in FS mode.
- I understand from this thread that I can't do perfect branch
prediction in a single run
http://www.mail-archive.com/[email protected]/msg05541.html
I looked at the format of the traces in tests/quick/se/70.tgen. Is the
TrafficGen only for use in SE mode then? Should I just generate the
instruction traces myself? I know that I can see the instructions using
--debug-flags=ExecAll. I've been reading about CommMonitor and TrafficGen
on the forum, trying to put the bits and pieces from each forum thread
together. However, I'm still having trouble figuring out where to start if
I'm trying to do all of this in FS mode.
Thanks!
On Wed, Apr 3, 2013 at 10:24 AM, Fangfei Liu <[email protected]> wrote:
> Hi Andreas,
>
>
>
> Thanks so much for your kind help. I made a mistake – the TrafficGen
> module only exists in develop repository.
>
>
>
> I have several more questions. Since TrafficGen is similar to CPU or DMA,
> can I use it to study performance of L1 data cache (i.e. replace CPU except
> the private caches)?
>
>
>
> The trace I want to replay is from a third-part trace generator (Pintool),
> which specific trace should I use? The trace for memory references only or
> a whole instruction execution trace?
>
>
>
> Thanks!
>
>
>
> Best regards
>
> Fangfei
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Andreas Hansson
> *Sent:* 2013年4月3日 9:32
>
> *To:* gem5 users mailing list
> *Subject:* Re: [gem5-users] replay instruction execution trace on gem5
>
>
>
> Hi Fabgfei,
>
>
>
> The module is still there, and I suspect you do not have libprotobuf and
> protoc installed (there should be a yellow warning when building), which
> causes it to be disabled.
>
>
>
> I need to write up a Wiki page describing the TrafficGen use, but in short:
>
>
>
> - The purpose of the traffic generator is to inject packets and thus
> act as a workload for the memory system, either black box for modules that
> do not yet exist, or replaying traces captured on existing modules.
> - The traffic generator is a probabilistic state-transition graph
> (like a Markov chain) where each state is associated with a time and a
> behaviour.
> - The most elaborate description of the grammar you will find in the
> regression tests, 70.tgen where the header contains the documentation.
> - The traffic generator is a master module, similar to a CPU or a DMA,
> and thus all you have to do is connect it to a slave port, for example on a
> bus.
> - The generator behaviours are injecting request packets according to
> the type, e.g. IDLE, LINEAR, RANDOM or TRACE
> - In a recent the generators are now public and can also be used
> outside the traffic generator, e.g. to create a custom trace player.
>
> I hope that brings a bit of clarity to the matter.
>
>
>
> Kind regards,
>
>
>
> Andreas
>
>
>
> *From: *Fangfei Liu <[email protected]>
> *Reply-To: *gem5 users mailing list <[email protected]>
> *Date: *Tuesday, 2 April 2013 08:32
> *To: *gem5 users mailing list <[email protected]>
> *Subject: *Re: [gem5-users] replay instruction execution trace on gem5
>
>
>
> Hi,
>
>
>
> I find the Traffic_gen module under src/cpu/testers (it seems the latest
> version of gem5 has deleted this module), but I’m not sure how to integrate
> this module into the system. It is a master module, so I guess we have to
> explicitly connect it to some slave module. Which memobject I should
> connect it to? What is the purpose of this Traffic_gen module? Also I find
> that It needs to read in a configuration file that describes the state
> graph, what is the format of the configuration file? Which kind of trace
> file does it support? Instruction execution trace or just memory reference
> trace? Thanks!
>
>
>
> Best regards
>
> Fabgfei
>
>
>
> *From:* Fangfei Liu
> *Sent:* 2013年4月1日 23:03
> *To:* 'gem5 users mailing list'
> *Subject:* replay instruction execution trace on gem5
>
>
>
> Hi,
>
>
>
> Does anyone know how to replay instruction execution trace captured from
> other tools (e.g. from trace generator Pintool) on gem5? Thanks!
>
>
>
> Best regards
>
> Fangfei
>
>
> -- IMPORTANT NOTICE: The contents of this email and any attachments are
> confidential and may also be privileged. If you are not the intended
> recipient, please notify the sender immediately and do not disclose the
> contents to any other person, use it for any purpose, or store or copy the
> information in any medium. Thank you.
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
--
Martin
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users