Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Profiling. Can't make it work
Profiling. Can't make it work [message #46967] Fri, 16 December 2005 14:19 Go to next message
Andrea Aime is currently offline Andrea AimeFriend
Messages: 43
Registered: July 2009
Member
Hi,
I'm trying to profile my app with TPTP 4.1, without success so far.
First, I've tried 4.1 as it is, out of the box, with the local direct
connection. It's totally unusable, my apps takes 3 seconds to start
up in normal conditions, with profiling and LDC it takes over a minute.
I've seen in another thread that you suggest installing the RAC instead.
Ok, I've downloaded and installed it, then configured it with the SetConfig.bat
script.
Then I try to start RAServer manually, but nothing happens, it exists
right away, without error messages, and the exit status is 0. Telnetting
on localhost, port 10002 does not lead to any answer, apparently there's nothing
running over there...
I've also tried installing the RAService, but when I net start it, I get
"internal error 112".
I also tried running the profiling agent from command line (PerfMonAgent.exe),
it starts, but then it keeps printing "(No agent monitoring yet (freq:1000ms)"
even when I run the profiler from Eclipse.

Oh my... it was so much easier (and faster) with hProf and HPJMeter,
too bad HPJMeter crashes right away trying to parse the hProf generated file...

Oh, I'm running on JDK 1.5.0_06, Windows 2000, Eclipse 3.1.1, TPTP 4.1.

Anyone can help me?
Best regards
Andrea Aime
Re: Profiling. Can't make it work [message #47033 is a reply to message #46967] Fri, 16 December 2005 14:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jr534.columbia.edu

Did you add RASERVERPATH/bin to your path?
http://www.eclipse.org/tptp/home/downloads/installguide/Agen tController41.html

RAServer shouldn't crash, so if it does, it might be because it can't find
its configuration.
Re: Profiling. Can't make it work [message #47063 is a reply to message #46967] Fri, 16 December 2005 16:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Navid_Mehregani_nmehrega.ca.ibm.com

This is a multipart message in MIME format.
--=_alternative 005D3393852570D9_=
Content-Type: text/plain; charset="US-ASCII"

Hi Andrea,

It's unfortunate you're having all this trouble getting started with TPTP.
Please see my responses below:

>I'm trying to profile my app with TPTP 4.1, without success so far.
>First, I've tried 4.1 as it is, out of the box, with the local direct
>connection. It's totally unusable, my apps takes 3 seconds to start
>up in normal conditions, with profiling and LDC it takes over a minute.

We're working on improving the performance of LDC and will most likely
release a faster version of it soon as a patched driver.

>Then I try to start RAServer manually, but nothing happens, it exists
>right away, without error messages, and the exit status is 0.

Follow the steps below:
- Go to the config director of your RAC, open servicelog.log, erase all of
its content
- Try running RAC again using bin\RAServer
- Check servicelog.log file to see if it has any valuable informaiton.
This file is in CBE format and you can import it as a CBE log file using
the Logging tools available in TPTP. In your workbench, right click ->
import -> Log file -> Add -> add the log file by selecting Common Base
Event XML log. You can also put the log file here for one of us to
analyze.

You might also want to try regenerating the serviceconfig.xml file again
using setconfig.bat.


>I also tried running the profiling agent from command line
(PerfMonAgent.exe),
>it starts, but then it keeps printing "(No agent monitoring yet
(freq:1000ms)"
>even when I run the profiler from Eclipse.

This is not the profiling agent. It's the agent used for monitoring your
system resources. You shouldn't need this for profiling.

Navid Mehregani
--=_alternative 005D3393852570D9_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hi Andrea,</font>
<br>
<br><font size=2 face="sans-serif">It's unfortunate you're having all this
trouble getting started with TPTP. &nbsp;Please see my responses below:</font>
<br>
<br><font size=2><tt>&gt;I'm trying to profile my app with TPTP 4.1, without
success so far.<br>
&gt;First, I've tried 4.1 as it is, out of the box, with the local direct<br>
&gt;connection. It's totally unusable, my apps takes 3 seconds to start<br>
&gt;up in normal conditions, with profiling and LDC it takes over a minute.</tt></font>
<br>
<br><font size=2><tt>We're working on improving the performance of LDC
and will most likely release a faster version of it soon as a patched driver.</tt></font>
<br>
<br><font size=2><tt>&gt;Then I try to start RAServer manually, but nothing
happens, it exists<br>
&gt;right away, without error messages, and the exit status is 0.</tt></font>
<br>
<br><font size=2><tt>Follow the steps below:</tt></font>
<br><font size=2><tt>- Go to the config director of your RAC, open servicelog.log,
erase all of its content</tt></font>
<br><font size=2><tt>- Try running RAC again using bin\RAServer</tt></font>
<br><font size=2><tt>- Check servicelog.log file to see if it has any valuable
informaiton. &nbsp;This file is in CBE format and you can import it as
a CBE log file using the Logging tools available in TPTP. &nbsp;In your
workbench, right click -&gt; import -&gt; Log file -&gt; Add -&gt; add
the log file by selecting Common Base Event XML log. &nbsp;You can also
put the log file here for one of us to analyze.</tt></font>
<br>
<br><font size=2><tt>You might also want to try regenerating the serviceconfig.xml
file again using setconfig.bat.</tt></font>
<br>
<br>
<br><font size=2><tt>&gt;I also tried running the profiling agent from
command line (PerfMonAgent.exe),<br>
&gt;it starts, but then it keeps printing &quot;(No agent monitoring yet
(freq:1000ms)&quot;<br>
&gt;even when I run the profiler from Eclipse.</tt></font>
<br>
<br><font size=2><tt>This is not the profiling agent. &nbsp;It's the agent
used for monitoring your system resources. &nbsp;You shouldn't need this
for profiling.</tt></font>
<br>
<br><font size=2><tt>Navid Mehregani</tt></font>
--=_alternative 005D3393852570D9_=--
Re: Profiling. Can't make it work [message #47092 is a reply to message #46967] Fri, 16 December 2005 17:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Navid_Mehregani_nmehrega.ca.ibm.com

This is a multipart message in MIME format.
--=_alternative 005ECB23852570D9_=
Content-Type: text/plain; charset="US-ASCII"

I think, I've discovered the cause of your problem. You probably have the
Local Direct Connection up and running when you try to start the RAC. The
Local Direct Connection takes up the named pipe that the RAC uses so you
can't have both of them running at the same time. Follow the instructions
below:

- Exit the workbench
- Kill all the lingering java processes
- Try starting the RAC

Unfortunately we don't output a proper error message for this use case.
I've opened a bug to address the problem:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=121239 feel free to add
yourself to the CC list.

Navid Mehregani
--=_alternative 005ECB23852570D9_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">I think, I've discovered the cause of
your problem. &nbsp;You probably have the Local Direct Connection up and
running when you try to start the RAC. &nbsp;The Local Direct Connection
takes up the named pipe that the RAC uses so you can't have both of them
running at the same time. &nbsp;Follow the instructions below:</font>
<br>
<br><font size=2 face="sans-serif">- Exit the workbench</font>
<br><font size=2 face="sans-serif">- Kill all the lingering java processes</font>
<br><font size=2 face="sans-serif">- Try starting the RAC </font>
<br>
<br><font size=2 face="sans-serif">Unfortunately we don't output a proper
error message for this use case. &nbsp;I've opened a bug to address the
problem: https://bugs.eclipse.org/bugs/show_bug.cgi?id=121239 &nbsp;feel
free to add yourself to the CC list.</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
--=_alternative 005ECB23852570D9_=--
Re: Profiling. Can't make it work [message #47372 is a reply to message #47092] Mon, 19 December 2005 15:22 Go to previous message
Andrea Aime is currently offline Andrea AimeFriend
Messages: 43
Registered: July 2009
Member
Navid_Mehregani_nmehrega@ca.ibm.com wrote:
>
> I think, I've discovered the cause of your problem. You probably have
> the Local Direct Connection up and running when you try to start the
> RAC. The Local Direct Connection takes up the named pipe that the RAC
> uses so you can't have both of them running at the same time. Follow
> the instructions below:
>
> - Exit the workbench
> - Kill all the lingering java processes
> - Try starting the RAC
>
> Unfortunately we don't output a proper error message for this use case.
> I've opened a bug to address the problem:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=121239 feel free to add
> yourself to the CC list.

Yes, I think you're right. Today I've powered up the PC, the raservice
started properly and I can now profile with decent speed (althought it's
still slower than using hprof with statistical information gathering).

Thank you for your suggestions :-)
Andrea
Previous Topic:launching AGR test from command line
Next Topic:Can not select a method in the Execution Flow view
Goto Forum:
  


Current Time: Fri Apr 26 14:34:39 GMT 2024

Powered by FUDForum. Page generated in 0.03799 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top