RE: Proxy test - too many errors...

From: Alex Rousskov (rousskov@ircache.net)
Date: Wed May 03 2000 - 09:26:31 MDT


On Tue, 2 May 2000, Alan Smithee wrote:

> Do you have a sample "boiling frog" workload that we can try?

    The "boiling frog" is just a phase schedule that can be applied
to virtually any "constant request rate" workload, including standard
ones like PolyMix-2. The procedure is simple:

    1. Select a workload that you want to convert

    2. Make sure all robots have constant request rate
       (e.g. they use req_rate option)

    3. Look at current phase schedule, if any. Add a phase
       that starts with some low request rate
       (say 50% of a killing request rate) and
       ends with high request rate (100%). For example:

        Phase phRamp = { name = "ramp"; goal.duration = 4hour;
            load_factor_beg = 0.5; load_factor_end = 1.0; };

    4. Remove unwanted phases, adjust others, update the schedule()
       call.

    5. Configure IP addresses to match the highest request rate
       (for workloads where total request rate depends on the number
        of IP addresses)

Alex.

> -----Original Message-----
> From: Alex Rousskov [mailto:rousskov@ircache.net]
> Sent: Wednesday, May 03, 2000 4:49 AM
> To: Tim Eads
> Cc: polygraph@ircache.net
> Subject: Re: Proxy test - too many errors...
>
>
> On Tue, 2 May 2000, Tim Eads wrote:
>
> > The majority of the errors are "connection reset by
> > peer" errors.
> >
> > I have 1000 clients on the client box and 540 servers
> > on the server box. I have used request rates of .4
> > req/sec and .14 req/sec and still receive errors.
>
> Do you have reasons to believe that your installation of Squid or "oops"
> can handle 140 req/sec or even 400 req/sec? Connection reset by peer may
> indicate that the proxy (or the OS on the proxy box) is overloaded and
> cannot handle the traffic.
>
> > I plan on running the same tests again with fewer
> > clients - about 300 or so.
>
> I would suggest creating a "boiling frog" workload with request rate
> starting from 10/sec and going up to 300/sec within 2 hours. This may
> help you to approximate the request rate your proxies can support.
>
> $0.02,
>
> Alex.



This archive was generated by hypermail 2b29 : Tue Jul 10 2001 - 12:00:12 MDT