Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » TPTP Profiler vs WSAD profiler
TPTP Profiler vs WSAD profiler [message #4064] Thu, 27 January 2005 14:36 Go to next message
Eclipse UserFriend
Originally posted by: kirk_wolf_nospam.mastercard.com

Can anyone describe the current functional differences between the TPTP
profiler and the WSAD profiler?

Is there any documentation on the TPTP profiler that describes how it
works (internally)? In other words, how does it instrument methods for
profiling? Does it support a sampled model, or just a tracing model?

Finally, when profiling a remote Java JVM, it is necessary to actually
start the agent controller? I understand that the agent controller can
be used to launch the application remotely, but what if you start the
remote application manually?

Thanks,
Kirk Wolf
Re: TPTP Profiler vs WSAD profiler [message #4446 is a reply to message #4064] Tue, 01 February 2005 21:11 Go to previous messageGo to next message
Samson Wai is currently offline Samson WaiFriend
Messages: 46
Registered: July 2009
Member
Hi Kirk,

As far as I know, there is no difference between the profiler (piAgent) in
WSAD 5.x and TPTP except that there might be bug fixes in the current TPTP
code stream.

Threre is no documentation on the internal mechanism of the profiling agent.
It uses JVMPI for collecting profiling data and uses a trace model. It
registers some handlers with the JVM to handle method entry/exit, class
load/unload, etc. It does not support a sampled model (to the best of my
knowledge). The data is pushed through shared memory for the Agent
Controller to read and transmit to the Eclipse workbench.

No matter how the JVM is started, Agent Controller has to be started because
the it is used for command dispatch as well as data forwarding.

Samson


"Kirk Wolf" <kirk_wolf_nospam@mastercard.com> wrote in message
news:ctau8m$i99$1@www.eclipse.org...
> Can anyone describe the current functional differences between the TPTP
> profiler and the WSAD profiler?
>
> Is there any documentation on the TPTP profiler that describes how it
> works (internally)? In other words, how does it instrument methods for
> profiling? Does it support a sampled model, or just a tracing model?
>
> Finally, when profiling a remote Java JVM, it is necessary to actually
> start the agent controller? I understand that the agent controller can
> be used to launch the application remotely, but what if you start the
> remote application manually?
>
> Thanks,
> Kirk Wolf
Re: TPTP Profiler vs WSAD profiler [message #5684 is a reply to message #4446] Fri, 11 February 2005 16:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kirk_wolf_nospam.mastercard.com

Samson,

Thanks for the information, which is helpful.
I have one additional question, if I may...

The z/OS agent controller (at least the WSAD version), seems to require
that it is started as root (uid=0). Is it possible with TPTP to start
an agent controller that is running with normal priviledges on z/OS?

Thanks,
Kirk Wolf

Samson Wai wrote:
> Hi Kirk,
>
> As far as I know, there is no difference between the profiler (piAgent) in
> WSAD 5.x and TPTP except that there might be bug fixes in the current TPTP
> code stream.
>
> Threre is no documentation on the internal mechanism of the profiling agent.
> It uses JVMPI for collecting profiling data and uses a trace model. It
> registers some handlers with the JVM to handle method entry/exit, class
> load/unload, etc. It does not support a sampled model (to the best of my
> knowledge). The data is pushed through shared memory for the Agent
> Controller to read and transmit to the Eclipse workbench.
>
> No matter how the JVM is started, Agent Controller has to be started because
> the it is used for command dispatch as well as data forwarding.
>
> Samson
>
>
> "Kirk Wolf" <kirk_wolf_nospam@mastercard.com> wrote in message
> news:ctau8m$i99$1@www.eclipse.org...
>
>>Can anyone describe the current functional differences between the TPTP
>>profiler and the WSAD profiler?
>>
>>Is there any documentation on the TPTP profiler that describes how it
>>works (internally)? In other words, how does it instrument methods for
>>profiling? Does it support a sampled model, or just a tracing model?
>>
>>Finally, when profiling a remote Java JVM, it is necessary to actually
>>start the agent controller? I understand that the agent controller can
>>be used to launch the application remotely, but what if you start the
>>remote application manually?
>>
>>Thanks,
>>Kirk Wolf
>
>
>
Re: TPTP Profiler vs WSAD profiler [message #5772 is a reply to message #5684] Mon, 14 February 2005 15:17 Go to previous message
Samson Wai is currently offline Samson WaiFriend
Messages: 46
Registered: July 2009
Member
Kirk,

Yes. You can start an Agent Controller (both WSAD and TPTP ones) without
root access. But please make sure the "config/servicelog.log" has the file
permission "666" - otherwise the user started Agent Controller cannot write
to the log.

Samson


"Kirk Wolf" <kirk_wolf_nospam@mastercard.com> wrote in message
news:420CE19B.5040200@mastercard.com...
> Samson,
>
> Thanks for the information, which is helpful.
> I have one additional question, if I may...
>
> The z/OS agent controller (at least the WSAD version), seems to require
> that it is started as root (uid=0). Is it possible with TPTP to start
> an agent controller that is running with normal priviledges on z/OS?
>
> Thanks,
> Kirk Wolf
>
> Samson Wai wrote:
> > Hi Kirk,
> >
> > As far as I know, there is no difference between the profiler (piAgent)
in
> > WSAD 5.x and TPTP except that there might be bug fixes in the current
TPTP
> > code stream.
> >
> > Threre is no documentation on the internal mechanism of the profiling
agent.
> > It uses JVMPI for collecting profiling data and uses a trace model. It
> > registers some handlers with the JVM to handle method entry/exit, class
> > load/unload, etc. It does not support a sampled model (to the best of my
> > knowledge). The data is pushed through shared memory for the Agent
> > Controller to read and transmit to the Eclipse workbench.
> >
> > No matter how the JVM is started, Agent Controller has to be started
because
> > the it is used for command dispatch as well as data forwarding.
> >
> > Samson
> >
> >
> > "Kirk Wolf" <kirk_wolf_nospam@mastercard.com> wrote in message
> > news:ctau8m$i99$1@www.eclipse.org...
> >
> >>Can anyone describe the current functional differences between the TPTP
> >>profiler and the WSAD profiler?
> >>
> >>Is there any documentation on the TPTP profiler that describes how it
> >>works (internally)? In other words, how does it instrument methods for
> >>profiling? Does it support a sampled model, or just a tracing model?
> >>
> >>Finally, when profiling a remote Java JVM, it is necessary to actually
> >>start the agent controller? I understand that the agent controller can
> >>be used to launch the application remotely, but what if you start the
> >>remote application manually?
> >>
> >>Thanks,
> >>Kirk Wolf
> >
> >
> >
Previous Topic:Tomcat won't start with Hyades' -XrunPiAgent
Next Topic:URL recording & session cookie - Trouble using WAS 6.0 test env. as opposed to Tomcat 5.0
Goto Forum:
  


Current Time: Mon Aug 20 17:17:23 GMT 2018

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

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

Back to the top