D3NSim is a multi-layer 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.
- config.ini - Config File
- simulator.py - Main simulator code which executes the simulator
- multiRun.py - Run simulator with multiple configuration settings in parallel
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.
- sample.input - Sample trace.
Each line represents "4M" object requests. Simulator read the trace and start issuing these requests.
python simulator.py -c <config_file>
Please refer to D3NSim wiki for details.
- Edit 'data' variable on multiRun.py. 'multiRun.py' will create separate config file per test case and store the log and result of each run in a seperate file.
python multiRun.py
- Displayin Results The script parses result.txt_ files and displays results in a single table.
./par.sh