Have you tuned your configuration and startup files?

Also, when hitting your site, I've found that it often comes up with a blank
page.  Perhaps there is an error in your code which is throwing exceptions
which could slow your application down...

-----Original Message-----
From: Horace A. Vallas, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 06, 2001 11:32 PM
To: [EMAIL PROTECTED]
Subject: load test performance comparisons - again...


Hi all - I know - I know - beat that horse to death!! sorry but...

I'm still relatively new to tomcat and playing with maybe 
migrating a couple of fairly large and active sites to jsp/servlets.

running 1.3.12 with 3.2.1 and jdk2-13 on RH7/2.2.16-22smp on a 
2-processor i686 with 256MB (I think) - it's not a production server 
but should be sufficient for development and some thumbnail testing 
I guess.

I used apacheBench to run a quick test for loads of 50 concurrent 
users and 1000 requests - not an extremely heavy load -
I compared a small version of snoop.jsp with a static html copy
of the jsp's rendered results and a similar report generated using 
the neowebscript apache mod (like a tcl php)

As expected the static html was fastest, followed by the nws version and the

jsp, respectively - but the difference in the jsp was startlingly large...

static html     17.6 secs   56.9 req/sec
http://216.62.183.108/snoopResults.htm
nws version     37.1 secs   26.9 req/sec
http://216.62.183.108/snoopNWSstyle.htm
jsp snoop      130.3 secs    7.7 req/sec
http://216.62.183.108/jsp/snoopBare.jsp 
 
Running the same tests with more realistic number of requests given current
site loads (-n 400 -c 50) yielded similar differences...

static html      8.2 secs   48.9 req/sec
http://216.62.183.108/snoopResults.htm
nws version     16.5 secs   24.2 req/sec
http://216.62.183.108/snoopNWSstyle.htm
jsp snoop       54.8 secs    7.3 req/sec
http://216.62.183.108/jsp/snoopBare.jsp 

I'm floored and discouraged by the speed (slowness) of the tomcat stuff?
and we're not even talking about any database use etc. in this little test.

Can anyone point me to some basic flaw in this as a comparison?
Maybe ab is causing each jsp access to incur compile time or something?

I was really really looking forward to being able to migrate from
tcl to java but this sort of comparative performance is going to 
make it a VERY difficult sell.

-- 
Wishing you an "OOBA OOBA" 21st Century!!
Horace                            ...once known as "Kicker" :-)  
================================================================
Horace Vallas   hav.Software                 http://www.hav.com/     
                P.O. Box 354                         [EMAIL PROTECTED]
                Richmond, Tx. 77406-0354     voice: 281-341-5035 
                USA                            fax: 281-341-5087

Thawte Web Of Trust Notary in SW Houston, Tx.
http://www.hav.com/?content=/thawteWOTnotary.htm
================================================================
...drop by and chat if I'm online       http://www.hav.com/chat/
===   ===   ===   ===   ===   ===   ===   ===   ===   ===   ====
What is a Vet? ... He is the barroom loudmouth, dumber than five 
wooden planks, whose overgrown frat-boy behavior is outweighed a 
hundred times in the cosmic scales by four hours of exquisite 
bravery near the 38th parallel. ...   - Unknown
================================================================

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to