comp.lang.ada
 help / color / mirror / Atom feed
From: Nick Lewins <nick@ccis.adisys.com.au>
To: "W. Wesley Groleau (Wes)" <wwgrol@PSESERV3.FW.HAC.COM>
Subject: Re: SmartHeap memory management with Ada
Date: 1997/03/04
Date: 1997-03-04T00:00:00+00:00	[thread overview]
Message-ID: <331BBA25.6394@ccis.adisys.com.au> (raw)
In-Reply-To: 9702271926.AA16635@most


(mailed to wwgrol@PSESERV3.FW.HAC.COM)

> Anyone listening who has any knowledge of how the SmartHeap memory
> manager from MicroQuill performs when used with Ada programs?

It depends on how your Ada compiler currently implements
its memory management operations.  We did a couple of
trials with smartheap last year.  The runtimes we tested were:
.  Alsys AdaWorld 5.5.3 default memory allocator
.  custom version of above runtime which calls OS malloc
   for each memory allocation
.  as above using the smartheap version of malloc

For our application under HP-UX, the smartheap code only
showed a little performance increase over the OS malloc, which
was miles better than the compiler's own memory allocator.
We never got time to do comprehensive testing, though.

Smartheap has some great features, particularly useful when
your application is running in an environment low in real
memory (ie: there is swapping going on).  Check out their
white paper (from their website) for more info.  

MicroQuill have me a free evaluation licence for these trials,
and were very supportive.  It's also very easy to use -
just relink your application with the smartheap library.
The only problem is that we had to get a custom version of
the Ada runtime which called malloc rather than using its
own (fairly badly behaved) memory management algorithms.

You might also want to check out the malloc which comes
with the GNU gcc compiler.

The tests were on HP-UX 10.10, BTW.

Nick Lewins
System Architect
ADI Command and Control Information Systems
nick@adied.oz.au / nick@ccis.adisys.com.au




  reply	other threads:[~1997-03-04  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-27  0:00 SmartHeap memory management with Ada W. Wesley Groleau (Wes)
1997-03-04  0:00 ` Nick Lewins [this message]
1997-03-04  0:00   ` Robert Dewar
1997-03-05  0:00   ` Laurent Pautet
replies disabled

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