users@glassfish.java.net

Re: severe performance degradation: Glassfish2.1 and bundled TopLink Essen

From: <glassfish_at_javadesktop.org>
Date: Wed, 28 Jan 2009 01:39:51 PST

> Hi,
>
> another user reported something similar:
> http://forums.java.net/jive/thread.jspa?threadID=56687
> &tstart=0
>
> He also tried the "old" TLE which seems to circumvent
> the problem. I was going to try that next.

I tested this for my colleague chrjohn and found the same behaviour:

On Debian Kubuntu 7.10 feisty, Thinkpad R60:
1. Started PostgreSQL 8.1 server
2. Started GF v2.1-b60e-fcs with TopLink 2.1-b60e-fcs
3. Started our command-line application using "time" command:
3.1. real 0m44.703s, user 0m9.153s, sys 0m0.940s
3.2. real 0m47.680s, user 0m8.773s, sys 0m0.568s
4. Stopped GF
5. Stopped PostgreSQL

The same for "GF v2.1-b60e-fcs with TopLink 2.0.1-b04-fcs"

...
3.1. real 0m19.148s, user 0m9.405s, sys 0m0.452s
3.2. real 0m15.144s, user 0m9.065s, sys 0m0.580s
...

Here you can observe two points:

(1) TopLink 2.0 is much faster: compare 19 secs to 44 secs
(2) The second run is faster for TopLink 2.0, but slower for TopLink 2.1

Does (2) indicate a caching issue?

In the GF log, there was no specific TopLink tracing enabled. What do you suggest to trace?

Thanks, Jörg
[Message sent by forum member 'jthoennes' (jthoennes)]

http://forums.java.net/jive/thread.jspa?messageID=328590