Hi Andreas,

 I managed to run the script with the gzipped input but after a while the
execution crashes.
 So, I am bringing 2 traces from 2 cores and I want to analyse the cache
coherence behavior in Gem5. Do you know if there is an easier way ?

Thanks,
Mihai


On Thu, Dec 12, 2013 at 1:06 AM, Andreas Hansson <andreas.hans...@arm.com>wrote:

>  Hi Mihai,
>
>  I would suggest to get creative with the encoding script. It is meant to
> serve as a template. Handling gzipped files in python should be straight
> forward.
>
>  On a side note, I hope you know that you can also capture “compatible”
> traces in gem5 using the CommMonitor.
>
>  Andreas
>
>
>
>   From: mihai pricopi <mihai.pric...@gmail.com>
> Reply-To: gem5 users mailing list <gem5-users@gem5.org>
> Date: Wednesday, 11 December 2013 16:57
>
> To: gem5 users mailing list <gem5-users@gem5.org>
> Subject: Re: [gem5-users] traffic generator
>
>   Hi Andreas,
>
>   I am bringing this huge gzipped memory trace from Simplescalar (1.1GB)
> and want to feed it using TraceGen.
>  First I need to encode this trace file and since it is huge is very hard
> to manage it. The encoding python script doesn't work with gzipped files
> also. Do you know a better way to do this ?
>
>  Thanks,
> Mihai
>
>
> On Tue, Dec 10, 2013 at 5:48 PM, Andreas Hansson 
> <andreas.hans...@arm.com>wrote:
>
>>  Hi Mihai,
>>
>>  I’m glad to see you managed to sort it out. I have a long-overdue
>> action item to write up a Wiki page on the CommMonitor and TrafficGen,
>> including the traces and scenarios.
>>
>>  Let me know if there are any other issues along the way.
>>
>>  Andreas
>>
>>   From: mihai pricopi <mihai.pric...@gmail.com>
>> Reply-To: gem5 users mailing list <gem5-users@gem5.org>
>> Date: Tuesday, 10 December 2013 09:43
>> To: gem5 users mailing list <gem5-users@gem5.org>
>> Subject: Re: [gem5-users] traffic generator
>>
>>   Hi all,
>>
>>   In case anyone else is looking for the answer:
>>
>>   you need to use the script "util/encode_packet_trace.py" to encode the
>> trace into a proto compatible format.
>>  After that it works.
>>
>>  Regards,
>> Mihai
>>
>>
>> On Tue, Dec 10, 2013 at 3:14 PM, mihai pricopi 
>> <mihai.pric...@gmail.com>wrote:
>>
>>> Hi,
>>>
>>>   I have been trying to use the traffic generator with the provided
>>> trace files.
>>>  I have changed the simple-dram.cfg file into:
>>>
>>>  STATE 0 1000000 TRACE tests/quick/se/70.tgen/tgen-simple-dram.trc 100
>>> STATE 1 1000000000 LINEAR 100 0 134217728 64 30000 30000 0
>>> INIT 0
>>> TRANSITION 0 1 1
>>> TRANSITION 1 1 1
>>>
>>>   The tgen-simple-dram.trc traffic file is this one:
>>>
>>>  r,64,64,4000
>>> r,2048,64,5000
>>> r,128,64,6000
>>> r,196,64,7000
>>> r,12433,64,8000
>>> r,23223,64,1000000
>>>
>>>   However, when running the simulation using the command:
>>>
>>>  build/ARM/gem5.opt -d
>>> build/ARM/tests/opt/quick/se/70.tgen/arm/linux/tgen-simple-dram -re
>>> tests/run.py build/ARM/tests/opt/quick/se/70.tgen/arm/linux/tgen-simple-dram
>>>
>>>  I get this error:
>>>
>>>  "Input file tests/quick/se/70.tgen/tgen-simple-dram.trc is not a valid
>>> gem5 proto format"
>>>
>>>   Do you know why is the trace file not recognized as a proto format ?
>>>
>>>  Thanks,
>>> Mihai
>>>
>>
>>
>> -- 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.
>>
>> ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
>> Registered in England & Wales, Company No: 2557590
>> ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
>> Registered in England & Wales, Company No: 2548782
>>
>> _______________________________________________
>> gem5-users mailing list
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
> -- 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.
>
> ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
> Registered in England & Wales, Company No: 2557590
> ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
> Registered in England & Wales, Company No: 2548782
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to