[gem5-users] Re: Problem with gem5 memory latency

2020-06-19 Thread ahmed khalil via gem5-users
Thanks to all of you for your replies.

Ahmed

On Wed, Jun 17, 2020 at 10:46 PM Jason Lowe-Power via gem5-users <
gem5-users@gem5.org> wrote:

> Hi everyone,
>
> Just FYI, it's not the best practice to modify files in src/ (e.g.,
> src/mem/cache/Cache.py) if you want to change a parameter. Those are
> *source* files. Everything in those files can be overridden in the *python
> configuration* files. You can simply change something in your config file
> if you want to change a parameter. *You should only modify files in src/ if
> you are changing or creating new models.*
>
> Hopefully, you'll be seeing some new code in gem5 this summer which will
> make this even easier :D.
>
> Cheers,
> Jason
>
> On Wed, Jun 17, 2020 at 1:41 PM Muhammet Abdullah Soytürk via gem5-users <
> gem5-users@gem5.org> wrote:
>
>> Hi Ahmed,
>>
>> You could either follow Abhishek's advice and use default configuration
>> scripts (se.py or fs.py) or you can create your own script to manipulate
>> those options. Writing your own configuration script is recommended (You
>> can check this  book to learn how to do
>> that). You can change the latency of cache and memory by changing
>> src/mem/cache/Cache.py
>>  and
>> src/mem/DRAMCtrl.py
>> 
>>  respectively.
>>
>> Best,
>> Muhammet
>>
>> ahmed khalil via gem5-users , 17 Haz 2020 Çar,
>> 23:01 tarihinde şunu yazdı:
>>
>>> Hi, I am a beginner in gem5 ,I  want to change the memory and cache
>>> latency of the system simulated using gem5 , but iI didn't find a parameter
>>> in the options.py file to use .can you help me ?
>>>
>>> thanks
>>> Ahmed
>>> ___
>>> gem5-users mailing list -- gem5-users@gem5.org
>>> To unsubscribe send an email to gem5-users-le...@gem5.org
>>> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>>
>> ___
>> gem5-users mailing list -- gem5-users@gem5.org
>> To unsubscribe send an email to gem5-users-le...@gem5.org
>> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: Problem with gem5 memory latency

2020-06-17 Thread Jason Lowe-Power via gem5-users
Hi everyone,

Just FYI, it's not the best practice to modify files in src/ (e.g.,
src/mem/cache/Cache.py) if you want to change a parameter. Those are
*source* files. Everything in those files can be overridden in the *python
configuration* files. You can simply change something in your config file
if you want to change a parameter. *You should only modify files in src/ if
you are changing or creating new models.*

Hopefully, you'll be seeing some new code in gem5 this summer which will
make this even easier :D.

Cheers,
Jason

On Wed, Jun 17, 2020 at 1:41 PM Muhammet Abdullah Soytürk via gem5-users <
gem5-users@gem5.org> wrote:

> Hi Ahmed,
>
> You could either follow Abhishek's advice and use default configuration
> scripts (se.py or fs.py) or you can create your own script to manipulate
> those options. Writing your own configuration script is recommended (You
> can check this  book to learn how to do
> that). You can change the latency of cache and memory by changing
> src/mem/cache/Cache.py
>  and
> src/mem/DRAMCtrl.py
> 
>  respectively.
>
> Best,
> Muhammet
>
> ahmed khalil via gem5-users , 17 Haz 2020 Çar, 23:01
> tarihinde şunu yazdı:
>
>> Hi, I am a beginner in gem5 ,I  want to change the memory and cache
>> latency of the system simulated using gem5 , but iI didn't find a parameter
>> in the options.py file to use .can you help me ?
>>
>> thanks
>> Ahmed
>> ___
>> gem5-users mailing list -- gem5-users@gem5.org
>> To unsubscribe send an email to gem5-users-le...@gem5.org
>> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: Problem with gem5 memory latency

2020-06-17 Thread Muhammet Abdullah Soytürk via gem5-users
Hi Ahmed,

You could either follow Abhishek's advice and use default configuration
scripts (se.py or fs.py) or you can create your own script to manipulate
those options. Writing your own configuration script is recommended (You
can check this  book to learn how to do
that). You can change the latency of cache and memory by changing
src/mem/cache/Cache.py
 and
src/mem/DRAMCtrl.py

 respectively.

Best,
Muhammet

ahmed khalil via gem5-users , 17 Haz 2020 Çar, 23:01
tarihinde şunu yazdı:

> Hi, I am a beginner in gem5 ,I  want to change the memory and cache
> latency of the system simulated using gem5 , but iI didn't find a parameter
> in the options.py file to use .can you help me ?
>
> thanks
> Ahmed
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: Problem with gem5 memory latency

2020-06-17 Thread Abhishek Singh via gem5-users
Hey.

You can change those parameters for classic cache in config/common/Caches.py
For main memory search for python files in src/mem/ directory, mostly it’s
DRAMCtlr.py file

On Wed, Jun 17, 2020 at 4:00 PM ahmed khalil via gem5-users <
gem5-users@gem5.org> wrote:

> Hi, I am a beginner in gem5 ,I  want to change the memory and cache
> latency of the system simulated using gem5 , but iI didn't find a parameter
> in the options.py file to use .can you help me ?
>
> thanks
> Ahmed
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s