GithubHelp home page GithubHelp logo

zqj2333 / panda Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 1.0 1.28 MB

PANDA: Architecture-Level Power Evaluation by Unifying Analytical and Machine Learning Solutions

License: GNU General Public License v3.0

Python 100.00%

panda's Introduction

The repo has been moved to https://github.com/hkust-zhiyao/PANDA

PANDA

Power efficiency is a critical design objective in modern microprocessor design. To evaluate the impact of architectural-level design decisions, an accurate yet efficient architecture-level power model is desired. However, widely adopted data-independent analytical power models like McPAT and Wattch have been criticized for their unreliable accuracy. While some machine learning (ML) methods have been proposed for architecture-level power modeling, they rely on sufficient known designs for training and perform poorly when the number of available designs is limited, which is typically the case in realistic scenarios. PANDA is an architecture-level power evaluation method by unifying analytical and machine learning solutions. We propose PANDA, an innovative architecture-level solution that combines the advantages of analytical and ML power models. It achieves unprecedented high accuracy on unknown new designs even when there are very limited designs for training, which is a common challenge in practice.

Introduction

The modeling flow of McPAT-Calib can be divided into two parts, the focus is on PANDA Power Evaluation:

  1. Microarchitecture Simulation: Use the microarchitecture simulator (gem5) to complete the simulation of the given BOOM microarchitecture configuration and benchmark.
  2. PANDA Power Evaluation: Using the configuration parameters and events generated by the microarchitecture simulator to predict the power consumption.

Quick Start

We prepared a example dataset in "example_data", with feature_set and label_set. So you can just run the PANDA power model, the result will be visulized as figures in "result_figure". (The example dataset is coming soon!)

cd power_model
python PANDA.py

panda's People

Contributors

zqj2333 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

eltociear

panda's Issues

The example codes do not work

Hi,

I am interested in your work and would like to explore the flow within your framework. However, it appears that certain files are missing, and the provided examples are not functioning properly.

To be more precise,

  1. the file panda_feature.npy is referenced in ./power_model/PANDA.py, but it appears to be absent from the repository.
  2. I couldn't find files named 1_run_gem5.py and 2_run_mcpat.py within the ./arch_sim_flow directory.

Is it possible that these files were inadvertently omitted from the repository?

Thank you for your attention to this matter.

Best regards,
Jiacong

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.