On Wed, 2006-10-18 at 17:07 +0530, Jegadeesh wrote:
> I am running polygraph test using the workload webaxe4.pg. Is it
> possible to generate specific range of object sizes say (200KB to
> 300KB) instead of the default ones which starts from 1KB.
Yes, you can use a uniform range distribution or user-specified tabular
distribution for object sizes. Please see the following URLs for a list
of supported distributions and instruction on how to specify a custom
distribution:
http://www.web-polygraph.org/docs/reference/pgl/types.html#type:docs/reference/pgl/types/distr
http://www.web-polygraph.org/docs/reference/tabdistr.html
You can even specify exact response bodies:
http://www.web-polygraph.org/docs/userman/csm/
> Also is it possible to capture and store the generated objects for
> analysis.
You can ask Polygraph to dump response bodies using the --dump command
line option, but performance overheads will be significant, and you will
need to write some kind of script to interpret the logs. See the URL
below for details:
http://www.web-polygraph.org/docs/reference/options.html#option:docs/reference/options/dump
If you are only interested in response sizes, then you should try the
undocumented "--dump sum" option to dump transaction summaries only. The
output is similar to what you will see in a typical proxy access.log.
See Xaction::printXactLogEntry method in src/runtime/Xaction.cc for the
list of fields this option will produce. The response size is
theRepSize.actual().
You can also use tools like ethereal/wireshark or tcpdump to capture
traffic, but some form of post-processing will be needed as well.
Beyond that, Polygraph will need to be enhanced to capture exactly what
you need.
HTH,
Alex.
Received on Wed Oct 18 12:13:36 2006
This archive was generated by hypermail 2.1.8 : Wed Oct 25 2006 - 12:00:06 MDT