Skip to content

ekaynar/cache-sim

Repository files navigation

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>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages