Re: squid benchmarking

"Alex Rousskov" <[email protected]>
Newsgroups gmane.comp.web.web-polygraph.user
Organization The Measurement Factory
Message-ID <[email protected]>
On Mon, 2004/11/29 (MST), <[email protected]> wrote:

>     I am getting TIME_WAIT in the polysrv and squid server too for 50  
> reqs/sec rate. Attachment contains polygraph configuration.

Not sure what you mean by "getting TIME_WAIT in the polysrv". Please note  
that you need to adjust the MSL knob of your TCP stack on Polygraph client  
and server hosts. There are other OS-level tuning that may be necessary.  
For details, please see http://www.measurement-factory.com/docs/FreeBSD/
and mimic that for your OS if needed.

> 1.    Phase shifting from i-warm is not being done? what may be the  
> problem there.

Note sure (will need to see console logs from both client and server  
sides), but if you are getting many timeout errors, then Polygraph may  
have trouble synchronizing phase schedule or even contacting all servers.  
The latter is a precondition for quitting the warm-up phase.

>         2.    Do we have to change network parameters to handle web  
> requests from polclt to polysrv and squid?

Yes, see the URL above. As for Squid-side changes, you should not make any  
changes that you will not be able to do on a production system. For  
example, decreasing MSL to a few seconds is probably a bad idea on a  
production box!

>         3.    I am getting http result from web poly server as "HTTP/1.0  
> 503 Service Unavailable". what may be the problem?

Most likely, Squid cannot talk to Polygraph servers because the  
server-side OS is overwhelmed with traffic. See the URL above for OS  
tuning tips.

HTH,

Alex.

-- 
Protocol performance, functionality, and reliability testing.
Tools, services, and know-how.
http://www.measurement-factory.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.