[gem5-users] Re: Error while installing gem 5

2021-04-19 Thread keshav via gem5-users
Hi,

What's the error message that you get ?

On Tue, 20 Apr, 2021, 10:31 am VAIDYA ROHINI VILAS via gem5-users, <
gem5-users@gem5.org> wrote:

> Hello,
> while building ARM or X86 architecture on gem5 I am using command "scons
> build/X86/*gem5*.opt -j5" but scons is not yet build successfully. Here
> ,I have attached screenshot where building of ARM stops.
> Please, help me to solve this issue ASAP.
> Thank you.
> --
> *From:* ahmad sedigh via gem5-users 
> *Sent:* 19 April 2021 13:31
> *To:* gem5 users mailing list 
> *Cc:* ahmad sedigh 
> *Subject:* [gem5-users] Re: Error while installing gem 5
>
> Hello,
> At this stage you should just press enter and continue.
> The warning is negligible.
>
> Ahmad
>
> On Mon, Apr 19, 2021 at 1:55 PM VAIDYA ROHINI VILAS via gem5-users <
> gem5-users@gem5.org> wrote:
>
> Hello ,
> I am trying to download gem5 in my new system having ubuntu version 20.04
> using "git clone https://github.com/gem5/gem5.git
> " . I also tried from official
> documentation of gem 5 but while building gem5 using  command  "*scons
> build/ARM/gem5.opt -j5"*   i am getting error as
>
> *"Scons: Reading SConscript files ... You're missing the gem5 style or
> commit message hook. These hooks help to ensure that your code follows
> gem5's style rules on git commit. This script will now install the hook in
> your .git/hooks/ directory. Press enter to continue, or ctrl-c to abort:  "
> *Please help me to solve this error ASAP.
> Thank you.
>
>
> ___
> 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: DRAMCTRL self-refresh frequency

2021-04-19 Thread Liyichao via gem5-users
Sorry, I get the wrong info.

My current tREFI is 3.9us, tXS is 360ns, tRFC is 350ns.


李翼超(Charlie)

华为技术有限公司 Huawei Technologies Co., Ltd.

部门:计算系统与组件开发部 [云与计算BG]
手  机:15858232899
电子邮件:liyic...@huawei.com 
地址:中国(China)-杭州(Hangzhou)-滨江区江淑路360号华为杭州研发中心Z4# [3-A06]

 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁
止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中
的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
This e-mail and its attachments contain confidential information from HUAWEI, 
which 
is intended only for the person or entity whose address is listed above. Any 
use of the 
information contained herein in any way (including, but not limited to, total 
or partial 
disclosure, reproduction, or dissemination) by persons other than the intended 
recipient(s) is prohibited. If you receive this e-mail in error, please notify 
the sender by 
phone or email immediately and delete it!

-邮件原件-
发件人: lsteiner--- via gem5-users [mailto:gem5-users@gem5.org] 
发送时间: 2021年4月19日 21:27
收件人: gem5-users@gem5.org
抄送: lstei...@rhrk.uni-kl.de
主题: [gem5-users] Re: DRAMCTRL self-refresh frequency

The refresh rate is determined by the parameter tREFI in 
"mem/DRAMInterface.py". However, if you want a refresh rate of 64 ms you cannot 
simply set tREFI to 64 ms. tREFI is the time between two refresh commands, 
while 64 ms usually is the time between two refresh commands to the same DRAM 
cell.  Depending on the selected device size and temperature range you have to 
set different values for tREFI and tRFC. You can find more information in the 
JEDEC standard for DDR4. 

The self-refresh frequency is not determined by the DRAM controller, but by the 
DRAM device itself. This parameter cannot be modified via configuration. The 
only parameter you can modify is tXS (self-refresh exit time). For more 
information you should also take a look at the JEDEC standard.
___
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] Running Garnet for a large number of nodes

2021-04-19 Thread Arash Azizi via gem5-users
Hi All,

I want to simulate a topology in Garnet with a large number of nodes (e.g. 256 
to 1024). However, for a large number of nodes like 512 nodes, I get this error:


Traceback (most recent call last):
  File "", line 1, in 
  File "build/NULL/python/m5/main.py", line 457, in main
exec(filecode, scope)
  File "configs/example/garnet_synth_traffic.py", line 151, in 
m5.instantiate()
  File "build/NULL/python/m5/simulate.py", line 118, in instantiate
for obj in root.descendants(): obj.createCCObject()
  File "build/NULL/python/m5/SimObject.py", line 1685, in createCCObject
self.getCCParams()
  File "build/NULL/python/m5/SimObject.py", line 1626, in getCCParams
value = value.getValue()
  File "build/NULL/python/m5/params.py", line 250, in getValue
return [ v.getValue() for v in self ]
  File "build/NULL/python/m5/params.py", line 250, in 
return [ v.getValue() for v in self ]
  File "build/NULL/python/m5/SimObject.py", line 1689, in getValue
return self.getCCObject()
  File "build/NULL/python/m5/SimObject.py", line 1667, in getCCObject
params = self.getCCParams()
  File "build/NULL/python/m5/SimObject.py", line 1626, in getCCParams
value = value.getValue()
  File "build/NULL/python/m5/params.py", line 879, in getValue
self.masks, int(self.intlvMatch))
TypeError: __init__(): incompatible constructor arguments. The following 
argument types are supported:
1. _m5.range.AddrRange()
2. _m5.range.AddrRange(arg0: int, arg1: int)
3. _m5.range.AddrRange(arg0: int, arg1: int, arg2: List[int], arg3: int)
4. _m5.range.AddrRange(arg0: std::vector >)
5. _m5.range.AddrRange(arg0: int, arg1: int, arg2: int, arg3: int, arg4: 
int, arg5: int)

Invoked with: 0, 536870912, [1048832, 2097664, 4195328, 8390656, 16781312, 
33562624, 67125248, 134250496, 268500992], 256

Did you forget to `#include `? Or ,
, , etc. Some automatic
conversions are optional and require extra headers to be included
when compiling your pybind11 module.




Does anybody have an idea how I can solve this problem?

Thanks,
___
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: Running parallel version of a CPU benchmark on multiple cores

2021-04-19 Thread John Smith via gem5-users
Hi,

I am running gem5 with the Gpu model and I am running a Cpu and Gpu
benchmarks simultaneously.

for GPU: 2D Convolution from polybench-gpu.
I have 1+1 Cpus to handle the Gpu's thread launches. Apparently the ROCM
runtime launches an extra thread, so an extra thread is needed (Credit:
Matt Sinclair).
for CPU: running parsec.raytrace (with pthreads and m5thread linked) with 2
threads so I have 2+1 cpus for the CPU benchmark.
My apu_se.py is set up as follows:
...
pid_cnt = 100
cpu_list[0].workload = Process(executable = executable, cmd = [options.cmd]
+ options.options.split(), drivers = [gpu_driver], env =
env, pid=pid_cnt)
cpu_list[0].createThreads()

cpu_list[1].workload = cpu_list[0].workload
cpu_list[1].createThreads()


pid_cnt = 101
process = Process(executable = options.cpu_bench_bin, cmd =
[options.cpu_bench_bin]
+ options.cpu_benchmark_args.split(), env = env, pid=pid_cnt)

cpu_list[2].workload = process
cpu_list[2].createThreads()
cpu_list[3].workload = process
cpu_list[3].createThreads()
cpu_list[4].workload = process
cpu_list[4].createThreads()
...

But, when I look at the generated stats, I can see that Cpu instructions
are committed (non-zero), but Gpu insts committed are 0.
By running 2D Convolution by itself (1+1 cpus) and a trivial cpu benchmark
with no threads, I can see non-zero Gpu insts committed.
What could be the reason for this ?

Thank You,
John Smith
___
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: DRAMCTRL self-refresh frequency

2021-04-19 Thread Liyichao via gem5-users
Thanks。my tRFI is 360ns,my tRFC is 0.682ns






李翼超 charlie
Mobile:+86-15858232899
Email:liyic...@huawei.com


发件人: lsteiner--- via gem5-usersmailto:gem5-users@gem5.org>>
收件人: gem5-usersmailto:gem5-users@gem5.org>>
抄送: lsteinermailto:lstei...@rhrk.uni-kl.de>>
主题: [gem5-users] Re: DRAMCTRL self-refresh frequency
时间: 2021-04-19 21:27:59

The refresh rate is determined by the parameter tREFI in 
"mem/DRAMInterface.py". However, if you want a refresh rate of 64 ms you cannot 
simply set tREFI to 64 ms. tREFI is the time between two refresh commands, 
while 64 ms usually is the time between two refresh commands to the same DRAM 
cell.  Depending on the selected device size and temperature range you have to 
set different values for tREFI and tRFC. You can find more information in the 
JEDEC standard for DDR4.

The self-refresh frequency is not determined by the DRAM controller, but by the 
DRAM device itself. This parameter cannot be modified via configuration. The 
only parameter you can modify is tXS (self-refresh exit time). For more 
information you should also take a look at the JEDEC standard.
___
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: DRAMCTRL self-refresh frequency

2021-04-19 Thread lsteiner--- via gem5-users
The refresh rate is determined by the parameter tREFI in 
"mem/DRAMInterface.py". However, if you want a refresh rate of 64 ms you cannot 
simply set tREFI to 64 ms. tREFI is the time between two refresh commands, 
while 64 ms usually is the time between two refresh commands to the same DRAM 
cell.  Depending on the selected device size and temperature range you have to 
set different values for tREFI and tRFC. You can find more information in the 
JEDEC standard for DDR4. 

The self-refresh frequency is not determined by the DRAM controller, but by the 
DRAM device itself. This parameter cannot be modified via configuration. The 
only parameter you can modify is tXS (self-refresh exit time). For more 
information you should also take a look at the JEDEC standard.
___
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] DRAMCTRL self-refresh frequency

2021-04-19 Thread Liyichao via gem5-users
Hi all:

 In GEM5, where can I modify the self refresh frequency or refresh rate 
in dramctrl? My DRAM is DDR4 2933MHz.
e.g. I want to modify the self refresh frequency or rate to 32ms or 
64ms(32Hz or 64Hz).


___
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: Error while installing gem 5

2021-04-19 Thread ahmad sedigh via gem5-users
Hello,
At this stage you should just press enter and continue.
The warning is negligible.

Ahmad

On Mon, Apr 19, 2021 at 1:55 PM VAIDYA ROHINI VILAS via gem5-users <
gem5-users@gem5.org> wrote:

> Hello ,
> I am trying to download gem5 in my new system having ubuntu version 20.04
> using "git clone https://github.com/gem5/gem5.git
> " . I also tried from official
> documentation of gem 5 but while building gem5 using  command  "*scons
> build/ARM/gem5.opt -j5"*   i am getting error as
>
> * "Scons: Reading SConscript files ... You're missing the gem5 style or
> commit message hook. These hooks help to ensure that your code follows
> gem5's style rules on git commit. This script will now install the hook in
> your .git/hooks/ directory. Press enter to continue, or ctrl-c to abort:  "
> *Please help me to solve this error ASAP.
> Thank you.
>
>
> ___
> 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: Error while installing gem 5

2021-04-19 Thread Hoa Nguyen via gem5-users
Hi,

The message is not an error. It means that if you press enter, the git
commit hook will be installed and then gem5 will be compiled; while
ctrl+c will exit the compiling program.

Regards,
Hoa Nguyen

On 4/19/21, VAIDYA ROHINI VILAS  wrote:
> Hello ,
> I am trying to download gem5 in my new system having ubuntu version 20.04
> using "git clone
> https://github.com/gem5/gem5.git" . I also
> tried from official documentation of gem 5 but while building gem5 using
> command  "scons build/ARM/gem5.opt -j5"   i am getting error as "Scons:
> Reading SConscript files ...
>
> You're missing the gem5 style or commit message hook. These hooks help
> to ensure that your code follows gem5's style rules on git commit.
> This script will now install the hook in your .git/hooks/ directory.
> Press enter to continue, or ctrl-c to abort:  "
> Please help me to solve this error ASAP.
> Thank you.
>
>
>
___
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] Error while installing gem 5

2021-04-19 Thread VAIDYA ROHINI VILAS via gem5-users
Hello ,
I am trying to download gem5 in my new system having ubuntu version 20.04 using 
"git clone https://github.com/gem5/gem5.git" 
. I also tried from official documentation of gem 5 but while building gem5 
using  command  "scons build/ARM/gem5.opt -j5"   i am getting error as "Scons: 
Reading SConscript files ...

You're missing the gem5 style or commit message hook. These hooks help
to ensure that your code follows gem5's style rules on git commit.
This script will now install the hook in your .git/hooks/ directory.
Press enter to continue, or ctrl-c to abort:  "
Please help me to solve this error ASAP.
Thank you.


___
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