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 09:19   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
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 #47063 is a reply to message #46967] | 
Fri, 16 December 2005 11:58    | 
 
Eclipse User  | 
 | 
 | 
   | 
 
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.  Please see my responses below:</font> 
<br> 
<br><font size=2><tt>>I'm trying to profile my app with TPTP 4.1, without 
success so far.<br> 
>First, I've tried 4.1 as it is, out of the box, with the local direct<br> 
>connection. It's totally unusable, my apps takes 3 seconds to start<br> 
>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>>Then I try to start RAServer manually, but nothing 
happens, it exists<br> 
>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.  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.</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>>I also tried running the profiling agent from 
command line (PerfMonAgent.exe),<br> 
>it starts, but then it keeps printing "(No agent monitoring yet 
(freq:1000ms)"<br> 
>even when I run the profiler from Eclipse.</tt></font> 
<br> 
<br><font size=2><tt>This is not the profiling agent.  It's the agent 
used for monitoring your system resources.  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 #47372 is a reply to message #47092] | 
Mon, 19 December 2005 10:22   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
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
 |  
 |  
  |   
Goto Forum:
 
 Current Time: Tue Nov 04 03:11:31 EST 2025 
 Powered by  FUDForum. Page generated in 0.05145 seconds  
 |