Archer:M5 and mcpat

From Grid-Appliance Wiki

Jump to: navigation, search

Contents

Introduction

Overview: This tutorial guides the user through setting up M5 and mcpat on the Archer Grid Appliance.

M5 and mcpat

M5 is a modular platform for computer system architecture research, encompassing system-level architecture as well as processor microarchitecture. McPAT (Multicore Power, Area, and Timing) is an integrated power, area, and timing modeling framework for multithreaded, multicore, and manycore architectures. It models power, area, and timing simultaneously and consistently and supports comprehensive early stage design space exploration for multicore and manycore processor configurations ranging from 90nm to 22nm and beyond.

Getting Started

  1. Download and install VMware Player
  2. Download the grid appliance
  3. Unzip and run the appliance. You will automatically be logged in with the default username 'griduser' and password 'password'
  4. Install the required libraries and the M5 and McPAT pre-compiled binaries (simulating Alpha architecture)
sudo apt-get update
sudo apt-get install g++ python python-dev scons swig zlib1g-dev m4 make mercurial

cd /home/griduser
wget http://acis.ufl.edu/~girish/m5-stable_archer.tar.gz
tar -xzf m5-stable_archer.tar.gz
sudo mv m5-stable/dist /
sudo chown -R griduser:griduser /dist 
mv m5-stable/append_hgrc .hgrc
cd m5-stable
scons build/ALPHA_FS/tests/opt/quick/10.linux-boot

cd /home/griduser
wget http://acis.ufl.edu/~girish/mcpat0.7_rev245_archer.tar.gz
tar -xzf  mcpat0.7_rev245_archer.tar.gz
cd mcpat0.7
./mcpat -infile Alpha21364.xml -print_level 5

Registering with Archer

The grid appliance image used in the previous section does not require the user to be a registered Archer user. However, this grid appliance connects to only a small pool of machines to which the user can submit simulation jobs. Becoming a registered user of Archer has additional benefits including a significantly larger pool of machines and access to simulators like Simics which require licenses.

Kindly see the detailed wiki entry on using Simics on Archer for further information.

Personal tools