Download presentation
Presentation is loading. Please wait.
1
GEM5 Assignment 2016
2
MOTO Architecture Exploration in Multicore Processors
3
Two Phases Assignment There will be two phases and two deadlines!
Phase 1 due on 8th Jan. No late submission will be approved
4
Two Phases Assignment There will be two phases and two deadlines!
Phase 1 due on 8th Jan. No late submission will be approved Phase 2 will due on 22nd Jan. Requires more effort
5
Assignment Phase 1 Optimizing the System Cache
6
JPEG Compression ARM A9 ARM A15
7
Modify Cache Size & Associativity
JPEG Compression ARM A9 ARM A15 Modify Cache Size & Associativity
8
JPEG Compression ARM A9 ARM A15 Modify Cache Size & Associativity
Trade Off : Cost vs Performance
9
Getting Started Download gem.ovf. Import it to your virtualbox.
Ubuntu is installed. Username & Password : eca Check folders “gem5”, “arm_apps” & “jpeg” in home directory. Find jpeg source file in /home/eca/jpeg/jpeg_6a.
10
Gem5 Configuration File
Found in /home/eca/gem5/configs/example. First use armA9.py for ARM A9. Later modify this configuration file for ARM A15.
11
Compiling for ARM Compiling “helloworld.c”
arm-linux-gnueabi-gcc helloworld.c -static -lc -o helloworld Use makefile for compiling jpeg source code. make –f Makefile.arm Directory should be /home/eca/jpeg/jpeg_6a
12
Running Applications Requires (a) gem5 configuration file
(b) binary of the application Use the following command from home directory. /home/eca/gem5/built/ARM/gem5.opt PATH TO CONFIG FILE -c PATH TO BINARY FILE
13
Assignment Phase 2 Mapping the JPEG Compression on Multicore CPU Systems
14
JPEG Compression ARM A9 ARM A9 ARM A9
15
JPEG Compression Which one is better? ARM A15 ARM A9 ARM A9 ARM A9
16
You will answer after phase2!
JPEG Compression ARM A9 ARM A9 ARM A9 ARM A15 ARM A9 You will answer after phase2!
17
Multithreading
18
Multithreading pthread_create pthread_exit pthread_join
pthread_mutex_init pthread_mutex_lock pthread_mutex_unlock
19
Resources Assignment details and guideline
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.