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]<mailto:[email protected]>>
Reply-To: gem5 users mailing list 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, 2 April 2013 08:32
To: gem5 users mailing list <[email protected]<mailto:[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

Reply via email to