Hello,
You could for example create a micro-bench to test the icache misses: a
huge function of asm("nop") or the like supposed to make cache misses.
Hope it helps,
--
Fernando A. Endo, PhD student and researcher
Université de Grenoble, UJF
France
2014-03-08 9:10 GMT+01:00 Fateme Movafagh <[email protected]>:
> Fernando , thanks .
> I had checked the config.ini and all the configurations seem the same as
> I set and fine.
> I don't know whether I can rely on the results or not.
> if anyone else has achieved instruction cache results I would really
> aopreciate to know about them.
>
>
>
> On Mon, Mar 3, 2014 at 7:02 PM, Fernando Endo <[email protected]>wrote:
>
>> Hello,
>>
>> You should check if in the config.ini the cache size is what you
>> configured. There may be minor bugs...
>>
>> Regards,
>>
>> --
>> Fernando A. Endo, PhD student and researcher
>>
>> Université de Grenoble, UJF
>> France
>>
>>
>>
>> 2014-03-01 15:13 GMT+01:00 Fateme Movafagh <[email protected]>:
>>
>> thanks Mahmood ,actually I decreased the i-cache size to 512Byte ,miss
>>> rate changed but didn't differ a lot.
>>>
>>> the command line in gem5 :
>>> ./build/X86/gem5.fast configs/example/fs.py
>>> --script=scirpts/blackscholes_1c_simsmall.rcS --caches --l2cache
>>> --l1i_size=1kB --l1d_size=1kB --l1i_assoc=2 --cacheline_size=64
>>>
>>> and I have used Texas disk image.
>>>
>>> with this configuration miss rate is 16% ( the sum of
>>> "system.cpu.icache.overall_miss_rate:: total" in 4 separate sets of
>>> statistics in stat.txt file. )
>>> also I ran blackscholes on sniper simulator for the same I-cache
>>> configuration and the miss rate was about 33% .
>>> If anyone has experienced the same issue , I would really appreciate to
>>> let me know about the correctness of miss rate results.
>>>
>>> thanks .
>>>
>>>
>>>
>>> On Fri, Feb 28, 2014 at 3:05 PM, Mahmood Naderan
>>> <[email protected]>wrote:
>>>
>>>> Hi
>>>> You can try other workloads or reduce the i-cache size (8KB) to verify
>>>> if it working properly.
>>>>
>>>> On 2/28/14, Fateme Movafagh <[email protected]> wrote:
>>>> > hi all,
>>>> > I am running parsec on gem5 x86 full system with --caches --cachel2
>>>> option
>>>> > .
>>>> > in the stat.txt file , the result of total Icache miss rate is very
>>>> small,
>>>> > I'm wondering maybe I have made a mistake.
>>>> > for example in blackscholes even for 512B instruction cache , the
>>>> miss rate
>>>> > is 0.0097 and for 1kB instruction cache , it is 0.0076 .
>>>> > how should I interpret these results ?
>>>> > any help?
>>>> >
>>>> > thanks in advance.
>>>> > --
>>>> > Fateme Movafagh
>>>> >
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Mahmood
>>>> _______________________________________________
>>>> gem5-users mailing list
>>>> [email protected]
>>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>>
>>>
>>>
>>>
>>> --
>>> Fateme Movafagh
>>>
>>>
>>> _______________________________________________
>>> gem5-users mailing list
>>> [email protected]
>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>
>>
>>
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
>
> --
> Fateme Movafagh
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users