[gem5-users] help needed to solve the following issues

2018-06-21 Thread jeobin jose
Dears,

  i am a new user started learning gem5.I want to implement an LLC(L3 
cache) and i have sucessfully done it by editing /configs/commom/cachecofig.py, 
cache.py.and made  the inter connections by editing Xbar file.I have specifc 
questions to be discussed in the forum.
1.Now I want to know the access patterns for various programs(benchmarks 
especially PARSEC and SPLASH-2) which are running in different cores.Please 
suggest me how to do that.
2. Also is there any way of running workload mixes in gem5 through command line.
3. i want to model the LLC in such a way that at a particular clock cycle what 
are all the cache lines are active,dead,moderate.What should i do for that what 
are the files in gem5 to be edited.
4.I aim it to be run in fill system mode.But i am not sure about which memory 
model i have to use whether classic or ruby.
Kindly help me in this regard.


Thanks in advance
jobin___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] SEPC CPU 2006 with DRAMSim2

2018-06-21 Thread Kaustav Goswami
Hello,
I am in need of some assistance to run SPEC CPU 2006 benchmarks on gem5
with DRAMSim2 memory. I'm able to run the same in gem5's default memory but
I specifically need to run in using DRAMSim2. The specific error is that it
is unable to load .ini files as there is an error in IniReader.cpp at
DRAMSim2 build if I specify mem-type as DRAMSim2. I hope someone would be
able to guide me regarding the same.
Thank You,
Kaustav Goswami.
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] About reducing memory controller number

2018-06-21 Thread Mao Ye
Hi all,

I appreciated all the replies to my previous emails. Now I have a question
regarding how to restrict memory controller number to 1 when I specify a
memory of 16GB.  I noticed in previous emails, there is a 3GB hole for MC,
does it means that for a full disk mode and a memory larger than 3GB,
multiple memory controller is a must? Can I modify the code to enable only
one memory controller?

Many thanks,

-- 
Mao Ye,
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Error when building gem5

2018-06-21 Thread Tariq Azmy
Hi Jason,

No problem. I've never contributed patches to gerrit before, maybe I'll try
it next time :) Glad that it has been fixed. Thanks for the update.

On Wed, Jun 20, 2018 at 1:35 PM, Jason Lowe-Power 
wrote:

> Hi Tariq,
>
> Thanks for letting us know about this issue. Nikos just merged a change
> that fixes it: https://gem5-review.googlesource.com/c/public/gem5/+/11429
>
> Cheers,
> Jason
>
> On Tue, Jun 19, 2018 at 11:01 AM Jason Lowe-Power 
> wrote:
>
>> HI Tariq,
>>
>> You can fix it and submit a patch to gerrit :). Likely, you just need
>> #include  at the top of addr_range_map.hh.
>>
>> See https://gem5.googlesource.com/public/gem5/+/master/CONTRIBUTING.md
>> for more details.
>>
>> Cheers,
>> Jason
>>
>> On Tue, Jun 19, 2018 at 10:44 AM Tariq Azmy 
>> wrote:
>>
>>> Hi,
>>>
>>> I got a fresh new gem5 from google repo (https://gem5.googlesource.
>>> com/public/gem5) and built the X86 with scons. But there's an error
>>> from xbar:
>>>
>>> In file included from build/X86/mem/xbar.hh:57:0,
>>>  from build/X86/mem/noncoherent_xbar.hh:54,
>>>  from build/X86/mem/noncoherent_xbar.cc:50:
>>> build/X86/base/addr_range_map.hh:221:35: error: 'std::function' has not
>>> been declared
>>>  find(const AddrRange , std::function cond)
>>> const
>>>^~~~
>>> build/X86/base/addr_range_map.hh:221:43: error: expected ',' or '...'
>>> before '<' token
>>>  find(const AddrRange , std::function cond)
>>> const
>>>^
>>> scons: *** [build/X86/mem/noncoherent_xbar.o] Error 1
>>> scons: building terminated because of errors.
>>>
>>> Hope it can get fixed.
>>>
>>> Thanks
>>> ___
>>> 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
>
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] 回复: gem5 killed when booting linux

2018-06-21 Thread Éder F. Zulian

Hello,
you could try this (superuser privileges are required):

grep -i 'killed process' /var/log/messages

Check if gem5 was killed by the OOM-killer.

As a quick workaround or just for testing and gathering more information 
you could try this:


echo 1 > /proc/sys/vm/overcommit_memory

Documentation here:

https://www.kernel.org/doc/Documentation/sysctl/vm.txt

Best Regards,


On 06/21/2018 08:47 AM, web wrote:

Hello, Jason

It is not likely running out of menory, since I try my boot on both 8G 
machine with 8G swap, and 16G machine with 2G swap. Both failed. 
Anything else I can do to debug this issue?


Thanks.
--?0?2?0?2--
*??:*?0?2"Jason Lowe-Power";
*:*?0?22018??6??21??(??) 0:15
*??:*?0?2"gem5 users mailing l";
*:*?0?2Re: [gem5-users] gem5 killed when booting linux
Hello,

It looks like your host OS killed the gem5 process

"Program terminated with signal SIGKILL, Killed.
The program no longer exists."

Could you have run out of memory on the host?

Jason

On Tue, Jun 19, 2018 at 7:54 PM web > wrote:


Hi, All

I am trying to boot my ubuntu with gem5 under instruction of this
page. http://www.lowepower.com/jason/setting-up-gem5-full-system.html
However, gem5 is killed with unknow reason and the log is below,
anyone could help?

= gem5 log =
Starting program:
/home/jmst/wrk/myGitHub/gem5-bench/gem5/build/X86/gem5.opt
configs/run.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/x86_64-linux-gnu/libthread_db.so.1".
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled May 17 2018 21:48:59
gem5 started Jun 19 2018 21:03:00
gem5 executing on x1c, pid 31549
command line:
/home/jmst/wrk/myGitHub/gem5-bench/gem5/build/X86/gem5.opt
configs/run.py

Global frequency set at 1 ticks per second
warn: DRAM device capacity (8192 Mbytes) does not match the
address range assigned (2048 Mbytes)
info: kernel located at: linux/vmlinux
system.pc.com_1.device: Listening for connections on port 3456
?0?2 ?0?2 ?0?2 0: rtc: Real-time clock set to Sun Jan?0?2 1 00:00:00 2012
0: system.remote_gdb: listening for remote gdb on port 7000
warn: Reading current count from inactive timer.
Running the simulation
info: Entering event queue @ 0.?0?2 Starting simulation...
warn: x86 cpuid family 0x: unimplemented function 6
warn: x86 cpuid family 0x: unimplemented function 6
warn: x86 cpuid family 0x: unimplemented function 6
warn: instruction 'fninit' unimplemented
warn: Don't know what interrupt to clear for console.
warn: instruction 'sgdt_Ms' unimplemented
warn: x86 cpuid family 0x: unimplemented function 6
warn: x86 cpuid family 0x: unimplemented function 6
warn: x86 cpuid family 0x: unimplemented function 6
warn: Tried to clear PCI interrupt 14
warn: Write to unknown i8042 (keyboard controller) command port.
hack: Assuming logical destinations are 1 << id.
warn: instruction 'fwait' unimplemented
1836401387040: system.pc.com_1.device: attach terminal 0
warn: instruction 'prefetch_t1' unimplemented
warn: instruction 'prefetch_t2' unimplemented
warn: instruction 'prefetch_nta' unimplemented

Program terminated with signal SIGKILL, Killed.
The program no longer exists.

== term log ==
Linux version 4.14.0 (jmst@x1c) (gcc version 5.4.0 20160609
(Ubuntu 5.4.0-6ubuntu1~16.04.9)) #8 SMP Thu Jun 14 21:25:35 CST 2018
Command line: earlyprintk=ttyS0 console=ttyS0 lpj=723
root=/dev/hda1
CPU: vendor_id 'M5 Simulator' unknown, using generic init.
CPU: Your system may be unstable.
x86/fpu: x87 FPU will use FXSAVE
e820: BIOS-provided physical RAM map:
BIOS-e820: [mem 0x-0x0009fbff] usable
BIOS-e820: [mem 0x0009fc00-0x000f] reserved
BIOS-e820: [mem 0x0010-0x7fff] usable
BIOS-e820: [mem 0x8000-0xbfff] reserved
BIOS-e820: [mem 0x-0x] reserved
bootconsole [earlyser0] enabled
NX (Execute Disable) protection: active
SMBIOS 2.5 present.
DMI:?0?2 , BIOS?0?2 06/08/2008
random: fast init done
tsc: Fast TSC calibration using PIT
AGP: No AGP bridge found
e820: last_pfn = 0x8 max_arch_pfn = 0x4
MTRR: Disabled
x86/PAT: MTRRs disabled, skipping PAT initialization too.
CPU MTRRs all blank - virtualized system.
x86/PAT: Configuration [0-7]: WB?0?2 WT?0?2 UC- UC WB?0?2 WT?0?2 UC- UC
found SMP MP-table at [mem 0x000f0050-0x000f005f] mapped at
[ff200050]
ACPI: Early table checksum verification disabled

[gem5-users] memory access patterns

2018-06-21 Thread jeobin jose
Dears,

  i am a new user started learning gem5.I want to implement an LLC(L3 
cache) and i have sucessfully done it by editing /configs/commom/cachecofig.py, 
cache.py.and made  the inter connections by editing Xbar file.I have specifc 
questions to be discussed in the forum.
1.Now I want to know the access patterns for various programs(benchmarks 
especially PARSEC and SPLASH-2) which are running in different cores.Please 
suggest me how to do that.
2. Also is there any way of running workload mixes in gem5 through command line.
3. i want to model the LLC in such a way that at a particular clock cycle what 
are all the cache lines are active,dead,moderate.What should i do for that what 
are the files in gem5 to be edited.
4.I aim it to be run in fill system mode.But i am not sure about which memory 
model i have to use whether classic or ruby.
Kindly help me in this regard.


Thanks in advance
jobin

___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] ?????? gem5 killed when booting linux

2018-06-21 Thread web
Hello, Jason


It is not likely running out of menory, since I try my boot on both 8G machine 
with 8G swap, and 16G machine with 2G swap. Both failed. Anything else I can do 
to debug this issue?


Thanks.
 
 
--  --
??: "Jason Lowe-Power";
: 2018??6??21??(??) 0:15
??: "gem5 users mailing l"; 

: Re: [gem5-users] gem5 killed when booting linux

 
Hello,

It looks like your host OS killed the gem5 process 


"Program terminated with signal SIGKILL, Killed.The program no longer exists."


Could you have run out of memory on the host?


Jason
 


On Tue, Jun 19, 2018 at 7:54 PM web  wrote:

Hi, All


I am trying to boot my ubuntu with gem5 under instruction of this page. 
http://www.lowepower.com/jason/setting-up-gem5-full-system.html
However, gem5 is killed with unknow reason and the log is below, anyone could 
help?


= gem5 log =
Starting program: /home/jmst/wrk/myGitHub/gem5-bench/gem5/build/X86/gem5.opt 
configs/run.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.


gem5 compiled May 17 2018 21:48:59
gem5 started Jun 19 2018 21:03:00
gem5 executing on x1c, pid 31549
command line: /home/jmst/wrk/myGitHub/gem5-bench/gem5/build/X86/gem5.opt 
configs/run.py


Global frequency set at 1 ticks per second
warn: DRAM device capacity (8192 Mbytes) does not match the address range 
assigned (2048 Mbytes)
info: kernel located at: linux/vmlinux
system.pc.com_1.device: Listening for connections on port 3456
  0: rtc: Real-time clock set to Sun Jan  1 00:00:00 2012
0: system.remote_gdb: listening for remote gdb on port 7000
warn: Reading current count from inactive timer.
Running the simulation
info: Entering event queue @ 0.  Starting simulation...
warn: x86 cpuid family 0x: unimplemented function 6
warn: x86 cpuid family 0x: unimplemented function 6
warn: x86 cpuid family 0x: unimplemented function 6
warn: instruction 'fninit' unimplemented
warn: Don't know what interrupt to clear for console.
warn: instruction 'sgdt_Ms' unimplemented
warn: x86 cpuid family 0x: unimplemented function 6
warn: x86 cpuid family 0x: unimplemented function 6
warn: x86 cpuid family 0x: unimplemented function 6
warn: Tried to clear PCI interrupt 14
warn: Write to unknown i8042 (keyboard controller) command port.
hack: Assuming logical destinations are 1 << id.
warn: instruction 'fwait' unimplemented
1836401387040: system.pc.com_1.device: attach terminal 0
warn: instruction 'prefetch_t1' unimplemented
warn: instruction 'prefetch_t2' unimplemented
warn: instruction 'prefetch_nta' unimplemented


Program terminated with signal SIGKILL, Killed.
The program no longer exists.



== term log ==
 Linux version 4.14.0 (jmst@x1c) (gcc version 5.4.0 20160609 (Ubuntu 
5.4.0-6ubuntu1~16.04.9)) #8 SMP Thu Jun 14 21:25:35 CST 2018
Command line: earlyprintk=ttyS0 console=ttyS0 lpj=723 root=/dev/hda1
CPU: vendor_id 'M5 Simulator' unknown, using generic init.
CPU: Your system may be unstable.
x86/fpu: x87 FPU will use FXSAVE
e820: BIOS-provided physical RAM map:
BIOS-e820: [mem 0x-0x0009fbff] usable
BIOS-e820: [mem 0x0009fc00-0x000f] reserved
BIOS-e820: [mem 0x0010-0x7fff] usable
BIOS-e820: [mem 0x8000-0xbfff] reserved
BIOS-e820: [mem 0x-0x] reserved
bootconsole [earlyser0] enabled
NX (Execute Disable) protection: active
SMBIOS 2.5 present.
DMI:  , BIOS  06/08/2008
random: fast init done
tsc: Fast TSC calibration using PIT
AGP: No AGP bridge found
e820: last_pfn = 0x8 max_arch_pfn = 0x4
MTRR: Disabled
x86/PAT: MTRRs disabled, skipping PAT initialization too.
CPU MTRRs all blank - virtualized system.
x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC  
found SMP MP-table at [mem 0x000f0050-0x000f005f] mapped at [ff200050]
ACPI: Early table checksum verification disabled
ACPI BIOS Error (bug): A valid RSDP was not found (20170728/tbxfroot-244)
Zone ranges:
  DMA  [mem 0x1000-0x00ff]
  DMA32[mem 0x0100-0x7fff]
  Normal   empty
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x1000-0x0009efff]
  node   0: [mem 0x0010-0x7fff]
Initmem setup node 0 [mem 0x1000-0x7fff]
Intel MultiProcessor Specification v1.4
MPTABLE: OEM ID: 
MPTABLE: Product ID: 
MPTABLE: APIC at: 0xFEE0
Processor #0 (Bootup-CPU)
IOAPIC[0]: apic_id 1, version 20, address 0xfec0, GSI 0-23
Processors: 1
smpboot: Allowing 1 CPUs, 0 hotplug CPUs
e820: [mem 0xc000-0xfffe] available for PCI devices
Booting paravirtualized