#!/usr/bin/env bash

calc() { awk "BEGIN{print $*}"; }

# GENERAL SETTINGS
# 97500 (65 packets) or 30000 (20 packets)
ecn_threshold=30000
num_flows=500000
intermediary=uniform
FLOWLET_GAP_NS=50000
traffic_flow_size_dist=pfabric_web_search_upper_bound
hybrid_threshold_bytes=100000
k_for_k_shortest_paths=8

# RUNS

############################################################################################################################
############################################################################################################################
############################################################################################################################

# Varying A2A fraction

# #SRV  FT-ToRs     XP-ToRs XP-frac     FT-frac
#
# 80    10          16      0.075       0.08
# 160   20          32      0.15        0.16
# 240   30          48      0.225       0.24
# 320   40          64      0.30        0.32
# 480   60          96      0.445       0.47
# 640   80          128     0.595       0.63
# 800   100         160     0.745       0.785
# 960   120         192     0.8889      0.94
# 1000  125         200     ???         ???
# 1080  IMPOSSIBLE  216     1           IMPOSSIBLE

# 80 servers (10x8, 16x5)
flows_per_s=13333
actservers=80
a2a_fraction_ft_k14=0.09
a2a_fraction_ft=0.08
a2a_fraction_xp=0.075
runtime=`calc ${num_flows} / ${flows_per_s}`;

ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k14.properties run_folder_name=5_pairings_increasing/full_fat_tree_k14_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft_k14}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k16.properties run_folder_name=5_pairings_increasing/full_fat_tree_k16_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_vlb.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_vlb_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ecmp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_ecmp_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ksp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_ksp_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_ksp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_ksp_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_kspns.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_kspns_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

echo "Increasing pairings fraction deployment (${flows_per_s}) finished."

# 160 servers (20x8, 32x5)
flows_per_s=26666
actservers=160
a2a_fraction_ft_k14=0.17
a2a_fraction_ft=0.16
a2a_fraction_xp=0.15
runtime=`calc ${num_flows} / ${flows_per_s}`;

ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k14.properties run_folder_name=5_pairings_increasing/full_fat_tree_k14_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft_k14}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k16.properties run_folder_name=5_pairings_increasing/full_fat_tree_k16_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_vlb.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_vlb_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ecmp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_ecmp_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ksp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_ksp_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_ksp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_ksp_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_kspns.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_kspns_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

echo "Increasing pairings fraction deployment (${flows_per_s}) finished."

# 240 servers (30x8, 48x5)
flows_per_s=40000
actservers=240
a2a_fraction_ft_k14=0.25
a2a_fraction_ft=0.24
a2a_fraction_xp=0.225
runtime=`calc ${num_flows} / ${flows_per_s}`;

ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k14.properties run_folder_name=5_pairings_increasing/full_fat_tree_k14_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft_k14}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k16.properties run_folder_name=5_pairings_increasing/full_fat_tree_k16_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_vlb.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_vlb_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ecmp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_ecmp_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ksp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_ksp_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_ksp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_ksp_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_kspns.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_kspns_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

echo "Increasing pairings fraction deployment (${flows_per_s}) finished."

# 320 servers (40x8, 64x5)
flows_per_s=53333
actservers=320
a2a_fraction_ft_k14=0.33
a2a_fraction_ft=0.32
a2a_fraction_xp=0.3
runtime=`calc ${num_flows} / ${flows_per_s}`;

ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k14.properties run_folder_name=5_pairings_increasing/full_fat_tree_k14_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft_k14}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k16.properties run_folder_name=5_pairings_increasing/full_fat_tree_k16_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_vlb.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_vlb_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ecmp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_ecmp_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ksp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_ksp_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_ksp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_ksp_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_kspns.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_kspns_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

echo "Increasing pairings fraction deployment (${flows_per_s}) finished."

# 480 servers (60x8, 96x5)
flows_per_s=80000
actservers=480
a2a_fraction_ft_k14=0.49
a2a_fraction_ft=0.47
a2a_fraction_xp=0.445
runtime=`calc ${num_flows} / ${flows_per_s}`;

ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k14.properties run_folder_name=5_pairings_increasing/full_fat_tree_k14_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft_k14}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k16.properties run_folder_name=5_pairings_increasing/full_fat_tree_k16_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_vlb.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_vlb_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ecmp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_ecmp_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ksp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_ksp_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_ksp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_ksp_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_kspns.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_kspns_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

echo "Increasing pairings fraction deployment (${flows_per_s}) finished."

# 640 servers (80x8, 128x5)
flows_per_s=106666
actservers=640
a2a_fraction_ft_k14=0.66
a2a_fraction_ft=0.63
a2a_fraction_xp=0.595
runtime=`calc ${num_flows} / ${flows_per_s}`;

ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k14.properties run_folder_name=5_pairings_increasing/full_fat_tree_k14_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft_k14}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k16.properties run_folder_name=5_pairings_increasing/full_fat_tree_k16_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_vlb.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_vlb_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ecmp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_ecmp_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ksp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_ksp_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_ksp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_ksp_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_kspns.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_kspns_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

echo "Increasing pairings fraction deployment (${flows_per_s}) finished."

# 800 servers (100x8, 160x5)
flows_per_s=133333
actservers=800
a2a_fraction_ft_k14=0.82
a2a_fraction_ft=0.785
a2a_fraction_xp=0.745
runtime=`calc ${num_flows} / ${flows_per_s}`;

ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k14.properties run_folder_name=5_pairings_increasing/full_fat_tree_k14_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft_k14}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k16.properties run_folder_name=5_pairings_increasing/full_fat_tree_k16_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_vlb.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_vlb_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ecmp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_ecmp_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ksp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_ksp_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_ksp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_ksp_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_kspns.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_kspns_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

echo "Increasing pairings fraction deployment (${flows_per_s}) finished."

# 960 servers (120x8, 192x5)
flows_per_s=160000
actservers=960
a2a_fraction_ft_k14=0.98
a2a_fraction_ft=0.94
a2a_fraction_xp=0.8889
runtime=`calc ${num_flows} / ${flows_per_s}`;

ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k14.properties run_folder_name=5_pairings_increasing/full_fat_tree_k14_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft_k14}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k16.properties run_folder_name=5_pairings_increasing/full_fat_tree_k16_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_vlb.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_vlb_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ecmp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_ecmp_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ksp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_ksp_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_ksp.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_ksp_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_kspns.properties run_folder_name=5_pairings_increasing/xpander_n216_d11_hybrid_kspns_${k_for_k_shortest_paths}_actservers_${actservers}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

echo "Increasing pairings fraction deployment (${flows_per_s}) finished."

############################################################################################################################
############################################################################################################################
############################################################################################################################

############################################################################################################################
############################################################################################################################
############################################################################################################################

# 30% A2A fraction, load varying

# 320 servers (40x8, 64x5)
actservers=320
a2a_fraction_ft=0.32
a2a_fraction_xp=0.3

flows_per_s=10000
runtime=`calc ${num_flows} / ${flows_per_s}`;

#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k16.properties run_folder_name=6_pairings_30perc/full_fat_tree_k16_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_vlb.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_vlb_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ecmp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_ecmp_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ksp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_ksp_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_ksp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_ksp_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_kspns.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_kspns_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

echo "30% pairings fraction deployment (${flows_per_s}) finished."

flows_per_s=20000
runtime=`calc ${num_flows} / ${flows_per_s}`;

#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k16.properties run_folder_name=6_pairings_30perc/full_fat_tree_k16_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_vlb.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_vlb_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ecmp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_ecmp_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ksp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_ksp_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_ksp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_ksp_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_kspns.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_kspns_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

echo "30% pairings fraction deployment (${flows_per_s}) finished."

flows_per_s=40000
runtime=`calc ${num_flows} / ${flows_per_s}`;

#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k16.properties run_folder_name=6_pairings_30perc/full_fat_tree_k16_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_vlb.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_vlb_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ecmp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_ecmp_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ksp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_ksp_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_ksp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_ksp_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_kspns.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_kspns_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

echo "30% pairings fraction deployment (${flows_per_s}) finished."

flows_per_s=60000
runtime=`calc ${num_flows} / ${flows_per_s}`;

#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k16.properties run_folder_name=6_pairings_30perc/full_fat_tree_k16_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_vlb.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_vlb_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ecmp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_ecmp_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ksp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_ksp_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_ksp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_ksp_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_kspns.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_kspns_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

echo "30% pairings fraction deployment (${flows_per_s}) finished."

flows_per_s=80000
runtime=`calc ${num_flows} / ${flows_per_s}`;

#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k16.properties run_folder_name=6_pairings_30perc/full_fat_tree_k16_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_vlb.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_vlb_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ecmp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_ecmp_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ksp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_ksp_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_ksp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_ksp_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_kspns.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_kspns_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

echo "30% pairings fraction deployment (${flows_per_s}) finished."

flows_per_s=100000
runtime=`calc ${num_flows} / ${flows_per_s}`;

#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k16.properties run_folder_name=6_pairings_30perc/full_fat_tree_k16_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_vlb.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_vlb_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ecmp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_ecmp_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ksp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_ksp_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_ksp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_ksp_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_kspns.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_kspns_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

echo "30% pairings fraction deployment (${flows_per_s}) finished."

flows_per_s=120000
runtime=`calc ${num_flows} / ${flows_per_s}`;

#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k16.properties run_folder_name=6_pairings_30perc/full_fat_tree_k16_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_vlb.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_vlb_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ecmp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_ecmp_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ksp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_ksp_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_ksp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_ksp_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_kspns.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_kspns_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

echo "30% pairings fraction deployment (${flows_per_s}) finished."

flows_per_s=150000
runtime=`calc ${num_flows} / ${flows_per_s}`;

#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k16.properties run_folder_name=6_pairings_30perc/full_fat_tree_k16_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_vlb.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_vlb_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ecmp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_ecmp_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ksp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_ksp_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_ksp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_ksp_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_kspns.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_kspns_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

echo "30% pairings fraction deployment (${flows_per_s}) finished."

flows_per_s=200000
runtime=`calc ${num_flows} / ${flows_per_s}`;

#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/full_fat_tree_k16.properties run_folder_name=6_pairings_30perc/full_fat_tree_k16_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_ft}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_vlb.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_vlb_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ecmp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_ecmp_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_ksp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_ksp_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_ksp.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_ksp_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#ssh user@machine.com "cd /path/to/folder/netbench; screen -d -m ../java/jre1.8.0_131/bin/java -ea -jar NetBench.jar private/runs/5_6_pairings_fraction/xpander_n216_d11_hybrid_kspns.properties run_folder_name=6_pairings_30perc/xpander_n216_d11_hybrid_kspns_${k_for_k_shortest_paths}_flows_${flows_per_s}_runtime_${runtime}s_ecn_threshold_${ecn_threshold}_intermediary_${intermediary}_flowlet_gap_${FLOWLET_GAP_NS} output_port_ecn_threshold_k_bytes=${ecn_threshold} traffic_lambda_flow_starts_per_s=${flows_per_s} run_time_s=${runtime} network_device_intermediary=${intermediary} FLOWLET_GAP_NS=${FLOWLET_GAP_NS} traffic_flow_size_dist=${traffic_flow_size_dist} traffic_probabilities_active_fraction=${a2a_fraction_xp} k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

echo "30% pairings fraction deployment (${flows_per_s}) finished."


############################################################################################################################
############################################################################################################################
############################################################################################################################


