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' cs.object_query_frac = 0.0 cs.duration = '400s'
rates = sys.argv[1:] nobjectlist=[250,500,750,1000,1250,1500,1750,2000];#+= nobjectlist+=[2500,3000,3500,4000,4500]+range(5000,20000,1000) nobjectlist.reverse() #nobjectlist = [5000]; #nobjectlist=[19000] caches=[256]*len(nobjectlist) #caches+=[250]*len(nobjectlist) #caches+=[750]*len(nobjectlist) #caches+=[75]*len(nobjectlist)#[10,15,20,25,30,35,40] #nobjectlist=nobjectlist*4#run with 4 caches cs.oseg_cache_size=caches[0]; cs.oseg_cache_selector='cache_communication'; plan = FlowPairFairness(cc, cs, scheme='csfq', payload=1024) oldoptions=plan.cs.scenario_options; done={} adder="" print "SCENARIO OPTIONS ",plan.cs.scenario_options for rate in rates: for nobjectsindex in range(len(nobjectlist)): cs.oseg_cache_size=caches[nobjectsindex]; nobjects=nobjectlist[nobjectsindex] if nobjects in done: adder+='c'; done={}
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 cs.object_connect_phase = '20s' cs.object_static = 'static'
rates = sys.argv[1:] nobjectlist = [250, 500, 750, 1000, 1250, 1500, 1750, 2000] #+= nobjectlist += [2500, 3000, 3500, 4000, 4500] + range(5000, 20000, 1000) nobjectlist.reverse() #nobjectlist = [5000]; #nobjectlist=[19000] caches = [256] * len(nobjectlist) #caches+=[250]*len(nobjectlist) #caches+=[750]*len(nobjectlist) #caches+=[75]*len(nobjectlist)#[10,15,20,25,30,35,40] #nobjectlist=nobjectlist*4#run with 4 caches cs.oseg_cache_size = caches[0] cs.oseg_cache_selector = 'cache_communication' plan = FlowPairFairness(cc, cs, scheme='csfq', payload=1024) oldoptions = plan.cs.scenario_options done = {} adder = "" print "SCENARIO OPTIONS ", plan.cs.scenario_options for rate in rates: for nobjectsindex in range(len(nobjectlist)): cs.oseg_cache_size = caches[nobjectsindex] nobjects = nobjectlist[nobjectsindex] if nobjects in done: adder += 'c' done = {}