# QoSComm: A Data Flow Allocation Strategy among SDN-Based Data Centers for IoT Big Data Analytics
## 4 Simulation Model and Experimental Setup
### Experiment Setup
\begin{table}
\begin{tabular}{c c c c c c} \hline \hline
**Path ID** & **Network Path** & **Bandwidth (mbps)** & **Delay (ms)** & **PLR** & **Jitter (ms)** \\ \hline
1 & S0, S1, S3, S10, S11, S12, S13 & 100 & 25 & 0 & 0 \\
2 & S0, S1, S3, S10, S11, S13 & 100 & 20 & 0 & 0 \\
3 & S0, S1, S3, S10, S8, S11, S12, S13 & 90 & 29 & 0 & 0 \\
4 & S0, S1, S3, S10, S8, S11, S13 & 90 & 24 & 0 & 0 \\
5 & S0, S1, S4, S3, S10, S11, S12, S13 & 100 & 21 & 0 & 0 \\
6 & S0, S1, S4, S3, S10, S11, S13 & 100 & 16 & 0 & 0 \\
7 & S0, S1, S4, S3, S10, S8, S11, S12, S13 & 90 & 25 & 0 & 0 \\
8 & S0, S1, S4, S3, S10, S8, S11, S13 & 90 & 20 & 0 & 0 \\
9 & S0, S2, S1, S3, S10, S11, S12, S13 & 90 & 20 & 0 & 0 \\
10 & S0, S2, S1, S3, S10, S11, S13 & 90 & 15 & 0 & 0 \\
11 & S0, S2, S1, S3, S10, S8, S11, S12, S13 & 90 & 24 & 0 & 0 \\
12 & S0, S2, S1, S3, S10, S8, S11, S13 & 90 & 19 & 0 & 0 \\
13 & S0, S2, S1, S4, S3, S10, S8, S11, S12, S13 & 90 & 16 & 0 & 0 \\
14 & S0, S2, S1, S4, S3, S10, S11, S13 & 90 & 11 & 0 & 0 \\
15 & S0, S2, S1, S4, S3, S10, S8, S11, S12, S13 & 90 & 20 & 0 & 0 \\
16 & S0, S2, S1, S4, S3, S10, S8, S11, S13 & 90 & 15 & 0 & 0 \\ \hline \hline \end{tabular}
\end{table} 
Table 3: Available network paths from Hosts 1 to 6 in the simulation model. In our experiment, the controller default data flow forwarding method is based on the path with minimum hops from H1 to H6, H2 to H5, and H3 to H4 hosts as referred to in Figure 4.  
The following steps were defined for test execution:  
1. Programming the experimentation topology in Mininet:
2. Create a network topology with two domains (A and B) and one external controller per domain. 3. Run network performance tests from H1 to H6, H2 to H5 and H3 to H4 with IPERF and D-ITG (TCP and UDP) with Controller default data flow forwarding: 1. First, execute individually data transfer test (H1 to H6, then H2 to H5, then H3 to H4). Second, execute the data transfer tests at the same time. Get metrics for the first phase: Get the number of Mbps transferred for a specific period time. 4. Run application performance tests from H1 to H6 host with Controller default data flow forwarding: 1. Get metrics for the second phase: Get MPI application completion time in seconds. 5. Repeat steps 3 and 4, using QoSComm data flow forwarding. 6. Get results. \begin{table}
\begin{tabular}{c c c c c c c} \hline \hline
**Path ID** & **Network Path** & **Bandwidth (mbps)** & **Delay (ms)** & **PLR** & **Jitter (ms)** \\ \hline
1 & S2, S0, S1, S3, S10, S8, S9 & 100 & 23 & 0.002 & 2 \\
2 & S2, S0, S1, S3, S10, S8, S7, S9 & 100 & 28 & 0.005 & 4 \\
3 & S2, S0, S1, S3, S10, S11, S8, S9 & 90 & 29 & 0.002 & 2 \\
4 & S2, S0, S1, S3, S10, S11, S8, S7, S9 & 90 & 34 & 0.005 & 4 \\
5 & S2, S0, S1, S4, S3, S10, S8, S9 & 100 & 19 & 0.002 & 2 \\
6 & S2, S0, S1, S4, S3, S10, S8, S7, S9 & 100 & 24 & 0.005 & 2 \\
7 & S2, S0, S1, S4, S3, S10, S11, S8, S9 & 90 & 25 & 0.002 & 2 \\
8 & S2, S0, S1, S4, S3, S10, S11, S8, S7, S9 & 90 & 30 & 0.005 & 4 \\
9 & S2, S1, S3, S10, S8, S9 & 90 & 16 & 0.002 & 2 \\
10 & S2, S1, S3, S10, S8, S7, S9 & 90 & 21 & 0.005 & 4 \\
11 & S2, S1, S3, S10, S11, S8, S9 & 90 & 22 & 0.002 & 2 \\
12 & S2, S1, S3, S10, S11, S8, S7, S9 & 90 & 27 & 0.005 & 4 \\
13 & S2, S1, S4, S3, S10, S8, S9 & 90 & 12 & 0.002 & 2 \\
14 & S2, S1, S4, S3, S10, S8, S7, S9 & 90 & 17 & 0.005 & 4 \\
15 & S2, S1, S4, S3, S10, S11, S8, S9 & 90 & 18 & 0.002 & 2 \\
16 & S2, S1, S4, S3, S10, S11, S8, S7, S9 & 90 & 23 & 0.005 & 4 \\ \hline \hline \end{tabular}
\end{table} 
Table 4: Available network paths from Hosts 2 to 5 in the simulation model. \begin{table}
\begin{tabular}{c c c c c c c} \hline \hline
**Path ID** & **Network Path** & **Bandwidth (mbps)** & **Delay (ms)** & **PLR** & **Jitter (ms)** \\ \hline
1 & S6, S5, S4, S1, S3, S10, S11, S8, S9, S7 & 90 & 34 & 0.011 & 7 \\
2 & S6, S5, S4, S1, S3, S10, S11, S8, S7 & 90 & 29 & 0.008 & 5 \\
3 & S6, S5, S4, S1, S3, S10, S8, S9, S7 & 100 & 28 & 0.011 & 7 \\
4 & S6, S5, S4, S1, S3, S10, S8, S7 & 100