Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 984 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 984 Bytes

cache-sim: Event-Driven Simulation for object store cache

cache-sim is an datacenter-scale cache architecture simulation for hierarchical network topologies. The simulation framework is implemented using simpy which is a process-based discrete-event simulation based on Python.

File Inventory:

  • config.ini - Config File
  • trase.sample2 - Sample Trace File
  • simulator.py - Main simulator code which executes the simulator

Prerequisites:

Install all the required dependencies:

pip install -r requirements.txt

Configuring Simulation For Your Enviroment

Edit 'config.ini' for your environment. Certain variables must be configured for your test environment.

Input Trace File Format

  • trase.sample2 - Sample trace.

Each line represents "Read, Write, Delete" requests. Simulator read the trace and start issuing these requests.

Usage

python simulator.py -c <config_file> -t <trace_file>