wb_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. For now, it only simulates read operations, but we are working on adding write and delete operations.
- config.ini - Config File
- trase0 - Sample Trace File
- wb_sim.py - Main simulator code which executes the simulator
Install all the required dependencies:
pip install -r requirements.txt
Edit 'config.ini' for your environment. Certain variables must be configured for your test environment. The most important ones are the number of cache servers (which also should be equal to compute nodes.), the size of each cache server, and the trace file for each cache server.
-
Job_ID, mapper_number, size, objectName, userName, worklodName, operation
mapper_number should be removed and it can be anything. We calculate it in the simulator.
operation can be "read, write, delete" requests. For now, only read is working correctly.
-
To Do:
Update write and delete opertions.
Clean the code
python3 wb_sim.py -c <configFile>