users@glassfish.java.net

Re: Serious Performance Problems in GF - SOLVED

From: David Harrigan <dharrigan_at_gmail.com>
Date: Mon, 27 Nov 2006 07:20:03 -0800 (PST)

Hi Jeanfrancois,

I've solved it, or at least found out what the problem is.

If an application has any System.out's then GF seriously slows down - I've
seen a factor
of 16 in slowdown. I removed the System.out's that were being written to the
server.log file and my application throughput has gone back up to about
17tps, which
is compariable to Jetty (no surprise there, since Jetty is using the same
engine as
GF) and JRun.

Do you think it's worth doing some investigation on this? I say this because
with the
System.out's in Jetty or JRun I don't get any slowdown, so GF is doing
something
here that the other's aren't doing and causing this slowdown....

BTW, I still have the ASQuickStartup=false because, if you remember a while
back,
I'm having a problem with the ready() on an inputstream that get's fixed if
the NIO
is switched off :-) Binod is looking at this issue currently.

-=david=-


Jeanfrancois Arcand-2 wrote:
>
> Hi David,
>
> can you post me your domain.xml? We didn't see any performance
> regressions recently but we never know. One thing I will first try is to
> add:
>
> <jvm-options>-Dcom.sun.enterprise.server.ss.ASQuickStartup=false</jvm-options
>
> and see what you are getting. I doubt it will make a difference.
>
> Thanks
>
> -- Jeanfrancois
>
> Jim Driscoll wrote:
>> Jeanfrancois does pretty continuous testing for performance. AFAIK, he
>> hasn't seen any slowdown. Certainly not an order of magnitude change.
>>
>> You said that your installation performance changed on b23, without you
>> changing any of the underlying code - respectfully, doesn't that sound
>> like it's something in your installation? With that in mind, have you
>> tried this on a different machine, with a clean install?
>>
>> Jim
>>
>> Matthew Pease wrote:
>>> I'd really like to know more about this. I am near to making my site
>>> live.
>>>
>>> David... how are you testing??
>>>
>>> Thank you-
>>> Matt
>>>
>>> On 11/24/06, Eduardo Pelegri-Llopart <pelegri_at_sun.com> wrote:
>>>> Hi David. Note that (most of) the USA team is on the Thanksgiving
>>>> holiday so you may not get a response until Monday
>>>>
>>>> David Harrigan wrote:
>>>> > Hi,
>>>> >
>>>> > For the background, please see this:
>>>> >
>>>> > http://forums.java.net/jive/thread.jspa?threadID=20399&tstart=0
>>>> >
>>>> > Basically, I'm seeing a x16 difference in my web application under GF
>>>> > b23/24/25 compared to Jetty/JRun. The amazingly strange thing is
>>>> that b23
>>>> > was quick, then it just *got slow*. I didn't change anything, apart
>>>> from
>>>> > turning off my machine from one day to turning it on the next and
>>>> re-running
>>>> > the tests...
>>>> >
>>>> > We are looking to use GF across our company and I need to
>>>> understand if this
>>>> > is my fault or something very wrong with GF that only appears over
>>>> time...
>>>> >
>>>> > Any help would be appreciated.
>>>> >
>>>> > -=david=-
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>

-- 
View this message in context: http://www.nabble.com/Serious-Performance-Problems-in-GF-tf2698506.html#a7561714
Sent from the java.net - glassfish users mailing list archive at Nabble.com.