Skip to content

gem5-based simulation study of Matrix–Matrix Multiplication (MM) across CPU models, clock frequencies, and memory hierarchies (DDR3/DDR4/DDR5). Includes config scripts, automation, stats collection, plots, and final report.

License

Notifications You must be signed in to change notification settings

RohitPatidar123-hub/gem5-cpu-mem-analysis

Repository files navigation

Lab One: Familiarization with gem5

Course Assignment
Rohit Patidar (Roll No. 2024JCS2042)


📌 Overview

This assignment explores the gem5 simulator by running a Matrix–Matrix multiplication (MM) workload across different CPU models, CPU frequencies, and memory configurations.
The objective is to measure how performance (runtime, IPC, CPI, cache miss rates, DRAM bandwidth) varies under different architectural parameters.


🔧 Setup & Build

We followed the official gem5 build guide:
👉 gem5 Documentation – Building

# Clone gem5
git clone https://gem5.googlesource.com/public/gem5
cd gem5

# Build ARM target (for aarch64 workloads)
scons build/ARM/gem5.opt -j$(nproc)

# Verify build
./build/ARM/gem5.opt --version

About

gem5-based simulation study of Matrix–Matrix Multiplication (MM) across CPU models, clock frequencies, and memory hierarchies (DDR3/DDR4/DDR5). Includes config scripts, automation, stats collection, plots, and final report.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published