Kapil,

Ok, then, how you configured JMeter's testplan?

(Sorry, my previous question was not so well organized..)

(1) Access dynamic contents and static contents, trying to simulate
real environment. Your Apache server is busy in both case (Apache
benchmark and Squid benchmark) due to dynamic contents
generation. Then, you compared results of static content retrieval
throughput part (you excluded dynamic content retrieval
throughput part from total throughput results).

(2) Access huge number of static contents.

(3) Access small number (say less than few hundreds) of static
contents.

If your testplan is (3), Apache's total processing amount (including
OS's) may be less than Squid's. On Apache server, its OS can cache all
static content files on memory, and the OS knows those files were not
modified (because no one write to those files), so the OS and Apache
are free from many complex checkings and cache managements.

Koji

From: "kapil khanna"
Date: Sun, 7 Mar 2004 15:36:04 -0600

:> Koji,
:> i benchmarked using JMeter a open source tool for generating Http Requests.
:> Since this was a controlled benchmark, i guess it would be considered
:> synthetic.
:> Thanks,
:> --Kapil
:> ----- Original Message -----
:> From: "Koji Hino"
:> To:
:> Cc: ;
:> Sent: Sunday, March 07, 2004 3:22 PM
:> Subject: Re: [squid-users] Evaluating SQUID as a Reverse Proxy for a large
:> web site
:>
:>
:> > Hi,
:> >
:> > How you "benchmark" Apache and Squid?
:> >
:> > I mean:
:> >
:> > * Real environment benchmark, i.e. compare between followings with real
:> > customers
:> > - Get static contents from your busy (due to dynamic contents
:> > generation) Apache server
:> > - Get static contents from Squid, and get dynamic contents from your
:> > Apache server through Squid
:> >
:> > OR
:> >
:> > * Synthetic benchmark such as:
:> > - Get limited number (say several hundreds) of static contents, from
:> > your Apache server, or from your Squid server, with benchmarking
:> > HTTP client(s)
:> >
:> > I think those two benchmarks are completely different things.
:> >
:> > Best regards,
:> >
:> > ================================================== ==================
:> > Koji HINO(HINO is my family name)
:> > NEC Laboratories America, Inc.
:> >