-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Stephen,
On 10/24/13, 5:35 PM, Stephen More wrote: > On Thu, Oct 24, 2013 at 4:14 PM, Christopher Schultz > <ch...@christopherschultz.net> wrote: Stephen, > > On 10/24/13, 11:29 AM, Stephen More wrote: >>>> I came across this paper by Peter Lin ( >>>> http://tomcat.apache.org/articles/performance.pdf ). In a >>>> simple xml addressbook war he summarizes how different >>>> variables affect the speed of the application. In one test he >>>> compares: Sun X1 400mhz Ultra Sparc IIe - 5 requests/sec AMD >>>> 2ghz XP - 25 request/sec It appears that both used Tomcat >>>> 4.1.19 and Sun Jdk1.4.1_01 >>>> >>>> In an attempt to see what todays numbers look like I rebuilt >>>> the war ( svn co >>>> https://maven-examples.googlecode.com/svn/trunk/addrbook ) >>>> and deployed in my environment Core i7-3720 QM @ 2.60 GHz SSD >>>> disk java version "1.7.0_45" apache-tomcat-7.0.42 >>>> >>>> package the war - mvn package execute jmeter - mvn verify >>>> >>>> Jmeter shows my Throughput of 2.2 requests/sec ! With all >>>> the advances over the years ( or overhead ) are we just >>>> slowing down or are one of our results flawed ? ( I am >>>> running in VirtualBox - I think this would slow some things >>>> down - but not this much. ) > > VirtualBox is likely making this run terribly, though it can depend > a lot on the environment, hardware, configuration, etc. Try > running natively. You got 2.2 req/sec? That sounds ... completely > unacceptable. Something must be terribly wrong. > >> Ok, I tried natively.... for 1 thread I got 1.2 req/sec - my >> task manager showed some cores doing absolutely nothing so I >> re-ran it with 8 threads to get 5.0 req/sec. I agree this is >> unacceptable - something must be wrong - but what ? > > What is your testing procedure? > >> I am running apache-tomcat-7.0.42-windows-x64 natively, I >> execute jmeter via maven on a separate machine. So you have the test webapp running on an otherwise (mostly) idle system, and you are using JMeter from another machine (same network segment) and still get terrible throughput? What does your JMeter test look like? What if you request a simple static resource -- something like index.html? It's very possible that the web application itself is terrible. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJSan5OAAoJEBzwKT+lPKRYdkEQALbU+rHNYEwcx/hjHEIpmUDG vRNfaqyHrNOjRHFd4vi6muhHQUIUROFrsj2R+VNY/yVoCL5rlpZheivgmUE+iRcL HZmf0tSdMHnp1i1wP6Wc/8jLN1KZG0JfBvzyHxNmymHDRKeXtgNcfKTc+DZ0BdDh yjKhXDK2lSfR3NygWgYEDZEQqiUd5+KURYEy1xp9w4KMBsaXPqOgp0J2XPFgH/iA tIwSH44n2wA4ijYrRjTdQEHql3UfSCbAiyOe13f+fMWK9L6jZnqkD62MM01DlDyN 2+XG/VTRnzFydWgeHUnLVbFEFRm8p9UzJ36hUS7DmwHSScDJEjVDYCW11WUGQve5 HqcgxFN0q2kdo/S8qZssAwDc/CKtwXGXPc3ccFS8JPMMvClYIat6Dg3Lg+dUAL8U Fauf2iEgEtSAZ9ifzAJj7OeBdya0Tr4siiUiXxhD49wHgm+ZzeZcvvjRwcnXvHAN upb5ZZHweaUkNzkNF0nVHtQLnkyKsWbygS1eFpJjZCtf+sz8TyzMTBph6QjoGH1l sW0I+MFmUisK6U1bBAvq8C5Z7wz/tqnfVGvXtlVEtvrqIVrAWkiMKNxM9p/xiDE4 civaZxiTKZRfow9Y/uGKT8iB2PvKQ8G+9kRUzRGu4U5+5sgSfpO+fUbuVuIiMB+N TjZHce8AEeGjWHRHGUNM =fCp4 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org