https://github.com/long-gong/switch-simulator-qps-r
(Input-Queued) Switch Simulator
https://github.com/long-gong/switch-simulator-qps-r
cpp scheduling simulator switching
Last synced: 9 months ago
JSON representation
(Input-Queued) Switch Simulator
- Host: GitHub
- URL: https://github.com/long-gong/switch-simulator-qps-r
- Owner: long-gong
- Created: 2020-08-15T06:05:06.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-15T21:41:18.000Z (almost 6 years ago)
- Last Synced: 2025-03-09T08:40:59.295Z (over 1 year ago)
- Topics: cpp, scheduling, simulator, switching
- Language: C++
- Homepage: https://github.com/long-gong/switch-simulator-qps-r
- Size: 121 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# (INPUT-QUEUED) SWITCH SIMULATOR for QPS-r
[](https://travis-ci.org/long-gong/switch-simulator-qps-r)
Simulation codes for our switching paper:
Long Gong, Jun (Jim) Xu, Liang Liu, and Siva Theja Maguluri. 2020. QPS-r: A Cost-Effective Iterative Switching Algorithm for Input-Queued Switches. In Proceedings of the 13th EAI International Conference on Performance Evaluation Methodologies and Tools (VALUETOOLS ’20). Association for Computing Machinery, New York, NY, USA, 19–26. DOI:https://doi.org/10.1145/3388831.3388836
## Platforms
This project supports the following platforms
* Linux
* Max OS X
## Dependencies
* [HdrHistogram_c](https://github.com/HdrHistogram/HdrHistogram_c.git)
* [json](https://github.com/nlohmann/json.git)
* [boost-graph](https://github.com/boostorg/graph)
* [Catch2](https://github.com/catchorg/Catch2)
Dependencies can be installed by
```bash
chmod +x ./install_dependencies.sh
./install_dependencies.sh
```
## Build
```bash
mkdir build
cd build
cmake ..
make
```
## Run
```bash
./switch_simulator
```
`` is a configuration file in `JSON` format. Examples of configurations can be found in [experiments](./experiments)