Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Performance / September 2005

Tip: Looking for answers? Try searching our database.

Application Center Test - test gives better results with more brow

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gabe Hollombe - 27 Jul 2005 18:23 GMT
Hi all,

I'm hoping someone can help me out, as I'm a bit puzzled by some test
results I'm seeing when using Application Center Test.  

For a particular test, if I run it with 50 simultaneous browser connections,
the graph I get oscillates between up to around 400 requests per second, then
down to around 20, then back up to 400, etc, over a period of about 60
seconds.

If I run the same test again but with 1000 simultaneous browser connections,
the graph I get is pretty constant, and stays around 350 requests per second
for roughly the entire duration of the test.  

Does anyone have an idea about why I'd see apparently better performance
results from the 1000 simultaneous browser connections test than from the 50
simultaneous connections test?

Thanks in advance for any light you can shed on my mystery.
Naveen - 28 Jul 2005 07:56 GMT
Hi...

I assume you are trying to do performance-cum-stress testing..

Well, it depends upon what are metrics you choosed to test...did u defined
the connection settings, user informaiton etc  properly...because I dont
think it should be constant as per u r description.

Also, I wouuld adivce to do using Microsoft's FREE Web Application Stress
WAS Tool...its nice tool and have little more feature than ACT..

HTH

With Best Regards
Naveen K S

> Hi all,
>
[quoted text clipped - 15 lines]
>
> Thanks in advance for any light you can shed on my mystery.
Mark - 28 Jul 2005 16:14 GMT
I've run into this kind of stuff, too, and I think there are a few more
points that might be useful to make here:

1) requests/second is interesting but not overly so - *throughput* is
actually a more interesting measure.  You can swamp any web server near to
death with concurrent requests and while it stays alive, it may be serving
300, 400, even 500 requests/second but if that comes at the expense of having
your per-page response time going to 10 or 12 seconds it's not good.  Also,
with a flood of concurrent connections, you may keep the asp work queue full
at all times, achieving a flat request/sec stat, but that doesn't mean it's
performing well.  In other words, you can jam a lot of people into a doorway,
but there are consequences.

Look at time to first byte, time to last byte and average times, not just
requests/sec.

2) With the 50 concurrent requests, you see a lot of spiking because your
service can handle that level of concurrent requests reasonably well; the
troughs are due to the testing engine turn-around time.  When you have a
testing engine - like ACT or WAST - they're going to fire off a bunch of
concurrent requests, wait for the responses, collect some statistics, turn
around and do it again.  If the number of concurrent requests is well in
range of your server capacity, all the responses will be in more or less
constant time, so all 50 start at the same time, stop at the same time, and
get reissued at roughly the same time.  So they're all moving in relatively
lockstep.  That's why it's hard to get a true emulation of real-world use.

3) I haven't used ACT, but I've used WAST a lot.  It's a great tool, but a
couple of observations:
a) use more threads and less sockets.  For some reason, the driver overhead
is a lot more with more sockets.  When you use a lot of sockets and fewer
threads, that really exacerbates the spiking you were seeing.

b) Wherever possible, split up your test runs across multiple physical
machines.  There are very concrete limits to how well WAST can drive a high
flow of traffic.  If you really want to stress test a lot of concurrent
connections, having one box with high thread/socket settings, you'll quickly
run into granularity effects in how fast WAST can turn around that number of
requests - a lot of driver overhead will creep into your stats and coarsen
your results.  Running the same WAST script from 5 client boxes with 10
concurrent connections each will work a lot better than running it on one
with 50.

Thanks
-Mark

> Hi...
>
[quoted text clipped - 31 lines]
> >
> > Thanks in advance for any light you can shed on my mystery.
Gabe Hollombe - 27 Sep 2005 14:37 GMT
Thanks a lot, Mark and Naveen!  I've been really busy testing, but I wanted
to come back and say thanks for the excellent responses; they definitely
helped me understand things better. =-)

- Gabe

> I've run into this kind of stuff, too, and I think there are a few more
> points that might be useful to make here:
[quoted text clipped - 77 lines]
> > >
> > > Thanks in advance for any light you can shed on my mystery.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.