Questions tagged [gem5]

The gem5 simulator is a modular platform for computer system architecture research, encompassing system-level architecture as well as processor microarchitecture.

Project homepage: http://gem5.org

466 questions
3
votes
1 answer

Can I debug more finely in gem5?

In gem5, can I step through my code? Like gdb instead of using DPRINTF to print out certain statements in some places? 1、Now,I found I can debug the gem5 through the command like gdb --args gem5.debug --debug-break = 1000. but I still cann't look…
Gerrie
  • 736
  • 3
  • 18
3
votes
0 answers

Running Running PARSEC 2.1 on gem5

I am running with this kernel and configuration: ./build/ALPHA/gem5.opt configs/example/fs.py \ --num-cpus=16 \ --cpu-type=DerivO3CPU \ --caches --l2cache \ --l2_size=512kB \ --l2_assoc=16 \ --num-l2caches=1 \ …
3
votes
1 answer

How does Gem5 accept and decode executables from user?

Eg: /home/gem5/build/X86/gem5.opt --debug-flags=TLB,Cache /home/gem5/configs/example/se.py --cpu-type=DerivO3CPU --caches --mem-type=SimpleMemory -I 10000 -c out --options="1 in_16.txt out.txt" >> test2.txt The bold part in the SE CLI for Gem5…
Febin Sunny
  • 311
  • 1
  • 13
3
votes
1 answer

How to use the m5ops in gem5 such m5_exit and m5_dump_stats in se mode

I know this a trivial question but I am having difficulties in running the m5ops in gem5, lets take for example the m5-exit.c file that has been provided by gem5, in the test programs, how would I compile it and link it to the file…
Weez Khan
  • 137
  • 1
  • 8
3
votes
1 answer

The difference between dispatch,commit,issue and squash width in a cpu core

Would someone explain me the difference between dispatch,commit,issue and squash width in a cpu core, which executes in an out of order fashion. From what I know: issue width - how many instructions that can execute in parallel dispatch width -…
Weez Khan
  • 137
  • 1
  • 8
3
votes
0 answers

Multithreaded programs in smt mode running only one thread gem5

Does gem5 support running Multithreaded programs fully in smt mode? I've been trying to run PARSEC benchmarks. However, the stats show execution of only one thread. I ran this command: ./build/ALPHA_FS/gem5.opt --debug-flag=O3CPUAll…
eleanor
  • 81
  • 5
3
votes
1 answer

A working linux kernel + gem5 config for FS boot up in x86 SMP

I'm trying to bring up a gem5 FullSystem (FS) simulation of Linux kernel 2.6.22.9 (as the binary was provided by gem5) and also with a custom Linux kernel 3.4.112 on a TimingSimpleCPU. While both of these work in a single core x86 FS simulated…
3
votes
1 answer

Gem 5 IOError: Can't find a path to system files. Full System X86 simulation setup

I've already got Gem5 installed. I'm trying to do a full system simulation. I added M5_PATH echo "export M5_PATH==/home/sam/security/gem5/full/" >> ~/.bashrc I put all the system image and config files under following directory: …
parisa
  • 784
  • 1
  • 8
  • 27
3
votes
1 answer

When building gem5.opt, I get 'ImportError: no module named six'

I'm new to gem5. New even to computer architecture. I am trying to build the gem5.opt using scons build/X86/gem5.opt I get an import error for module six: ➜ gem5 scons build/RISCV/gem5.opt scons: Reading SConscript files ... ImportError: No module…
user11503564
3
votes
0 answers

How to run DVFS on gem5?

I ran the gem5 and could run ARM and full system on geme5.now I need to run DVFs on gem5 but I do not do it and looking sites for example…
farideh
  • 71
  • 5
3
votes
1 answer

Question about transferring files to ARM Linux in Gem5 full-system mode

I was running Linux in an ARM-based detailed CPU model in FS mode, and I was doing the checkpoint after the first time I launched the CPU. However, I needed to frequently transfer files to the ARM Linux, so I am wondering if there is any way to do…
Ray
  • 31
  • 1
3
votes
0 answers

"consecutive SC failures" on gem5 simple config script

I am new to gem5 and I ran into a problem while trying to write a simple multi-core system configuration script. my script is based on the example scripts given on: http://learning.gem5.org/book/part1/cache_config.html When i try to add more than…
3
votes
0 answers

gem5: Support for multicore for X86 O3 CPU Full System with classical memory

I am running into trouble running full system simulation with 2 X86 O3 cores and classical memory system where the system seems to get stuck during script execution. I read in other (relatively) old posts that multicore might not be supported for…
Shehab
  • 71
  • 3
3
votes
0 answers

Building DRAMpower

So i want to build the DRAMpower to simulate the DRAM power model . I have all the dependecies installed that are required such as gcc and libxerces-c-dev. i then run the following command make -j4 g++ -O -W -pedantic-errors -Wextra -Werror…
Vansh
  • 69
  • 6
3
votes
1 answer

How to run the gem5 unit tests?

Gem5 has several tests in the source tree, and there is some documentation at: http://www.gem5.org/Regression_Tests but those docs are not very clear. What tests are there and how to run them?
Ciro Santilli
  • 3,693
  • 1
  • 18
  • 44
1
2
3
31 32