Beispiel #1
0
    nobjects = 1500*nss
    packname = '1a_objects.pack'
    numoh = 2

    cc = ClusterConfig()
    cs = ClusterSimSettings(cc, nss, (nss,1), numoh)

    cs.region_weight_options = '--flatness=8'
    cs.debug = True

    cs.valgrind = False
    cs.profile = False
    cs.oprofile = False
    cs.loglevels["oh"]="insane";
    cs.loc = 'standard'
    cs.blocksize = 110
    cs.tx_bandwidth = 50000000
    cs.rx_bandwidth = 5000000
    cs.oseg_cache_size=65536;
    cs.oseg_cache_clean_group=25;
    cs.oseg_cache_entry_lifetime= "1000s"

    # Use pack across multiple ohs
    cs.num_random_objects = 0
    cs.num_pack_objects = nobjects / cs.num_oh
    cs.object_pack = packname
    cs.pack_dump = True

    cs.object_connect_phase = '20s'

    cs.object_static = 'static'
        rate = self._last_rate
        cluster_sim = self._setup_cluster_sim(rate, io)
        run_bandwidth_analysis(cluster_sim,
                               get_histogram_file_name(rate)
                               )

if __name__ == "__main__":
    cc = ClusterConfig()
    cs = ClusterSimSettings(cc, 4, (4,1), 1)

    cs.debug = False
    cs.valgrind = False
    cs.profile = True

    cs.loc = 'standard'
    cs.blocksize = 100
    cs.tx_bandwidth = 500000
    cs.rx_bandwidth = 500000

    cs.num_random_objects = 50
    cs.num_pack_objects = 0
    cs.object_connect_phase = '0s'

    cs.object_static = 'static'
    cs.object_query_frac = 0.0

    cs.oseg_cache_entry_lifetime = '300s'

    cs.duration = '100s'

    rates = sys.argv[1:]
Beispiel #3
0
    nobjects = 1500 * nss
    packname = '1a_objects.pack'
    numoh = 2

    cc = ClusterConfig()
    cs = ClusterSimSettings(cc, nss, (nss, 1), numoh)

    cs.region_weight_options = '--flatness=8'
    cs.debug = True

    cs.valgrind = False
    cs.profile = False
    cs.oprofile = False
    cs.loglevels["oh"] = "insane"
    cs.loc = 'standard'
    cs.blocksize = 110
    cs.tx_bandwidth = 50000000
    cs.rx_bandwidth = 5000000
    cs.oseg_cache_size = 65536
    cs.oseg_cache_clean_group = 25
    cs.oseg_cache_entry_lifetime = "1000s"

    cs.oseg_lookup_queue_size = 50
    #for now

    # Use pack across multiple ohs
    cs.num_random_objects = 0
    cs.num_pack_objects = nobjects / cs.num_oh
    cs.object_pack = packname
    cs.pack_dump = True
            x for x in samples_files
            if os.path.exists(x[0]) and os.path.exists(x[1])
        ]
        graph_stages_raw_samples(samples_files)


if __name__ == "__main__":
    cc = ClusterConfig()
    cs = ClusterSimSettings(cc, 4, (4, 1), 1)

    cs.debug = False
    cs.valgrind = False
    cs.profile = True

    cs.loc = 'standard'
    cs.blocksize = 100
    cs.tx_bandwidth = 500000
    cs.rx_bandwidth = 500000

    cs.num_random_objects = 50
    cs.num_pack_objects = 0
    cs.object_connect_phase = '0s'

    cs.object_static = 'static'
    cs.object_query_frac = 0.0

    cs.duration = '100s'

    rates = sys.argv[1:]
    plan = PacketLatencyByLoad(cc,
                               cs,
    cc = ClusterConfig()
    import math;
    edgex=int(math.sqrt(nss))
    edgey=int(nss/int(math.sqrt(nss)))
             
    cs = ClusterSimSettings(cc, nss, (edgex,edgey), numoh)
    
    cs.region_weight_options = '--flatness=8'
    cs.debug = True
    
    cs.valgrind = False
    cs.profile = False
    cs.oprofile = False
    cs.loglevels["oh"]="insane";
    cs.loc = 'standard'
    cs.blocksize = 256
    cs.tx_bandwidth = 50000000
    cs.rx_bandwidth = 5000000
    cs.oseg_cache_clean_group=25;
    cs.oseg_cache_entry_lifetime= "10000s"


    ## Use pack across multiple ohs
    #cs.num_random_objects = 0
    #cs.num_pack_objects = nobjects / cs.num_oh
    #cs.object_pack = packname
    #cs.pack_dump = True
    cs.num_random_objects = 0
    cs.object_sl_file='sl.trace.'+str(edgex)+'x'+str(edgey);
    cs.object_sl_center=(384,384,0);
    cs.object_connect_phase = '20s'
Beispiel #6
0
    cc = ClusterConfig()
    import math
    edgex = int(math.sqrt(nss))
    edgey = int(nss / int(math.sqrt(nss)))

    cs = ClusterSimSettings(cc, nss, (edgex, edgey), numoh)

    cs.region_weight_options = '--flatness=8'
    cs.debug = True

    cs.valgrind = False
    cs.profile = False
    cs.oprofile = False
    cs.loglevels["oh"] = "insane"
    cs.loc = 'standard'
    cs.blocksize = 256
    cs.tx_bandwidth = 50000000
    cs.rx_bandwidth = 5000000
    cs.oseg_cache_clean_group = 25
    cs.oseg_cache_entry_lifetime = "10000s"

    ## Use pack across multiple ohs
    #cs.num_random_objects = 0
    #cs.num_pack_objects = nobjects / cs.num_oh
    #cs.object_pack = packname
    #cs.pack_dump = True
    cs.num_random_objects = 0
    cs.object_sl_file = 'sl.trace.' + str(edgex) + 'x' + str(edgey)
    cs.object_sl_center = (384, 384, 0)
    cs.object_connect_phase = '20s'
    cs.center = [cs.blocksize * edgex / 2, cs.blocksize * edgey / 2, 0]