No description
Find a file
2019-03-20 09:08:32 +01:00
scripts Rework experiment logic 2019-03-15 09:39:23 +01:00
src Fix timer logic 2019-03-20 09:08:32 +01:00
.gitignore Add a gitignore 2019-02-21 14:27:09 +01:00
CMakeLists.txt Merge branch 'master' of gitlab.inria.fr:qdufour/donar 2019-03-11 10:45:27 +01:00
Dockerfile Add test scripts 2019-03-11 15:41:42 +01:00
README.md We are docker 2019-03-06 18:32:19 +01:00
torrc_simple Less log, fix buffer packet management 2019-02-20 09:34:10 +01:00

Donar

Linphone configuration

Choose a SIP UDP, Audio RTP/UDP and Video RTP/UDP that is different between your clients. Go to manage account. Add a new SIP proxy.

Username: <username>@127.13.3.7:<SIP_PORT>
Proxy: 127.13.3.7:<SIP_PORT>
Leave the rest empty.
Uncheck all the checkboxes.

Docker build

sudo docker build -t registry.gitlab.inria.fr/qdufour/donar .
sudo docker push registry.gitlab.inria.fr/qdufour/donar
mkdir -p ./{xp1-shared,xp1-res}
sudo chown -R 1000 ./{xp1-shared,xp1-res}

sudo docker run -t -i \
  --privileged \
  -v `pwd`/xp1-shared:/home/donar/shared \
  registry.gitlab.inria.fr/qdufour/donar \
  xp1-server
 
sudo docker run -t -i \
  --privileged \
  -v `pwd`/xp1-res:/home/donar/res \
  -v `pwd`/xp1-shared:/home/donar/shared \
  registry.gitlab.inria.fr/qdufour/donar \
  xp1-client 1000 100 100

Run an XP instance

sudo ./scripts/xp1 1000 100 100

Run instances in parallel

parallel -j 30 bash -c "./scripts/xp1 1000 100 100" -- `seq 1 1000`
parallel -j 10 bash -c "./xp1 6000 100 100" -- `seq 1 100`