From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075325906663.tru64-unix-managers.marc@archive.invalid> From: Han.Weegink () att ! cmg ! nl (Han Weegink) Date: Wed, 13 Dec 1995 12:26:48 +0000 To: tru64-unix-managers Subject: SUMMARY: profilers & memory leak checkers (long) X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075325906663 The original questions were: q1> I'm looking for a good profiler which helps me pin point q1> the slow parts of an application. q1> q1> I've had a look at uprofile, which is of limited use q1> since it does not handle multithreaded applications q1> very well. Also, multiple instances of the same q1> application all send their information to the q1> same output file, rendering it rather useless. and q2> I.m looking for tools that help in detecting memory leaks, q2> freeing already free'd memory, array bound overruns, etc. q2> q2> I have some (good) experience with Purify, but that appears q2> not to be available for Digital Unix. Within 48 hours I had about 2 dozen answers. Suggested tools are: Profiler: Atom/hiprof, prof, gprof, Parasight, uprofile Memory leak detector: Insure++, Sentinel, Atom/3rd degree, Insight I have included detailed information below. Many thanks to all, Han (Han.Weegink@cmg.nl) =============================================== From: Christophe Colle (translated) > > try malloc_dbg ... available for free somewhere on the net. > use Archie to find out where exactly. From: gagnons@cae.ca > > We evaluate the product Insure++ from Parasoft is specialize for C++ > memory leak on the Digital UNIX platform, and seem very good, you can > get more info from: > Joe Valdez > Corporate Accounts Manager email: joe@ParaSoft.com > ParaSoft Corporation web: http://www.parasoft.com > 2031 South Myrtle Ave voice: (818) 305-0041 > Monrovia, CA 91016 fax: (818) 305-9048 From: gosejac@rto.dec.com > > you asked: >>I.m looking for tools that help in detecting memory leaks, >>freeing already free'd memory, array bound overruns, etc. > Try 'man third'. This man page describes a tool (3rd aka third degree) > based on the Atom analysis tool. Make sure you have the ATMBASE320 subset > installed (its on the OSF/1 CD under ALPHA/ATOM). Very helpful tool for > several types of analysis. > > you asked: >>I'm looking for a good profiler which helps me pin point >>the slow parts of an application. > > Missed your second mail. Again Atom is worth a try. Type > 'man atomtools' and check out 'hiprof'. > Martin Gosejacob From: "Anthony D'Atri" > >There's a suite of tools called ATOM on the OS CD's that may be useful to you. From: SXRGS > >The 3rd Degree tool supplied with ATOM is real good for this. ATOM comes as >an optional product with the operating system. It had some problems at 3.2, >don't know abuot 3.2c. >gordon schumacher >sxrgs@alaska.edu From: vsp@unx.dec.com > >you may want to try insure++ from parasoft. > vipul patel From: mogul@pa.dec.com (Jeffrey Mogul) > >You want to install the "ATOM tools", which are in the ATMBASE >optional subset, I believe. > >This includes a memory access checker called "Third Degree" >(try "man third"), and also includes a variety of profiling >tools (to answer your other question); try "man hiprof". >Finally, it lets you write your own tools really easily. > >This is not currently a "supported" product, but it works >pretty well. >From lsw@zk3.dec.com > >For memory leak tools, two third party products available are >Sentinel from Aib Software and Insight from Parasoft. > >A free but unsupported tool for debugging memory leaks is available >from gatekeeper.dec.com:/pub/misc/dmalloc/*. Refer to the information >in file ./contrib/dec_notes in the tar file. > >The prof and gprof tools on Digital Unix 3.0 and later releases >support threaded programs. See prof(1), gprof(1) and monitor(3). >You can obtain samples across the process or on a per-thread basis >with these tools. >You need to set environment variables (described in the man pages and >in the Programmer's Guide) to enable per-thread profiling. > >The Atom ADK (Advanced Developer's Kit) is available on Digital >Unix 3.0 and later systems. However, the tools supplied in this kit: >pixie, hiprof, and Third Degree (memory leak detection), do not support >threaded programs. The kit provides an API for development of customized >performance or debugging tools. >Atom and the Atom tools will be fully productized and supported in >Digital Unix 4.0 which is currently in field test. > >uprofile should work correctly with threaded programs, since all >data collection is done in the kernel. It cannot perform per-thread >profiling, and does not provide an interface for generating uniquely >named profiling output files. This will be added to the requirements >for a future release. > Linda From: Frank Nick Riley > >We use Sentinel on our Alphas and Purify on our Sparcs. We have had > good experience w/ both. > > Sentinel is available from AIB Software Corp., (703) 430-9247, > info@aib.com. From: Gyula Szokoly > >> I.m looking for tools that help in detecting memory leaks, >> freeing already free'd memory, array bound overruns, etc. > > Insight. If you need, drop an e-mail in the afternoon and I dig up >the name of the company. > Gyula From:golden@falcon.invincible.com > >AIB software makes a product called sentinel for Digital >UNIX. I started evaluating it at one time, but haven't >really had a chance to look at it seriously. > Dave From:lampert@alf.dec.com > >There is a product called ATOM (aka 3rd Degree) which ships on the Digital >UNIX Operating System CD. > Pat From:dhinz@dna406.dna.mci.com > >Try AIB's Sentinel tool for Digital UNIX. It has worked great for us. >Info at www.aib.com > David Hinz MCI From: Mike Palmer > >You might want to take a look at Parasight from Encore Computer Corporation. >Parasight is a Debugger, Profiler/Execution Analysis and Data Monitor package >that runs under OSF/1 3.0 and up. > >It's execution analysis part times all or selected routines in an application >down to micro second resolution. The instrumentation is inserted dynamically >into the target application - which can be stopped - or even running at the >time of insertion. In addition, the overhead of performing the instrumentation >is very small. > >You can download a demo copy of Parasight from: >ftp.encore.com:/pub/development/demos/alpha >or checkout Encore's www page for more details: >www.encore.com From: Benoit Maillard - Digital France > >atom(1) and third(1) will help you. > Regards, Benoit From:joe@resptk.bhp.com.au > >Ive been using Insure++, its a rival for Purify & Sentinel and outbeats them >by a long shot, can detect almost anything. >Web page is http://www.parasoft.com/ > >Should try the following person if you wish to try it out. It can be >evaluated, you just need to get the package from the network by ftp. It comes >in a tar file (9Mbytes) > > Joe Valdez > Corporate Accounts Manager email: joe@ParaSoft.com > ParaSoft Corporation web: http://www.parasoft.com > 2031 South Myrtle Ave voice: (818) 305-0041 > Monrovia, CA 91016 fax: (818) 305-9048 > >Regards Joe From: Dougal Scott > >> I'm looking for tools that help in detecting memory leaks, >> freeing already free'd memory, array bound overruns, etc. > >We have exactly the same problem, and evaluated the following two products: > >Insure++: We had great problems getting it to work properly with cxx (it would >core dump during the link phase). Also we were abused by their sales person >when we requested an extension to the evaluation, when we had problems with >their program, which didn't impress any of us. > >Sentinel: This seemed to work, however we have our own threads library, which >it couldn't handle, so we weren't able to use this. However the support and >marketing people where very helpful. And many others. Han Weegink email: Han.Weegink@cmg.nl CMG Computer Management Group P.O. Box 412 1180 AK Amstelveen The Netherlands Phone: +31-20-5033000 Fax: +31-20-5033016