Re: decline hit rate

From: Alex Rousskov (rousskov@measurement-factory.com)
Date: Wed Apr 10 2002 - 08:32:27 MDT


On Wed, 10 Apr 2002, Markus J. Kaiser wrote:

> running polymix-4 for client & server without an intermediate proxy
> i encounter that the client side goes successfully through the stage
> of server scanning (with some 'no route' - errors), while the the server
> side after a while shuts-down with a timeout-error. the the client
> continues to do ??? with occassional timout-errors. any suggestions?

Most likely, you have a problem with your routes that prevents robots
talking to servers. Polysrv process quits if there is no activity for
5 minutes (default).

You should check your routing by pinging server IPs from client IPs
and vice versa (use ping -S option to specify source address for ICMP
messages). You can also use "telnet -s" to do that same. The above
options are for FreeBSD; other OSes may have different options to
specify source address.

Note that in recent Polygraph versions client can complete the initial
server scan even if they do not receive any responses from the
servers. You should get absolutely no routing errors when running a
test.

See PolyMix HOWTO document for scripts to set routing up.
  http://www.measurement-factory.com/docs/PolyMix-4/
 
> i even restarted the server side, while the client continued only
> to experience a further server shutdown with timeout. i ran the
> tests on both with cl/sv on one machine and cl/sv on separate
> machines (same outcome).

I am not sure the same routing will work if you run clients and
servers on one PC. You probably should change netmask in your address
space (in TheBench PGL settings) from /22 to /16 and avoid any routes.
PolyMix-4 routing assumes two PCs playing the role of routers. Without
special tricks, one PC cannot pretend to be two PCs from routing point
of view, even if it has two NICs.

For one-PC configuration, just put all robot and server addresses on
the loopback interface and give them /16 subnets so that they can talk
to each other. For standard configuration, try to use routing scripts
from the HOWTO document.
 
> additionally i wonder what values i should give to the FillRate and
> PolyCacheSize parameters, not using a proxy that needs to be filled.

It does not matter much so to speedup the fill phase (you should
ignore its trace anyway), I would set PolyCacheSize to 1MB and
FillRate to PeakRate.

HTH,

Alex.



This archive was generated by hypermail 2b29 : Mon Feb 06 2006 - 12:00:22 MST