Example #1
0
        cluster_sim = ClusterSim(self.cc, self.cs, io=io)
        return cluster_sim


if __name__ == "__main__":
    nss=9
    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
Example #2
0
        cluster_sim = ClusterSim(self.cc, self.cs, io=io)
        return cluster_sim


if __name__ == "__main__":
    nss = 9
    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
Example #3
0
        cluster_sim = self._setup_cluster_sim(rate, io)
        run_trial(cluster_sim)

    def analysis(self, io=util.stdio.StdIO()):
        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
        samples_files = zip(
            [get_stage_samples_filename(x) for x in self._all_rates],
            [get_stage_samples_filename(x) for x in self._all_rates])
        samples_files = [
            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