Code Monkey home page Code Monkey logo

dr-gather-scatter-trace's Introduction

DynamoRio Gather/Scatter Trace Tool

This repository provides an example of how to use DynamoRio to generate gather/scatter patterns that can be used either with a simulator or with the Spatter gather/scatter benchmark suite.

Getting Started

Please read through the following documentation pages:

Motivation for this Tool

The figure here shows our current state-of-the-art (top) and our desired tool workflow (bottom). We typically generate large memory traces to try and replicate useful memory behaviors from applications. With our current workflow, we might use a tool like DynamoRio or Pin to generate memory traces and then feed those into a simulator. In our desired workflow, we would like to parse memory traces in an online fashion to generate representive sparse access patterns. These patterns can then be used as inputs to architectural simulators (via tools like SST's Miranda trace generator) or sparse access benchmark suites like our Spatter benchmark.

This tool attempts to provide the means to parse applications in a reasonable amount of time and then provide reusable patterns that can be used to investigate and validate performance for a specific computer architecture.

Related Work

Acknowledgments

This work is sponsored by NSF OAC-1710371 and a contract with Sandia National Laboratories.

dr-gather-scatter-trace's People

Contributors

huangvincent170 avatar jyoung3131 avatar plavin avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dr-gather-scatter-trace's Issues

Feature Wishlist

These things would be awesome to have, but obviuosly some are more involved than others. I've listed them in order of increasing difficulty.

  • Integrate histogram/binning into DR client so that no trace is written
  • SVE support
  • Add some sort of visualization, such as a plot that can help users interpret how irregular the stream is. Sort of like generating a visual program signature, akin to the plots used in SuiteSparse.
  • Trace all memory access, not just g/s
  • Capture dependency information, so that a dag of references can be built

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.