|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Ole Husgaard
|Sent: Sunday, February 11, 2001 12:24 PM
|To: jBoss Developer
|Subject: Re: [jBoss-Dev] MAJOR SLOWDOWN in jboss' performance in a
|couple ofdays...
|
|
|Hi,
|
|Think I am onto something:
|
|For non-optimized (ie. remote calls)
|within the server VM, the deserialization
|(MarshalledObject.get()) of the
|RemoteMethodInvocation does a class load
|on *every* call. The class loaded is the
|class I use for TPC: org.jboss.tm.GlobalId.
Rickard addressed something similar the first time we has speed issues.
( will try to dig, ok found it forwarded it )
|
|In the test case I set up for this, I call
|from one entity bean instance in a container
|to another bean instance in the same
|container. This container's configuration
|is set to use non-optimized calls.
|The current performance for this is similar
|to the 78 ms that Hugo reported in the
|start of this mail thread.
that is what was seen at teh time, use the mail to guide yourself.
Basically the run.jar needs something to point to the new class you wrote.
|
|So it looks like this *is* the JTA changes
|i did.
relax, it is in fact configuration.
|But I don't really understand this: The
|TransactionImpl we used instead before
|this change deserialized fine.
|And with the MarshalledObject, I
|understand that we should have no
|classloader issues, and that the class
|should be loaded only once.
Timpl WAS in the claspath of the RMI subsystem yours is not, read the other
mail and let us know if it solves it.
|If anybody has an idea about what is
|going on here, please let me know.
Rickard did that search, almost lost it too :) he is on a long weekend
taking care of loved ones...
marc
|Until then, I'll try to find out some
|way to make this problem go away.
|
|
|Best Regards,
|
|Ole Husgaard.
|
|
|marc fleury wrote:
|>
|> |Hi,
|> |
|> |Could still be the embedded Tomcat
|> |working in some way I did not
|> |anticipate.
|>
|> could be... it's strange but real :(
|>
|> marc
|>
|> |
|> |Just a quick thought: Could this be
|> |because the embedded Tomcat is using
|> |an old version of jboss-client.jar?
|> |The changes I made affect the client
|> |side too, so all copies of the JBoss
|> |client jar needs to be updated.
|> |
|> |
|> |Best Regards,
|> |
|> |Ole Husgaard.
|> |
|> |
|> |marc fleury wrote:
|> |>
|> |> |The jbosstest load test gives almost the
|> |> |same results with and without the JTA
|> |> |changes.
|> |>
|> |> So it is the other stuff? the deployer changes from dewayne?
|> |these were done
|> |> at night 9pm so I don't think it is that...
|> |>
|> |> ok ok we will need to sit down... pfffffffff just no time...
|> |>
|> |> marc
|> |>
|> |> |
|> |> |
|> |> |Best Regards,
|> |> |
|> |> |Ole Husgaard.
|> |> |
|> |
|