Coder Social home page Coder Social logo

sim's Introduction

This is a simple simulator which models a two level cache hierarchy with prefetcher support.

*
*	How to compile
*
make release 	- for release build
make debug		- for debug build

*
*	How to run
*
Currently sim supports these knobs:

--trace <file>
	It's a mandatory knob. Sim will not run without a trace file.
--hearbeat <int>
	Sets heartbeat interval to supplied value. Default 1,000,000
--begin <n>
	Begins trace processing from here. Default 1
--end <n>
	Ends trace processing here. Default till end.
--trace-dump
	Dumps memtrace in stderr. Not compatible with other knobs except trace.
	Disables cache and prefetcher by default. Hides heartbeat.
--l1trace-dump
	Dumps l1miss memtrace in stderr. Don't use it with other trace dumps.
	Enables cache by default. Hides heartbeat.
--l2trace-dump
	Dumps l2miss memtrace in stderr. Don't use it with other trace dumps.
	Enables cache by default. Hides heartbeat.
--[l1|l2]verbose <n>
	Cache verbose level, from 0-3. Default 0.
--hide-heartbeat
	Hides heart beat stats.
--no-prefetch
	Disables prefetcher.
--no-cache
	Disables cache hierarchy.

You need a trace file to run with this simulator. One sample trace is supplied 
in trace directory. You can also generate more traces using the pintool.

*
*	Implementation
*
Currently sim supports Multi-stream stride prefetcher [Nesbit et.al, HPCA'04] and 
Spatial Memory Streaming [Somogyi et.al, ISCA'06]. For cache model, we used LRU policy.

sim's People

Contributors

rahulbera avatar

Watchers

 avatar

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.