TBD.
Content cntImage = { kind = "image"; mime = { type = undef(); extensions = [".gif",".jpeg",".png"]; }; size = exp(15KB); cachable = 0%; checksum = 1%; }; Content cntHTML = { kind = "HTML"; mime = { type = "text/html"; extensions = [".html": 60%,".htm"]; }; size = exp(20KB); cachable = 0%; checksum = 1%; content_db = "/usr/local/bin/polygraph/workloads/demo.cdb"; }; Content cntDownload = { kind = "download"; mime = { type = undef(); extensions = [".exe": 40%,".zip",".gz"]; }; size = logn(300KB, 300KB); cachable = 0%; checksum = 0.01%; }; Content cntOther = { kind = "other"; size = logn(25KB, 10KB); cachable = 0%; checksum = 0.1%; }; Server S = { kind = "S101"; contents = [cntImage: 23%, cntHTML: 30%, cntDownload: 1%, cntOther]; direct_access = [cntImage, cntHTML, cntDownload, cntOther]; addresses = ['10.0.0.3:9090']; }; PopModel pm = { pop_distr = popUnif(); hot_set_frac = 5%; hot_set_prob = 10%; }; Robot R = { kind = "R101"; pop_model = pm; origins = S.addresses; addresses = ['10.0.0.3']; req_rate = 0.6/sec; recurrence = 0; }; Phase aPhase = { name = "normal_traffic"; goal.duration = 20min; load_factor_beg = 1; load_factor_end = 1; }; schedule(aPhase); use(S, R);