Hi Vit,
Thank you for trying to use TPTP Profiler
and sharing with us your experience.
If you have not already tried the suggestion
by Eugene, please
don’t. PI agent does not support 64-bit JVMs on Linux-EM64T. You have a
couple of options based on whether you are using a 64-bit JVM or 32-bit JVM.
- If you are running a
32-bit version, then use the IA32-Linux version of the agent controller
package.
- If you are using 64-bit
version of JVM, you can use the new agent controller package for Linux-EM64T
and the profiling agent (based on JVMTI standard). This requires a 1.5 or
higher JRE and should be Okay for you based on what your earlier post. However,
the JVMTI agent is not supported for 64-bit JREs and there is an enhancement request
already opened.
Hope this helps. I see the need to improve
the first-use experience. Perhaps, we need to create a FAQ and improve the
getting started document.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eugene Chan
Sent: Friday, September 22, 2006
7:36 AM
To: TPTP Tracing and Profiling
Tools Project developer discussions; [EMAIL PROTECTED]
Subject: Re:
[tptp-tracing-profiling-tools-dev] New user - new failures
Hi Vit.
To
profile your project running on Apache Tomcat Linux AMD x86-64, you will need
to install the LINUX-EM64T driver of the New technology Agent
Controller on your target system.
1.
Start your server with JVM argument '-XrunpiAgent' on the target system
2.
>From Eclipse workbench, attach to the profiling agent via a new launch
configuration ie. Run > Profile ... > Attach - Java Process.
3.
Select the target host, and agent, and profiling option in the launch
configuration, click Profile when finish.
4.
You should then see process and agent created in the Profiling monitor view.
5.
If you didn't select auto monitoring in the profiling option, you will need to
start monitoring the agent to start collecting profile data.
Details
are also available in the online help >
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.tptp.platform.doc.user/tasks/teprlaun.htm
Details
of available options in standalone mode >
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.tptp.platform.doc.user/tasks/teprofsa.htm
Please
let me know if you have any further question.
Regards
------------------------------------------------------------------------------
Eugene Chan
IBM Toronto Laboratory, Canada
Vit Timchishin
<[EMAIL PROTECTED]>
Sent
by: [EMAIL PROTECTED]
09/22/2006 05:19 AM
Please
respond to
TPTP Tracing and Profiling Tools Project developer discussions
<tptp-tracing-profiling-tools-dev@eclipse.org>
|
|
To
|
tptp-tracing-profiling-tools-dev@eclipse.org
|
cc
|
|
Subject
|
[tptp-tracing-profiling-tools-dev] New user -
new failures
|
|
Hello.
After getting used to Eclipse IDE I've switched to
recently, I've tried
to use it's profiling tools and found out TPTP.
Unfortunately my experience in it is not so good -
may be anyone could
help me?
My main project I am willing to profile is running
on Apache Tomcat
under two servers: main and development. Both are
Linux. Main one is amd
x86-64, development is i386.
After hours or trying and googling I've learned
that on my main server I
can only use very new profiling agent (New
Technology) in standalone
mode. Not too good, but OK. I've tried and failed:
Using CATALINA_BASE:
/usr/tomcat/Tomcat_test
Using CATALINA_HOME:
/usr/tomcat/Tomcat_test
Using CATALINA_TMPDIR:
/usr/tomcat/Tomcat_test/temp
Using JRE_HOME:
/usr/java/jdk1.5.0_05/jre
[EC options: server=standalone]
CG profiler options:
EC module (JPIAgent) loaded
[EC JPIAgent received message: Internal error (see
log file).]
Log file was not set!!!
Not knowing how to proceed I've tried my
development server.
Here I've tried both Agent Controller
(http://www.eclipse.org/downloads/download.php?file=/tptp/4.2.0.2/TPTP-4.2.0.2-200608021100/tptpdc.linux_ia32-TPTP-4.2.0.2.zip)
and New Technology Agent Controller
(http://www.eclipse.org/downloads/download.php?file=/tptp/4.2.0.2/TPTP-4.2.0.2-200608021100/agntctrl.linux_ia32-TPTP-4.2.0.2.zip)
No luck for server/controlled modes.
I can see agents from Eclipse, can start profile
but get no data (time
is counting, but all events counters are 0. In
controlled mode it also
does not start application after connecting.
So I stick to standalone mode (fortunately
working), but it makes so
large files... Can't they be compressed
on-the-fly?
BTW: I used to restart my tomcat by simply killing
it. I am getting
non-killable process with TPTP and after kill-9 I
often has my
tomcat-users.xml overwritten with logging data
(changing both data and
file size to ~800KB)
_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev