Beispiel #1
0
        if 'ping' not in self.cs.traces['simoh']: self.cs.traces['simoh'].append('ping')
        #if 'message' not in self.cs.traces['all']: self.cs.traces['all'].append('message')

        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 = 3

    cc = ClusterConfig()
    cs = ClusterSimSettings(cc, nss, (nss,1), numoh)
    cs.region_weight = "const";
    cs.region_weight_options = '--radius=false'
    #cs.region_weight_options = '--flatness=.0085'
    cs.debug = True

    cs.valgrind = False
    cs.profile = False
    cs.oprofile = False
    cs.loglevels["oh"]="error";
    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"
Beispiel #2
0
            self.cs.traces['simoh'].append('ping')
        #if 'message' not in self.cs.traces['all']: self.cs.traces['all'].append('message')

        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 = 3

    cc = ClusterConfig()
    cs = ClusterSimSettings(cc, nss, (nss, 1), numoh)
    cs.region_weight = "const"
    cs.region_weight_options = '--radius=false'
    #cs.region_weight_options = '--flatness=.0085'
    cs.debug = True

    cs.valgrind = False
    cs.profile = False
    cs.oprofile = False
    cs.loglevels["oh"] = "error"
    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"