#!/usr/bin/env bash

#!/usr/bin/env bash

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

################################################################
### GENERAL SETTINGS

# 97500 (65 packets) or 30000 (20 packets)
ecn_threshold=30000
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


################################################################
### ONLY TWO TORS COMMUNICATING: FAIL CASE FOR ECMP

# 10 servers (2x5 expander, 2x5 fat-tree)
actservers=10
a2a_fraction_ft=0.02
a2a_fraction_xp=0.01
num_flows=80000
traffic_gen=all_to_all_fraction

flows_per_s=100
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/1_failcases/full_fat_tree_k16.properties run_folder_name=1_failcases/tiny_frac/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_file=private/data/pair_distributions/s320_two_tors_probabilities.txt"
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/1_failcases/xpander_n216_d11_vlb.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
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/1_failcases/xpander_n216_d11_ecmp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#hybrid_threshold_bytes=100000
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#hybrid_threshold_bytes=2434900
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_hybrid_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

flows_per_s=200
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/1_failcases/full_fat_tree_k16.properties run_folder_name=1_failcases/tiny_frac/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_file=private/data/pair_distributions/s320_two_tors_probabilities.txt"
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/1_failcases/xpander_n216_d11_vlb.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
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/1_failcases/xpander_n216_d11_ecmp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#hybrid_threshold_bytes=100000
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#hybrid_threshold_bytes=2434900
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_hybrid_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

flows_per_s=500
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/1_failcases/full_fat_tree_k16.properties run_folder_name=1_failcases/tiny_frac/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_file=private/data/pair_distributions/s320_two_tors_probabilities.txt"
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/1_failcases/xpander_n216_d11_vlb.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
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/1_failcases/xpander_n216_d11_ecmp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#hybrid_threshold_bytes=100000
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#hybrid_threshold_bytes=2434900
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_hybrid_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

flows_per_s=1000
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/1_failcases/full_fat_tree_k16.properties run_folder_name=1_failcases/tiny_frac/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_file=private/data/pair_distributions/s320_two_tors_probabilities.txt"
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/1_failcases/xpander_n216_d11_vlb.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
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/1_failcases/xpander_n216_d11_ecmp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#hybrid_threshold_bytes=100000
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#hybrid_threshold_bytes=2434900
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_hybrid_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

flows_per_s=1500
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/1_failcases/full_fat_tree_k16.properties run_folder_name=1_failcases/tiny_frac/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_file=private/data/pair_distributions/s320_two_tors_probabilities.txt"
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/1_failcases/xpander_n216_d11_vlb.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
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/1_failcases/xpander_n216_d11_ecmp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#hybrid_threshold_bytes=100000
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#hybrid_threshold_bytes=2434900
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_hybrid_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

flows_per_s=2000
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/1_failcases/full_fat_tree_k16.properties run_folder_name=1_failcases/tiny_frac/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_file=private/data/pair_distributions/s320_two_tors_probabilities.txt"
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/1_failcases/xpander_n216_d11_vlb.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
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/1_failcases/xpander_n216_d11_ecmp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#hybrid_threshold_bytes=100000
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#hybrid_threshold_bytes=2434900
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_hybrid_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

flows_per_s=3000
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/1_failcases/full_fat_tree_k16.properties run_folder_name=1_failcases/tiny_frac/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_file=private/data/pair_distributions/s320_two_tors_probabilities.txt"
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/1_failcases/xpander_n216_d11_vlb.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
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/1_failcases/xpander_n216_d11_ecmp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#hybrid_threshold_bytes=100000
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#hybrid_threshold_bytes=2434900
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_hybrid_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

flows_per_s=4000
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/1_failcases/full_fat_tree_k16.properties run_folder_name=1_failcases/tiny_frac/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_file=private/data/pair_distributions/s320_two_tors_probabilities.txt"
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/1_failcases/xpander_n216_d11_vlb.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
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/1_failcases/xpander_n216_d11_ecmp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#hybrid_threshold_bytes=100000
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#hybrid_threshold_bytes=2434900
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_hybrid_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/full_fat_tree_k16.properties run_folder_name=1_failcases/tiny_frac/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_file=private/data/pair_distributions/s320_two_tors_probabilities.txt"
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/1_failcases/xpander_n216_d11_vlb.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
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/1_failcases/xpander_n216_d11_ecmp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#hybrid_threshold_bytes=100000
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#hybrid_threshold_bytes=2434900
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_hybrid_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"


################################################################
### MANY TORS COMMUNICATING: FAIL CASE FOR VLB

# 1000 servers (200x5 expander, 125x8 fat-tree)
num_flows=600000
traffic_gen=all_to_all_fraction
actservers=1000
a2a_fraction_ft=0.98
a2a_fraction_xp=0.93

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/1_failcases/full_fat_tree_k16.properties run_folder_name=1_failcases/tiny_frac/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_file=private/data/pair_distributions/s320_two_tors_probabilities.txt"
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/1_failcases/xpander_n216_d11_vlb.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
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/1_failcases/xpander_n216_d11_ecmp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#hybrid_threshold_bytes=100000
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#hybrid_threshold_bytes=2434900
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_hybrid_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

flows_per_s=50000
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/1_failcases/full_fat_tree_k16.properties run_folder_name=1_failcases/tiny_frac/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_file=private/data/pair_distributions/s320_two_tors_probabilities.txt"
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/1_failcases/xpander_n216_d11_vlb.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
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/1_failcases/xpander_n216_d11_ecmp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#hybrid_threshold_bytes=100000
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#hybrid_threshold_bytes=2434900
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_hybrid_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

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/1_failcases/full_fat_tree_k16.properties run_folder_name=1_failcases/tiny_frac/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_file=private/data/pair_distributions/s320_two_tors_probabilities.txt"
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/1_failcases/xpander_n216_d11_vlb.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
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/1_failcases/xpander_n216_d11_ecmp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#hybrid_threshold_bytes=100000
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#hybrid_threshold_bytes=2434900
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_hybrid_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

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/1_failcases/full_fat_tree_k16.properties run_folder_name=1_failcases/tiny_frac/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_file=private/data/pair_distributions/s320_two_tors_probabilities.txt"
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/1_failcases/xpander_n216_d11_vlb.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
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/1_failcases/xpander_n216_d11_ecmp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#hybrid_threshold_bytes=100000
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#hybrid_threshold_bytes=2434900
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_hybrid_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

flows_per_s=300000
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/1_failcases/full_fat_tree_k16.properties run_folder_name=1_failcases/tiny_frac/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_file=private/data/pair_distributions/s320_two_tors_probabilities.txt"
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/1_failcases/xpander_n216_d11_vlb.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
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/1_failcases/xpander_n216_d11_ecmp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#hybrid_threshold_bytes=100000
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#hybrid_threshold_bytes=2434900
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_hybrid_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

flows_per_s=400000
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/1_failcases/full_fat_tree_k16.properties run_folder_name=1_failcases/tiny_frac/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_file=private/data/pair_distributions/s320_two_tors_probabilities.txt"
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/1_failcases/xpander_n216_d11_vlb.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
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/1_failcases/xpander_n216_d11_ecmp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#hybrid_threshold_bytes=100000
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#hybrid_threshold_bytes=2434900
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_hybrid_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"

flows_per_s=500000
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/1_failcases/full_fat_tree_k16.properties run_folder_name=1_failcases/tiny_frac/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_file=private/data/pair_distributions/s320_two_tors_probabilities.txt"
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/1_failcases/xpander_n216_d11_vlb.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
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/1_failcases/xpander_n216_d11_ecmp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#hybrid_threshold_bytes=100000
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
#hybrid_threshold_bytes=2434900
#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/1_failcases/xpander_n216_d11_hybrid.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} routing_ecmp_then_valiant_switch_threshold_bytes=${hybrid_threshold_bytes} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false"
#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/1_failcases/xpander_n216_d11_hybrid_kspns.properties run_folder_name=1_failcases/tiny_frac/xpander_n216_d11_hybrid_${hybrid_threshold_bytes}_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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false 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/1_failcases/xpander_n216_d11_hybrid_ksp.properties run_folder_name=1_failcases/tiny_frac/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_generator=${traffic_gen} traffic_probabilities_active_fraction=${a2a_fraction_xp} traffic_probabilities_active_fraction_is_ordered=false k_for_k_shortest_paths=${k_for_k_shortest_paths} routing_ecmp_then_source_routing_switch_threshold_bytes=${hybrid_threshold_bytes}"
