[gem5-users] Re: gem5 GCN3 GPU model docker build issue

2021-03-10 Thread xpf via gem5-users
Hi,

I didn't see the instructions say to use stable branch. I follow the 
instructions on http://www.gem5.org/documentation/general_docs/gpu_models/GCN3 
which don't mention to use stable or develop branch. But now I see 'integrating 
the Docker into the develop branch ' on 
https://www.gem5.org/2020/05/27/modern-gpu-applications.html.
 
Thank you very much.
___
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: Shutdown x86 Full System simulation

2021-03-10 Thread Gabe Black via gem5-users
Hi Deepak. On a real system, you would probably use ACPI to tell the
chipset to power down the machine, but on gem5 you can probably just run
the "exit" pseudo instruction which will tell gem5 to exit back to the
python config file.

Gabe

On Wed, Mar 10, 2021 at 2:07 AM Deepak Mohan via gem5-users <
gem5-users@gem5.org> wrote:

> Hi,
> I was implementing an x86 operating system that runs on gem5
> simulator. I have to implement the shutdown functionality for the OS.
> From my initial research I found out that I have to use the ACPI for
> implementing shutdown (using outw(PM1a_CNT, SLP_TYPa | SLP_EN ); ).
> But the values of PM1a_CNT, SLP_TYPa and SLP_EN has to be gathered
> from the DSDT table of ACPI. When I searched the gem5 source for the
> DSDT table, I was unable to find it (there was classes defined for
> RSDT and XSDT tables).
> Can anyone please give any pointers towards where to search ? Or are
> there any other methods to shutdown the x86 Full system simulation ?
>
> Thanks,
> Deepak Mohan
> ___
> 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] Restoring from simpoint checkpoints

2021-03-10 Thread Thomas Flynn via gem5-users
Hi,

I am trying to generate and later restore checkpoints using SimPoint, but
right now I get an error about the system's memory size when restoring from
the checkpoints.

This is the command I use to generate the checkpoint, after obtaining the
phases and weights from the SimPoint binary:

./build/ARM/gem5.opt configs/example/se.py
--take-simpoint-checkpoint=/home/tom/archsim/SimPoint.3.2/bin/simpoints,/home/tom/archsim/SimPoint.3.2/bin/weights,10,1000
--cpu-type=NonCachingSimpleCPU --cmd="se-benchmarks/Bubblesort"

The output from this looks fine:

gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 version 20.1.0.4
gem5 compiled Feb 23 2021 21:47:19
gem5 started Mar 10 2021 22:47:21
gem5 executing on home, pid 21676
command line: ./build/ARM/gem5.opt configs/example/se.py
--take-simpoint-checkpoint=/home/tom/archsim/SimPoint.3.2/bin/simpoints,/home/tom/archsim/SimPoint.3.2/bin/weights,10,1000
--cpu-type=NonCachingSimpleCPU --cmd=se-benchmarks/Bubblesort

warn: membus.slave is deprecated. `slave` is now called `cpu_side_ports`
warn: membus.slave is deprecated. `slave` is now called `cpu_side_ports`
warn: membus.slave is deprecated. `slave` is now called `cpu_side_ports`
warn: membus.slave is deprecated. `slave` is now called `cpu_side_ports`
warn: membus.slave is deprecated. `slave` is now called `cpu_side_ports`
warn: membus.master is deprecated. `master` is now called `mem_side_ports`
simpoint analysis file: /home/tom/archsim/SimPoint.3.2/bin/simpoints
simpoint weight file: /home/tom/archsim/SimPoint.3.2/bin/weights
interval length: 10
warmup length: 1000
3 0.2 299000 1000
6 0.2 599000 1000
21 0.15 2099000 1000
22 0.225 2199000 1000
27 0.225 2699000 1000
Total # of simpoints: 5
Global frequency set at 1 ticks per second
warn: No dot file generated. Please install pydot to generate the dot file
and pdf.
warn: DRAM device capacity (8192 Mbytes) does not match the address range
assigned (512 Mbytes)
0: system.remote_gdb: listening for remote gdb on port 7000
info: Entering event queue @ 0.  Starting simulation...
info: Increasing stack size by one page.
Writing checkpoint
warn: Checkpoints for file descriptors currently do not work.
Checkpoint #0 written. start inst:299000 weight:0.20
info: Entering event queue @ 149915000.  Starting simulation...
Writing checkpoint
warn: Checkpoints for file descriptors currently do not work.
Checkpoint #1 written. start inst:599000 weight:0.20
info: Entering event queue @ 299915000.  Starting simulation...
Writing checkpoint
warn: Checkpoints for file descriptors currently do not work.
Checkpoint #2 written. start inst:2099000 weight:0.15
info: Entering event queue @ 1049915000.  Starting simulation...
Writing checkpoint
warn: Checkpoints for file descriptors currently do not work.
Checkpoint #3 written. start inst:2199000 weight:0.225000
info: Entering event queue @ 1099915000.  Starting simulation...
Writing checkpoint
warn: Checkpoints for file descriptors currently do not work.
Checkpoint #4 written. start inst:2699000 weight:0.225000
Exiting @ tick 1349915000 because simpoint starting point found
5 checkpoints taken


Then I try to restore from a checkpoint using this command:

 ./build/ARM/gem5.opt configs/example/fs.py --restore-simpoint-checkpoint
-r 1 --checkpoint-dir m5out --cpu-type=TimingSimpleCPU
--restore-with-cpu=NonCachingSimpleCPU
 --disk-image=$M5_PATH/disks/expanded-linaro-minimal-aarch64.img
--kernel=$M5_PATH/binaries/vmlinux.arm64

and encounter the following:

gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 version 20.1.0.4
gem5 compiled Feb 23 2021 21:47:19
gem5 started Mar 10 2021 22:50:20
gem5 executing on home, pid 21819
command line: ./build/ARM/gem5.opt configs/example/fs.py
--restore-simpoint-checkpoint -r 1 --checkpoint-dir m5out
--cpu-type=TimingSimpleCPU --restore-with-cpu=NonCachingSimpleCPU
--disk-image=/home/tflynn/archsim/gem5/../m5_binaries/disks/expanded-linaro-minimal-aarch64.img
--kernel=/home/tflynn/archsim/gem5/../m5_binaries/binaries/vmlinux.arm64

warn: iobus.slave is deprecated. `slave` is now called `cpu_side_ports`
warn: bridge.master is deprecated. `master` is now called `mem_side_port`
warn: membus.master is deprecated. `master` is now called `mem_side_ports`
warn: bridge.slave is deprecated. `slave` is now called `cpu_side_port`
warn: membus.slave is deprecated. `slave` is now called `cpu_side_ports`
warn: iobus.master is deprecated. `master` is now called `mem_side_ports`
warn: iobridge.slave is deprecated. `slave` is now called `cpu_side_port`
warn: membus.slave is deprecated. `slave` is now called `cpu_side_ports`
warn: iobridge.master is deprecated. `master` is now called `mem_side_port`
warn: membus.slave is deprecated. `slave` is now called `cpu_side_ports`
warn: membus.slave is deprecated. `slave` is now called `cpu_side_ports`
warn: membus.slave 

[gem5-users] Making main memory trace files for external memory sims

2021-03-10 Thread Miguel Antonio Avargues GutiƩrrez via gem5-users

Hello,

I was wondering which was the most effective way to generate main memory 
trace files to run on externals memory simulatos such as NVMain. I'm 
using the default fs.py config file with the 4.19.83 kernel and 
parsec.img as the disk image. Is maybe SE a better method to achieve this?


--
Un saludo,
Miguel Antonio Avargues GutiƩrrez.
___
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] Shutdown x86 Full System simulation

2021-03-10 Thread Deepak Mohan via gem5-users
Hi,
I was implementing an x86 operating system that runs on gem5
simulator. I have to implement the shutdown functionality for the OS.
>From my initial research I found out that I have to use the ACPI for
implementing shutdown (using outw(PM1a_CNT, SLP_TYPa | SLP_EN ); ).
But the values of PM1a_CNT, SLP_TYPa and SLP_EN has to be gathered
from the DSDT table of ACPI. When I searched the gem5 source for the
DSDT table, I was unable to find it (there was classes defined for
RSDT and XSDT tables).
Can anyone please give any pointers towards where to search ? Or are
there any other methods to shutdown the x86 Full system simulation ?

Thanks,
Deepak Mohan
___
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