architectural simulation swapnil haria (mainly gem5) …

25
Architectural Simulation (mainly gem5) ECE/CS752 Swapnil Haria

Upload: others

Post on 22-Nov-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

Architectural Simulation(mainly gem5)

ECE/CS752

Swapnil Haria

Who am I?Swapnil Haria

5th year PhD Student

Advised by: Prof Mark Hill, Prof Mike Swift

Research Interests:

Architecture + Operating Systems

Novel Memory Systems: Persistent Memory, Virtual Memory in Accelerators

Introduction to Simulators

Sangyeun Cho

Sangyeun Cho

Sangyeun Cho

Sangyeun Cho

Sangyeun Cho

Onur Mutlu, CMU

Onur Mutlu, CMU

Sangyeun Cho

Introduction to gem5

First steps with gem5

Let’s Simulate something

We need:

1. Executable program (checkout array_sum)

2. System Configuration (checkout two_level.py)

3. SIMULATE!

Interpret the Output files

1. Look at config.ini/json/dot

2. Look at stats.txt

3. Look at stdout

How to Make it Faster?

Navigating the Source

Source Folders1. cpu/2. mem/3. mem/protocols/4. arch/