On Aug 25, 2012, at 10:39 AM, Nilay Vaish wrote:

> On Fri, 24 Aug 2012, Andreas Hansson wrote:
> 
>> Hi Nilay,
>> 
>> Ok. Could you perhaps show how to make a traffic generator that would
>> create something along the lines of an HDLCD controller:
>> 
>> 850 Mbyte/s read to a specific address range for time T1, then idling for
>> T2. Repeat the above.
>> 
>> The whole point is to mimic the traffic of real IP components that we do
>> not yet have models for.
>> 
>> I am not sure I understand how to do something like this with what is
>> there at the moment.
>> 
> 
> There is at least one tester in gem5 that supports specifying the rate at 
> which traffic is pushed in to the network.
> 
> But that said, why is it required that this particular traffic pattern that 
> you need should be supported in gem5? There are an infinite number of traffic 
> patterns that can be created. I don't think we are trying to create something 
> that can be used to generate any traffic pattern. The infrastructure should 
> be flexible enough that if some one needs a new traffic pattern, he/she can 
> modify the traffic generator with as less effort as possible

Hi Nilay,

I think the point that Andreas is trying to make is that traffic generators are 
useful for more than testing and people want to to use traffic generators to 
inject traffic into the systems (many systems have lots of other traffic going 
through them, not just CPU traffic). The traffic generator we posted lets the 
user specifies a configuration file that describes what kind of traffic that 
generator will generate. You can create infinite different configurations 
including one that emulates an hdlcd controller, video encoders or decoders, 
etc. Anyone who is interested in a client system should be interested in 
traffic from other components in the system and this traffic generator is a 
good way to produce some traffic for that purpose.  It's far more configurable 
than the testers that currently are in gem5.

The meta-question I have is, why do you care that much? It's a reasonably small 
piece of code that is well documented and comes with a set of regression tests. 
It seems like exactly the thing we want in the repository.

Thanks,

Ali
 

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to