On Thu, Oct 24, 2013 at 4:14 PM, Christopher Schultz <ch...@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > 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. >> Are others seeing similar results ? > > I don't think anyone has bothered to benchmark that example code in a > while... If anyone else could benchmark that code I sure would like to know your results. > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.14 (Darwin) > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIcBAEBCAAGBQJSaX+uAAoJEBzwKT+lPKRYJoIP/RybdmUaJQxKjTeg55+Y0rTY > 1QxJJHx02PveszjT3Mm6M0JP5mGV/oD3CM9q83cYZ94FUx0b8+JtLbOtqwg7cgTQ > QaASdlxevwdebyJ9SN7Vwdq/TicVanZzBGRN8jsEn4hX11FNRwWpc/pAae7dGiM3 > biR5ke+h97nhEgNCxTyAztmRmTJMGk2dqd7pZxX8gDqCISNmrCp9qHdS4ftlF+bZ > IoGVq349rfUSfyjC0zHsbK4kjTvjIc4tiPpOeA9qmUs6ybINYxAIOcmYbnejxqXg > tjM1DqBqNr3fxan+1EpcHe9iHHG5nViJ2SRKlJta2xQRsCgPVlH5jkL6buL7VrMg > tNIs5rDw8dJ19Cm4vEYS6AVzQmZW+iqij/USJ9jZgUWd3+Zo5TUJWR1VRLJZN/LL > Z8oNhOYXVXnoImutTZu0Xz1c73/sUjc/QLi1B7F49RxevNtCqw15oWxofCuPAZG5 > tqwNAXdxjof2bqmUXLcDYbYBzbQ6psR2M4dBh55REZVx7LiBxThmZ12IXUUU3Rij > LnS9622g+EymBO92Gf67V6dCDI03wqf03a7mziMSgS8M3h17rGR0cc1irqxyEx8b > jrIgGR8ajpw/JXqC9xasN8rXQ9auca0AfpKyVOutZv+BTKA3QqmBtPm28namMJUA > 6IUx6yr5IBEU/C2+oWck > =EL8r > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org