-
Notifications
You must be signed in to change notification settings - Fork 2
/
run-lte-epc.sh
63 lines (58 loc) · 1.89 KB
/
run-lte-epc.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/bin/bash
#Alaa Khreis
#alaa_khreis@hotmail.com
#Go to the scratch folder / environement dependant
#Change this to your ns-3.19 directory
cd "/root/workspace/ns-allinone-3.19/ns-3.19"
#Run the simulation with all the schedulers
echo 1 | ./waf --run scratch/lte-epc --cwd lte-epc-output/FdMtFfMacScheduler
echo 2 | ./waf --run scratch/lte-epc --cwd lte-epc-output/TdMtFfMacScheduler
echo 3 | ./waf --run scratch/lte-epc --cwd lte-epc-output/TtaFfMacScheduler
echo 4 | ./waf --run scratch/lte-epc --cwd lte-epc-output/FdBetFfMacScheduler
echo 5 | ./waf --run scratch/lte-epc --cwd lte-epc-output/TdBetFfMacScheduler
echo 6 | ./waf --run scratch/lte-epc --cwd lte-epc-output/RrFfMacScheduler
echo 7 | ./waf --run scratch/lte-epc --cwd lte-epc-output/FdTbfqFfMacScheduler
echo 8 | ./waf --run scratch/lte-epc --cwd lte-epc-output/TdTbfqFfMacScheduler
echo 9 | ./waf --run scratch/lte-epc --cwd lte-epc-output/PssFfMacScheduler
echo 10 | ./waf --run scratch/lte-epc --cwd lte-epc-output/PfMacScheduler
#Gnuplot the Throughput for all the UEs
cd lte-epc-output/FdMtFfMacScheduler
gnuplot throughput_plot_script.gnuplot
cd ..
cd ..
cd lte-epc-output/TdMtFfMacScheduler
gnuplot throughput_plot_script.gnuplot
cd ..
cd ..
cd lte-epc-output/TtaFfMacScheduler
gnuplot throughput_plot_script.gnuplot
cd ..
cd ..
cd lte-epc-output/FdBetFfMacScheduler
gnuplot throughput_plot_script.gnuplot
cd ..
cd ..
cd lte-epc-output/TdBetFfMacScheduler
gnuplot throughput_plot_script.gnuplot
cd ..
cd ..
cd lte-epc-output/RrFfMacScheduler
gnuplot throughput_plot_script.gnuplot
cd ..
cd ..
cd lte-epc-output/FdTbfqFfMacScheduler
gnuplot throughput_plot_script.gnuplot
cd ..
cd ..
cd lte-epc-output/TdTbfqFfMacScheduler
gnuplot throughput_plot_script.gnuplot
cd ..
cd ..
cd lte-epc-output/PssFfMacScheduler
gnuplot throughput_plot_script.gnuplot
cd ..
cd ..
cd lte-epc-output/PfMacScheduler
gnuplot throughput_plot_script.gnuplot
cd ..
cd ..