Hi all,
I've downloaded binaries of Polygraph 2.6.2 and I am trying to run it
against polymix-3.pg (after customization of the file)as described in
the user manual. Find below a part of polymix-3.pg
When I run polysrv, it complains about :
* 'TheBench.server_addr_mask' or its component is not declared
* 'TheBench.client_addr_mask' or its component is not declared
* syntax error near size, rate and ObjLifeCycle.
can anybody help me out?
Thx.
*****polymix-3.pg ********
Bench TheBench = benchPolyMix3; // start with the default settings
/* If needed, you can specify a different mask for IP aliases.
* For example, TheBench.server_addr_mask = '10.1.13.0:8080'; */
TheBench.server_addr_mask = '10.1.13.0';
TheBench.client_addr_mask = '10.1.13.0:80';
/* All parameters must be set from the proxy point of view.
* Polygraph will calculate the required number of client-server
* pairs and adjust individual pair configuration accordingly. */
/* Set your total peak request rate here. For example: 100/sec.
* Polygraph will use TheBench to figure out which IP aliases to use.
* You must have the aliases configured before running a test. */
/*TheBench.peak_req_rate = undef();*/
TheBench.peak_req_rate = 1000/sec
/* Set the total cache size (disk + RAM). For example: 30GB.
* ProxyCacheSize is used for the cache-filling phase. */
size ProxyCacheSize = 2GB;
/* Set request rate for the cache-filling phase.
* This rate must be between 10% and 100% of peak_req_rate above.
* For example: (50%*TheBench.peak_req_rate) */
rate FillRate = 75% * TheBench.peak_req_rate;
// include all the boring details
/*
* PolyMix-3 workload (the details)
*
*/
/* modifications in this file cause non-compliance with PolyMix rules *
* all user-specified parameters are in polymix-3.pg
*/
/*#include "contents.pg"*/
/*
* Commonly used Content models
*
*/
/* Object life cycles are described first, followed by Content models */
// static object life cycle similar to PolyMix-1 environment
// everything is known and nothing changes
ObjLifeCycle olcStatic = {
birthday = now + const(-1year); // born a year ago
length = const(2year); // two year cycle
variance = 0%; // no variance
with_lmt = 100%; // all responses have LMT
expires = [nmt + const(0sec)]; // everything expires when modified
};
// object life cycle for "HTML" content
ObjLifeCycle olcHTML = {
birthday = now + exp(-0.5year); // born about half a year ago
length = logn(7day, 1day); // heavy tail, weekly updates
variance = 33%;
with_lmt = 100%; // all responses have LMT
expires = [nmt + const(0sec)]; // everything expires when modified
};
// object life cycle for "Image" content
ObjLifeCycle olcImage = {
birthday = now + exp(-1year); // born about a year ago
length = logn(30day, 7day); // heavy tail, monthly updates
variance = 50%;
with_lmt = 100%; // all responses have LMT
expires = [nmt + const(0sec)]; // everything expires when modified
};
// object life cycle for "Download" content
ObjLifeCycle olcDownload = {
birthday = now + exp(-1year); // born about a year ago
length = logn(0.5year, 30day); // almost no updates
variance = 33%;
with_lmt = 100%; // all responses have LMT
expires = [nmt + const(0sec)]; // everything expires when modified
};
// object life cycle for "Other" content
ObjLifeCycle olcOther = {
birthday = now + exp(-1year); // born about half a year ago
length = unif(1day, 1year);
variance = 50%;
with_lmt = 100%; // all responses have LMT
expires = [nmt + const(0sec)]; // everything expires when modified
};
*****************************************
This archive was generated by hypermail 2b29 : Tue Jul 10 2001 - 12:00:20 MDT