ndn12logic: workload

1. English interpretation

TBD.


2. PGL code

ObjLifeCycle olcStatic = {
	length = const(2year);
	variance = 0%;
	with_lmt = 100%;
	expires = [nmt+const(0sec)];
};

ObjLifeCycle olcHTML = {
	length = logn(7day, 1day);
	variance = 33%;
	with_lmt = 100%;
	expires = [nmt+const(0sec)];
};

ObjLifeCycle olcImage = {
	length = logn(30day, 7day);
	variance = 50%;
	with_lmt = 100%;
	expires = [nmt+const(0sec)];
};

ObjLifeCycle olcDownload = {
	length = logn(0.5year, 30day);
	variance = 33%;
	with_lmt = 100%;
	expires = [nmt+const(0sec)];
};

ObjLifeCycle olcOther = {
	length = unif(1day, 1year);
	variance = 50%;
	with_lmt = 100%;
	expires = [nmt+const(0sec)];
};

Content cntPolyMix_1 = {
	kind = "polymix-1";
	mime = {
		type = undef();
		extensions = [];
	};
	size = exp(13KB);
	obj_life_cycle = olcStatic;
	cachable = 80%;
};

Content cntImage = {
	kind = "image";
	mime = {
		type = undef();
		extensions = [".gif",".jpeg",".png"];
	};
	obj_life_cycle = olcImage;
	size = exp(4.5KB);
	cachable = 80%;
	checksum = 1%;
};

Content cntHTML = {
	kind = "HTML";
	mime = {
		type = undef();
		extensions = [".html": 60%,".htm"];
	};
	obj_life_cycle = olcHTML;
	size = exp(8.5KB);
	cachable = 90%;
	checksum = 1%;
	may_contain = [cntImage];
	embedded_obj_cnt = zipf(13);
};

Content cntDownload = {
	kind = "download";
	mime = {
		type = undef();
		extensions = [".exe": 40%,".zip",".gz"];
	};
	obj_life_cycle = olcDownload;
	size = logn(300KB, 300KB);
	cachable = 95%;
	checksum = 0.01%;
};

Content cntOther = {
	kind = "other";
	obj_life_cycle = olcOther;
	size = logn(25KB, 10KB);
	cachable = 72%;
	checksum = 0.1%;
};

Content cntSimpleRequest = {
	size = unif(0KB, 8KB);
};

Server S = {
	kind = "Downtime-2-srv";
	contents = [cntImage: 65%, cntHTML: 15%, cntDownload: 0.5%, cntOther];
	direct_access = [cntHTML, cntDownload, cntOther];
	pconn_use_lmt = const(1);
	idle_pconn_tout = 5sec;
	http_versions = ["1.0"];
};

addr[] srv_ips = ['141.225.11.150:9091'];

addr[] rbt_ips = ['129.82.138.5'**30];

Robot R = {
	kind = "Downtime-2-rbt";
	origins = srv_ips;
	recurrence = 80%;
	embed_recur = 100%;
	pop_model = {
		pop_distr = popUnif();
	};
	req_inter_arrival = const(count(rbt_ips)*sec/4);
	pconn_use_lmt = zipf(64);
	http_versions = ["1.0"];
};

Phase phMeas = {
	name = "meas";
	goal.duration = 40min;
	goal.errors = 100;
};

schedule(phMeas);

S.addresses = srv_ips;

R.addresses = rbt_ips;

use(S, R);