Code Monkey home page Code Monkey logo

simplemanycoresim's Introduction

This was a final project for Advanced Computer Architecture at NTU in the 2012-1 semester.

Goal of the project was to design, implement and (partly) test a new Many-Core CPU model with L2 caches shared between all cores of a block (a block being a rectangular subset of cores).

The endgame goal was to automatically load balance L2-cache blocking by modeling the L2 cache as a fluid, and then optimizing it using a simplified version of the Navier-Stokes equations, where pressure could be modeled as a combination of (a) cache miss rate and/or (b) router congestion.

Link: Final Report (pdf)

TODO LIST:

  • Add include guards to header files

  • Add include files

  • Modify ARMulator

    • Merge MMU modifications
    • Merge CPU modifications
  • Fill in all TODOs and obvious compiler errors

    • How to design the Address class? Can we do bitwise packing?
    • foreach
    • Some more

Important tasks: - Create & run benchmarks -> Several matmuls with matrices of different sizes -> Run benchmarks with all kinds of different settings - Take stats from sim* variables and average them over tasks (especially: Cache, MMU, Router) - Print screenshots of simulation stats to file -> Visualize results using Matlab - Do not send a request to memory on L2 miss, if it is already being requested?

Less important: Extras: - Reduce congestion by batching multiple requests to the same line into a single packet

Far-away extras:
    - Add associativity to caches & good cache replacement algorithm
    - Broadcasts
    - Cache coherence
    - Allow for dynamic Core Block sizes
        - Scheduler must core block sizes against capacity miss rates
    - Produce compiler that understands the new paradigm annotations and can automatically instrument the code with place holders

Comparison to proposal - No broadcast - No cache coherence - No __syncthreads() instruction - Only simulate load, not store

simplemanycoresim's People

Contributors

loganchien avatar jeroend-be avatar domiii avatar

Watchers

 avatar James Cloos avatar

Forkers

loganchien

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.