mirror of
https://github.com/Enidsky/qsccp.git
synced 2026-06-18 03:00:30 +08:00
opensource
QoS-aware Congestion Control Protocol (QSCCP) for ICN
Compile and Run
-
Prerequisites:
-
Ubuntu 20.04:
sudo apt install gir1.2-goocanvas-2.0 gir1.2-gtk-3.0 libgirepository1.0-dev python3-dev python3-gi python3-gi-cairo python3-pip python3-pygraphviz python3-pygccxml libsqlite3-dev libssl-dev libboost-all-dev sudo pip3 install kiwi
-
-
Pull Code:
git clone https://github.com/Enidsky/qsccp.git cd qsccp git submodule update --init --recursive -
Compile and install
-
debug mode (slow but have log)
cd ns-3 # arm64 Linux => ./waf configure -d debug --boost-libs=/usr/lib/aarch64-linux-gnu ./waf configure -d debug # The first compilation must use ./waf to compile, otherwise there will be permission problems ./waf sudo ./waf install -
optimized mode (fast but have no log)
cd ns-3 # arm64 Linux => ./waf configure -d optimized --boost-libs=/usr/lib/aarch64-linux-gnu ./waf configure -d optimized # The first compilation must use ./waf to compile, otherwise there will be permission problems ./waf sudo ./waf install
-
-
Config Path
-
Open
~/.bashrcby vimvim ~/.bashrc -
Jump to last line of
~/.bashrcuseshift + G -
Add the following two lines at the end of the file
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH -
Save and quit vim.
-
Execute the following command to make the configuration effective:
source ~/.bashrc
-
-
Run scenario code
-
debug mode (slow but have log)
cd ../scenario ./waf configure --debug ./waf --run=test # ./waf --run=test --vis -
optimized mode (fast but does not contain logs)
cd ../scenario ./waf configure ./waf --run=test # ./waf --run=test --vis
-
Benchmarks
Description
Languages
C++
92%
Python
3.8%
C
1.2%
Perl
0.8%
CMake
0.8%
Other
1.2%