JVM & JProfiler - Help needed urgent

Hi,

I am a fresher and new to java. I am doing load testing. When i hook up a profler into JVM and run a test for 10 mins with 10 virtual users, i see deadlocks and 200 transactions will be completed in this period.

When i take out profiler and run the same test for 10 mins with 10 virtual users i see 1400 transaction being completed.

Please let me know what is the reason for drop in number of transactions when i run a test with JProfiler hooked into JVM.

Also deadlock issue has anything to do with JProfiler as it retrieves data from it?

Please suggest. Also let me know how do i analyze deadlocks?

Thanks

Aditya

[667 byte] By [Aditya11a] at [2007-11-26 15:44:21]
# 1

> Hi,

>

> I am a fresher and new to java. I am doing load

> testing. When i hook up a profler into JVM and run a

> test for 10 mins with 10 virtual users, i see

> deadlocks and 200 transactions will be completed in

> this period.

>

> When i take out profiler and run the same test for 10

> mins with 10 virtual users i see 1400 transaction

> being completed.

>

> Please let me know what is the reason for drop in

> number of transactions when i run a test with

> JProfiler hooked into JVM.

It's normal. You always get a negative impact on performance when using a profiler.This impact depends on the profiling technique (AOP, bytecode instrumentation, custom classloader...) and the kind of profiling data (memory usage, response time ...). Follow vendor instructions to minimize this impact.

>

> Also deadlock issue has anything to do with JProfiler

> as it retrieves data from it?

What kind of deadlocks? Can you post thread dumps?

Maybe your application has some kind of hidden error that you cannot see if it isn磘 under heavy load.

>

> Please suggest. Also let me know how do i analyze

> deadlocks?

There's a nice tool to analyze thread dumps called "Samurai".

>

>

> Thanks

> Aditya

david327a at 2007-7-8 22:03:24 > top of Java-index,Java HotSpot Virtual Machine,Specifications...