slow GUI

Questions about YourKit Java Profiler
Post Reply
mschulz
Posts: 17
Joined: Mon May 16, 2005 8:40 pm

slow GUI

Post by mschulz »

I have to run yjp.sh over a VPN connection and things are slooow.

How can I by default disable the telemetry view?
I just takes me minutes to close it manually every time.

Of course, why would I have to run the GUI over the VPN?
That's because I want to keep the memory snapshots on the
production system.

Or is there a better approach?

Martin
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

I have to run yjp.sh over a VPN connection and things are slooow.
What is exactly slow? Do you see any extract CPU utilization by UI? As I understand, you are running profiler UI on your local machine and connect to remote host which is in your VPN. Telemetry requires a couple KBytes per second to work without delays. But if the connection is slow, then telemetry information will be updated rarely.
How can I by default disable the telemetry view?
It's impossible now.
Of course, why would I have to run the GUI over the VPN?
That's because I want to keep the memory snapshots on the
production system.

Or is there a better approach?
If you are running UI on localhost, then anyway you need to transfer snapshot file to local hard drive to analyze it. IMO the better approach is to transfer snapshot first and after that analyze it locally.

Regards,
Vladimir Kondratyev
mschulz
Posts: 17
Joined: Mon May 16, 2005 8:40 pm

Post by mschulz »

So if I understand your comment correctly, you would advise
to run Yourkit on the local machine (not the profiling target),
and transferring the memory snapshot over the VPN is the lesser
evil even if taking the snapshot will thus take about 5-10 times the
time?

Can you in layman's terms describe how the memory snapshot is
taken in JVMYI without impacting the working of the JVM (assuming
a high level of user activity) ?

Thanks!
Martin
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Post by Anton Katilin »

Can you in layman's terms describe how the memory snapshot is
taken in JVMYI without impacting the working of the JVM (assuming
a high level of user activity) ?
Of course capturing of a memory snapshot does impact performance for a period of snapshoting. In JVMPI (Java 1.4 and earliers), entire JVM is stopped until the snapshot is captured. In JVMTI, there's no total freeze, but still writing data affects other threads.


Regarding the option not to show telemetry on connect. Where would you like to see it (in the UI)?
mschulz
Posts: 17
Joined: Mon May 16, 2005 8:40 pm

Post by mschulz »

Ha, I get it now. Even though connecting remotely, the agent lib
will be able to save the snapshot to the remote host file system. 8)

So I guess my comment about the GUI is not that relevant :oops:
and a local instance of the Profiler will allow you to close the
telemetry window easily. Not sure about the UI, maybe under View?
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Post by Anton Katilin »

If the problem is solved now, I'd prefer not to add that option at all.
Post Reply