server_port = 23444 qps = 750000 # paths test_dir = "/tmp/tests.d/" file_dir = os.path.dirname(os.path.realpath(__file__)) root_dir = file_dir + "/../../" sample_filename = "sample.txt" pmc = ["MEM_LOAD_RETIRED.L2_MISS", "MEM_LOAD_RETIRED.L3_MISS", "LONGEST_LAT_CACHE.REFERENCE"] sched = [ "queue0", tc.make_sched_flag(tc.SCHED_QUEUE, 0), "vanilla", -1, "cpu0", tc.make_sched_flag(tc.SCHED_CPU, 0), #"cpu0_ws2", tc.make_sched_flag(tc.SCHED_CPU, 0, feat=tc.SCHED_FEAT_WS, fargs=2), #"cpu2_ws2", tc.make_sched_flag(tc.SCHED_CPU, 2, feat=tc.SCHED_FEAT_WS, fargs=2), #"best2", tc.make_sched_flag(tc.SCHED_BEST, 2), #"best2_ws2", tc.make_sched_flag(tc.SCHED_BEST, 2, feat=tc.SCHED_FEAT_WS, fargs=2), #"q0_ws4", tc.make_sched_flag(tc.SCHED_QUEUE, 0, feat=tc.SCHED_FEAT_WS, fargs=2), #"queue2", tc.make_sched_flag(tc.SCHED_QUEUE, 2), #"q2_ws2", tc.make_sched_flag(tc.SCHED_QUEUE, 2, feat=tc.SCHED_FEAT_WS, fargs=2), #"cpu0_ws2", tc.make_sched_flag(tc.SCHED_CPU, 0, feat=tc.SCHED_FEAT_WS, fargs=2), #"cpu2", tc.make_sched_flag(tc.SCHED_CPU, 2), #"rand", make_sched_flag(0, 0), ] master = ["skylake2"]
import libtc as tc # paths test_dir = "/tmp/tests.d" file_dir = os.path.dirname(os.path.realpath(__file__)) root_dir = file_dir + "/../../" sample_filename = "sample.txt" sched = [ #"linox", -2, #"arachne", -3, "vanilla", -1, "queue0", tc.make_sched_flag(tc.SCHED_QUEUE, 0), "cpu0", tc.make_sched_flag(tc.SCHED_CPU, 0), #"best2", tc.make_sched_flag(tc.SCHED_BEST, 2), #"queue2", tc.make_sched_flag(tc.SCHED_QUEUE, 2), #"cpu2", tc.make_sched_flag(tc.SCHED_CPU, 2), "q0_ws", tc.make_sched_flag(tc.SCHED_QUEUE, 0, feat=tc.SCHED_FEAT_WS, fargs=1), #"q2_ws", tc.make_sched_flag(tc.SCHED_QUEUE, 2, feat=tc.SCHED_FEAT_WS, fargs=1), "cpu0_ws", tc.make_sched_flag(tc.SCHED_CPU, 0, feat=tc.SCHED_FEAT_WS, fargs=1), #"cpu2_ws", tc.make_sched_flag(tc.SCHED_CPU, 2, feat=tc.SCHED_FEAT_WS, fargs=1), #"best2_ws", tc.make_sched_flag(tc.SCHED_BEST, 2, feat=tc.SCHED_FEAT_WS, fargs=1), #"rand", make_sched_flag(0, 0), ]
term_pct = 1 inc_pct = 50 server_port = 23444 # paths test_dir = "/tmp/tests.d/" file_dir = os.path.dirname(os.path.realpath(__file__)) root_dir = file_dir + "/../../" sample_filename = "sample.txt" sched = [ #"vanilla", -1, #"queue0", tc.make_sched_flag(tc.SCHED_QUEUE, 0), #"cpu0_ws4", tc.make_sched_flag(tc.SCHED_CPU, 0, feat=tc.SCHED_FEAT_WS, fargs=1), "cpu2_ws4", tc.make_sched_flag(tc.SCHED_CPU, 2, feat=tc.SCHED_FEAT_WS, fargs=1), #"best2", tc.make_sched_flag(tc.SCHED_BEST, 2), #"best2_ws4", tc.make_sched_flag(tc.SCHED_BEST, 2, feat=tc.SCHED_FEAT_WS, fargs=1), #"q0_ws4", tc.make_sched_flag(tc.SCHED_QUEUE, 0, feat=tc.SCHED_FEAT_WS, fargs=1), #"queue2", tc.make_sched_flag(tc.SCHED_QUEUE, 2), #"q2_ws4", tc.make_sched_flag(tc.SCHED_QUEUE, 2, feat=tc.SCHED_FEAT_WS, fargs=1), #"cpu0", tc.make_sched_flag(tc.SCHED_CPU, 0), #"cpu0_ws4", tc.make_sched_flag(tc.SCHED_CPU, 0, feat=tc.SCHED_FEAT_WS, fargs=1), #"cpu2", tc.make_sched_flag(tc.SCHED_CPU, 2), #"rand", make_sched_flag(0, 0), ] hpc = ["skylake3"] master = ["skylake2"] server = ["skylake1"] clients = [ "skylake5", "skylake6", "skylake7", "skylake8", "sandybridge1",
term_qps = 85000000000 term_pct = 1 inc_pct = 50 server_port = 23444 # paths test_dir = "/tmp/tests.d/" file_dir = os.path.dirname(os.path.realpath(__file__)) root_dir = file_dir + "/../../" sample_filename = "sample.txt" sched = [ #"vanilla", -1, #"cpu0", tc.make_sched_flag(tc.SCHED_CPU, 0), "queue0", tc.make_sched_flag(tc.SCHED_QUEUE, 0), #"cpu0_ws2", tc.make_sched_flag(tc.SCHED_CPU, 0, feat=tc.SCHED_FEAT_WS, fargs=1), #"cpu2_ws2", tc.make_sched_flag(tc.SCHED_CPU, 2, feat=tc.SCHED_FEAT_WS, fargs=1), #"best2", tc.make_sched_flag(tc.SCHED_BEST, 2), #"best2_ws2", tc.make_sched_flag(tc.SCHED_BEST, 2, feat=tc.SCHED_FEAT_WS, fargs=1), #"q0_ws2", tc.make_sched_flag(tc.SCHED_QUEUE, 0, feat=tc.SCHED_FEAT_WS, fargs=1), #"queue2", tc.make_sched_flag(tc.SCHED_QUEUE, 2), #"q2_ws2", tc.make_sched_flag(tc.SCHED_QUEUE, 2, feat=tc.SCHED_FEAT_WS, fargs=1), #"cpu0_ws2", tc.make_sched_flag(tc.SCHED_CPU, 0, feat=tc.SCHED_FEAT_WS, fargs=1), #"cpu2", tc.make_sched_flag(tc.SCHED_CPU, 2), #"rand", make_sched_flag(0, 0), ] master = ["skylake2"] ssh_master = master.copy()
import sys import getopt import numpy as np import re import memparse as mp import libtc as tc # paths test_dir = "/tmp/tests.d/" file_dir = os.path.dirname(os.path.realpath(__file__)) root_dir = file_dir + "/../../" sample_filename = "sample.txt" sched = [ "cpu0", tc.make_sched_flag(tc.SCHED_CPU, 0), #"multiple_skq", -1, #"vanilla_single", -2, ] master = ["skylake2"] server = ["skylake1"] clients = ["skylake3", "skylake4", "skylake5", "skylake6", "skylake7", "skylake8", "sandybridge1", "sandybridge2", "sandybridge3", "sandybridge4"] threads = [12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12] client_threads = 12 warmup = 3 duration = 3 cooldown = 0 conn_per_thread = 1