Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Need info on profiling tools for Alpha AXP architecture !
@ 1994-09-27 14:43 Czeslaw Kazimierczak
  1994-09-28  0:19 ` Jeffrey Mogul
  1994-09-28 13:21 ` Greg Lueck Development Environment
  0 siblings, 2 replies; 10+ messages in thread
From: Czeslaw Kazimierczak @ 1994-09-27 14:43 UTC (permalink / raw)


I am looking for any information on profiling tools available for Alpha AXP
(OSF/1) architecture. I am interested in both ports and new tools.

Thanks in advance,

--Czeslaw Kazimierczak
(czeslaw@diku.dk)



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Need info on profiling tools for Alpha AXP architecture !
  1994-09-27 14:43 Need info on profiling tools for Alpha AXP architecture ! Czeslaw Kazimierczak
@ 1994-09-28  0:19 ` Jeffrey Mogul
  1994-09-28 13:21 ` Greg Lueck Development Environment
  1 sibling, 0 replies; 10+ messages in thread
From: Jeffrey Mogul @ 1994-09-28  0:19 UTC (permalink / raw)


In article <czeslaw.780677029@embla.diku.dk> czeslaw@diku.dk (Czeslaw Kazimierczak) writes:
>I am looking for any information on profiling tools available for Alpha AXP
>(OSF/1) architecture. I am interested in both ports and new tools.

DEC OSF/1 V3.0 includes the "Atom Program Analysis Tools" optional
subset (the subset name is ATMBASE???; I don't know the exact version
number).

Atom lets you create "custom" profiling tools with just a little bit
of programming.  For example, you could ask it to count the number
of times a conditional branch is executed in a particular procedure.
Or stuff like that.  A simple, general-purpose procedure profiling
tool takes 68 lines of C-code, all told (see /usr/lib/atom/tools/prof.*.c)

-Jeff


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Need info on profiling tools for Alpha AXP architecture !
  1994-09-28 13:21 ` Greg Lueck Development Environment
@ 1994-09-28 10:57   ` Ron Natalie
  1994-09-29 18:51     ` Greg Lueck Development Environment
  1994-09-30 21:32   ` Gary Newman
  1 sibling, 1 reply; 10+ messages in thread
From: Ron Natalie @ 1994-09-28 10:57 UTC (permalink / raw)


Greg Lueck Development Environment (lueck@gurgi.zk3.dec.com) wrote:

: 2. OSF/1 also supports the pixie tool.  This tools modifies an executable
:    image producing a new image that counts each basic block's
:    execution.  You then run the new image to produce a profile of the
:    application.  The prof postprocessor allows you to display execution
:    cycle counts, test coverage statistics, callee-caller information, etc.

Pixie doesn't seem to work very well (i.e., at all) on version 1.3.
I hear this has been fixed in 2.0.

-Ron


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Need info on profiling tools for Alpha AXP architecture !
  1994-09-27 14:43 Need info on profiling tools for Alpha AXP architecture ! Czeslaw Kazimierczak
  1994-09-28  0:19 ` Jeffrey Mogul
@ 1994-09-28 13:21 ` Greg Lueck Development Environment
  1994-09-28 10:57   ` Ron Natalie
  1994-09-30 21:32   ` Gary Newman
  1 sibling, 2 replies; 10+ messages in thread
From: Greg Lueck Development Environment @ 1994-09-28 13:21 UTC (permalink / raw)



DEC OSF/1 provides several tools for profiling application programs.

1. The standard UN*X prof and gprof tools are available.  These provide
   a statistical PC-sampling profile of your application.  Gprof also
   provides callee-caller information.

2. OSF/1 also supports the pixie tool.  This tools modifies an executable
   image producing a new image that counts each basic block's
   execution.  You then run the new image to produce a profile of the
   application.  The prof postprocessor allows you to display execution
   cycle counts, test coverage statistics, callee-caller information, etc.

3. A new tool, Atom, allows users to build custom analysis tools for
   their applications.  Like pixie, Atom modifies an executable image
   and produces a new image.  However, Atom is much more powerful.  Some
   of the tools that have been built with Atom range from a simple
   procedure entry/exit profiler to cache simulators and tools that
   detect errors with dynamic memory allocation and usage (like Purify).
   You can use Atom to design your own tools or can use any of the tools
   that ship with Atom.

4. Most implementations of the the Alpha architecture support
   performance counters that keep track of various CPU statistics (like
   the number of stall cycles, the number of dual issues, the number of
   first level cache misses, etc.)  OSF/1 provides a tool, uprofile,
   that allows users to measure these events and report where in their
   application they occurred.  A postprocessor allows you to display a
   histogram output of where these events occurred in your application.

If you purchase the FUSE product, it provides GUI's for the prof and
pixie tools as well as for the rest of the development environment.

There are also a host of tools that measure system performance.  I'm not
as familiar with these, but I know things like vmstat and nfsstat are
supported.  There is also a tool, Polycenter, that helps tune the AdvFS
file system.  There is a whole manual, "System Tuning and Performance
Management", that discusses these tools.  If you have access to any DEC
OSF/1 documentation, this might be a good place to look.

I hope this helps answer your questions.

-- 
-------------------------------------------------------------------------------
Greg Lueck                              Opinions expressed herein are my own.
lueck@zk3.dec.com
-------------------------------------------------------------------------------
-- 
-------------------------------------------------------------------------------
Greg Lueck                              Opinions expressed herein are my own.
lueck@zk3.dec.com
-------------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Need info on profiling tools for Alpha AXP architecture !
  1994-09-28 10:57   ` Ron Natalie
@ 1994-09-29 18:51     ` Greg Lueck Development Environment
  1994-09-30 14:50       ` Ron Natalie
  0 siblings, 1 reply; 10+ messages in thread
From: Greg Lueck Development Environment @ 1994-09-29 18:51 UTC (permalink / raw)



In article <36bi6c$h3c@topaz.sensor.com>, ron@topaz.sensor.com (Ron Natalie) writes:
|> Pixie doesn't seem to work very well (i.e., at all) on version 1.3.
|> I hear this has been fixed in 2.0.

Yes, in V1.3 pixie had a few problems with executables that used shared
libraries.  These problems were fixed in V2.0.  If you have V1.3 and need to
use pixie without upgrading to V2.0, linking non_shared avoids most of the
problems.

-- 
-------------------------------------------------------------------------------
Greg Lueck                              Opinions expressed herein are my own.
lueck@zk3.dec.com
-------------------------------------------------------------------------------
-- 
-------------------------------------------------------------------------------
Greg Lueck                              Opinions expressed herein are my own.
lueck@zk3.dec.com
-------------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Need info on profiling tools for Alpha AXP architecture !
  1994-09-29 18:51     ` Greg Lueck Development Environment
@ 1994-09-30 14:50       ` Ron Natalie
  1994-09-30 16:08         ` Dirk Grunwald
  0 siblings, 1 reply; 10+ messages in thread
From: Ron Natalie @ 1994-09-30 14:50 UTC (permalink / raw)


Greg Lueck Development Environment (lueck@gurgi.zk3.dec.com) wrote:



: Yes, in V1.3 pixie had a few problems with executables that used shared
: libraries.  These problems were fixed in V2.0.  If you have V1.3 and need to
: use pixie without upgrading to V2.0, linking non_shared avoids most of the
: problems.

I got this song and dance from DEC before, and it's still not true.
Even after compiling non-shared, and making stubs for the stupid
DECnet connect routines that the supplied X library evidentally always
has undefined (but no one notices when loading dynamically), trying
to do something with pixie still blows up.

Save yourself a lot of headache and upgrade to 2.0.

-Ron


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Need info on profiling tools for Alpha AXP architecture !
  1994-09-30 14:50       ` Ron Natalie
@ 1994-09-30 16:08         ` Dirk Grunwald
  0 siblings, 0 replies; 10+ messages in thread
From: Dirk Grunwald @ 1994-09-30 16:08 UTC (permalink / raw)


>>>>> "RN" == Ron Natalie <ron@topaz.sensor.com> writes:
In article <36h8jg$4tf@topaz.sensor.com> ron@topaz.sensor.com (Ron Natalie) writes:

RN> Save yourself a lot of headache and upgrade to 2.0.
--

Actually, save yourself even more trouble - upgrade to 3.0 and install
the ATOM subset. It does everything PIXIE does and more, and is less
buggy and faster to boot.

Plus, you get the purify-like tool called "3rd" for free.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Need info on profiling tools for Alpha AXP architecture !
  1994-09-28 13:21 ` Greg Lueck Development Environment
  1994-09-28 10:57   ` Ron Natalie
@ 1994-09-30 21:32   ` Gary Newman
  1994-10-03 14:27     ` cherkus
  1994-10-03 15:25     ` Greg Lueck Development Environment
  1 sibling, 2 replies; 10+ messages in thread
From: Gary Newman @ 1994-09-30 21:32 UTC (permalink / raw)


Greg Lueck Development Environment (lueck@gurgi.zk3.dec.com) wrote:
[snip]
: 4. Most implementations of the the Alpha architecture support
:    performance counters that keep track of various CPU statistics (like
:    the number of stall cycles, the number of dual issues, the number of
:    first level cache misses, etc.)  OSF/1 provides a tool, uprofile,
:    that allows users to measure these events and report where in their
:    application they occurred.  A postprocessor allows you to display a
:    histogram output of where these events occurred in your application.
[snip]

I don't see the tool "uprofile" in OSF/1 V2.0 at all.  It this a 3.0 tool?
-- 
Gary Newman                             gnewman@xmx.com
XMX Corp.                               voice: (617) 275-9694
One Oak Park                            Fax:   (617) 271-9164
Bedford, MA 01730


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Need info on profiling tools for Alpha AXP architecture !
  1994-09-30 21:32   ` Gary Newman
@ 1994-10-03 14:27     ` cherkus
  1994-10-03 15:25     ` Greg Lueck Development Environment
  1 sibling, 0 replies; 10+ messages in thread
From: cherkus @ 1994-10-03 14:27 UTC (permalink / raw)


Gary Newman wrote in article <Cwyp6u.7BM@world.std.com> :
>I don't see the tool "uprofile" in OSF/1 V2.0 at all.  It this a 3.0 tool?

Yes.

--
Dave Cherkus          UniMaster, Inc.         cherkus@unimaster.com 


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Need info on profiling tools for Alpha AXP architecture !
  1994-09-30 21:32   ` Gary Newman
  1994-10-03 14:27     ` cherkus
@ 1994-10-03 15:25     ` Greg Lueck Development Environment
  1 sibling, 0 replies; 10+ messages in thread
From: Greg Lueck Development Environment @ 1994-10-03 15:25 UTC (permalink / raw)



In article <Cwyp6u.7BM@world.std.com>, gnewman@world.std.com (Gary Newman) writes:
|> 
|> I don't see the tool "uprofile" in OSF/1 V2.0 at all.  It this a 3.0 tool?

Yes.  Sorry for not mentioning that in the original post.  Uprofile ships on
V3.0.  Atom also ships on V3.0 as an ADK (advanced development kit).

-- 
-------------------------------------------------------------------------------
Greg Lueck                              Opinions expressed herein are my own.
lueck@zk3.dec.com
-------------------------------------------------------------------------------
-- 
-------------------------------------------------------------------------------
Greg Lueck                              Opinions expressed herein are my own.
lueck@zk3.dec.com
-------------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~1994-10-03 15:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-09-27 14:43 Need info on profiling tools for Alpha AXP architecture ! Czeslaw Kazimierczak
1994-09-28  0:19 ` Jeffrey Mogul
1994-09-28 13:21 ` Greg Lueck Development Environment
1994-09-28 10:57   ` Ron Natalie
1994-09-29 18:51     ` Greg Lueck Development Environment
1994-09-30 14:50       ` Ron Natalie
1994-09-30 16:08         ` Dirk Grunwald
1994-09-30 21:32   ` Gary Newman
1994-10-03 14:27     ` cherkus
1994-10-03 15:25     ` Greg Lueck Development Environment

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox