Fully featured low overhead profiler for Java EE and Java SE platforms.
Performance monitoring and profiling of Jenkins, TeamCity, Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

slow GUI

Moderators: Vladimir Kondratyev, Anton Katilin

slow GUI

Postby mschulz » Mon Jun 13, 2005 4:05 pm

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
mschulz
 
Posts: 17
Joined: Mon May 16, 2005 8:40 pm

Postby Vladimir Kondratyev » Tue Jun 14, 2005 7:43 am

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
Vladimir Kondratyev
 
Posts: 1519
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Postby mschulz » Tue Jun 14, 2005 2:56 pm

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
mschulz
 
Posts: 17
Joined: Mon May 16, 2005 8:40 pm

Postby Anton Katilin » Tue Jun 14, 2005 3:57 pm

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)?
Anton Katilin
 
Posts: 5966
Joined: Wed Aug 11, 2004 8:37 am

Postby mschulz » Tue Jun 14, 2005 4:46 pm

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?
mschulz
 
Posts: 17
Joined: Mon May 16, 2005 8:40 pm

Postby Anton Katilin » Thu Jun 16, 2005 4:08 pm

If the problem is solved now, I'd prefer not to add that option at all.
Anton Katilin
 
Posts: 5966
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 1 guest

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.