On Wed, 22 Aug 2001, Jihong A. Kim wrote:
> Now, I would like to manipulate the object distribution (in
> Polymix3 testing) such that I can have a set of specific number of
> objects at a specific size. (for example, I would have 34% of the
> object of size 750 bytes, 22% of the objects of size 1500 bytes,
> and so on..)
>
> It looks like I need to play around with the file "contents.pg".
I would create my own content definitions. You can start with those in
contents.pg, but I strongly recommend to not modify any files in the
workload directory directly. Create my-contents.pg or similar instead.
> Does anyone know where I can get some documentation to achieve this?
Look at how PolyMix-4 uses different percentages (number of objects)
for different content types. See Server.contents in polymix-4-guts.pg.
Each content type can have any size distribution, including constant
and user-specified.
http://www.web-polygraph.org/docs/reference/pgl/types.html#type:docs/reference/pgl/types/Server
http://www.web-polygraph.org/docs/reference/pgl/types.html#type:docs/reference/pgl/types/Content
Alex.
This archive was generated by hypermail 2b29 : Mon Feb 06 2006 - 12:00:19 MST