-dain
Luttrell, Peter wrote:
Over the last couple of weeks i started a couple threads about CMP performance in JBoss. Bill asked for comparison with what Weblogic can do, so i got my test case to work with it and the results speak for themselves.
-> Weblogic 7 is 330% to 715% faster then JBoss3.0.4 in the one test that I did. All code used is attached.
Output. Reference the other email threads for an overview of what I'm doing in the code and the confirmation that read-aheads are configured properly...or just look at the code/deployment descriptors.
JBoss3.0.4:
14:31:36,312 INFO [STDOUT] creating 1000 Blobs...
14:31:43,968 INFO [STDOUT] Creation complete, took 7656ms.
14:31:46,328 INFO [STDOUT] testing retrival speed...
14:31:46,328 INFO [STDOUT] Initial Retrival, beans may or maynot be in cache.
14:31:46,375 INFO [STDOUT] finder took 47ms.
14:31:49,140 INFO [STDOUT] External ValueObject creation took 2765ms for 1000 objects.
14:31:49,859 INFO [STDOUT] Internal ValueObject creation took 719ms for 1000 objects.
14:31:49,859 INFO [STDOUT] Secondary Retrival, beans are in cache.
14:31:50,125 INFO [STDOUT] finder took 266ms.
14:31:52,765 INFO [STDOUT] External ValueObject creation took 2640ms for 1000 objects.
14:31:53,437 INFO [STDOUT] Internal ValueObject creation took 672ms for 1000 objects.
Note the 672 on the last line. With all of the object cached (which they will be), this is what would happen in production.
Weblogic7:
creating 1000 Blobs...
Creation complete, took 10297ms.
testing retrival speed...
Initial Retrival, beans may or maynot be in cache.
finder took 422ms.
External ValueObject creation took 8906ms for 1000 objects.
Internal ValueObject creation took 47ms for 1000 objects.
Secondary Retrival, beans are in cache.
finder took 235ms.
External ValueObject creation took 171ms for 1000 objects.
Internal ValueObject creation took 47ms for 1000 objects.
Note the 47ms on the last line. With all of the object cached (which they will be), this is what would happen in production. In other runs, i've seen this number as low as 31ms.
So for the findAll and get all data:
JBoss External ValueObject Creation: 266 + 2640 = 2906
JBoss Internal ValueObject Creation: 266 + 672 = 939
Weblogic External ValueObject Creation: 235 + 171 = 406 (715% faster)
Weblogic Internal ValueObject Creation: 235 + 47 = 282 (330% faster)
Side notes: With Weblogic i was going against Oracle vs Hypersonic in JBoss. This explains the difference in the initial reading in of the beans. But since both examples are 100% cached beans the db should not matter, except for the finder methods call to get all primary keys from db.
Closing Notes: I am a big JBoss fan. I would like these numbers to be totally wrong, or for me to have misconfigured JBoss in some way. If you can get JBoss to perform better then this, PLEASE tell us all how. All the code is attached.
.peter
<as always ignore my company's crazy warning message below>
This transmission contains information solely for intended recipient and may be privileged, confidential and/or otherwise protect from disclosure. If you are not the intended recipient, please contact the sender and delete all copies of this transmission. This message and/or the materials contained herein are not an offer to sell, or a solicitation of an offer to buy, any securities or other instruments. The information has been obtained or derived from sources believed by us to be reliable, but we do not represent that it is accurate or complete. Any opinions or estimates contained in this information constitute our judgment as of this date and are subject to change without notice. Any information you share with us will be used in the operation of our business, and we do not request and do not want any material, nonpublic information. Absent an express prior written agreement, we are not agreeing to treat any information confidentially and will use any and all information and reserve the right to publish or disclose any information you share with us.
--
xxxxxxxxxxxxxxxxxxxxxxxx
Dain Sundstrom
Chief Architect JBossCMP
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user