comp.lang.ada
 help / color / mirror / Atom feed
* SmartHeap memory management with Ada
@ 1997-02-27  0:00 W. Wesley Groleau (Wes)
  1997-03-04  0:00 ` Nick Lewins
  0 siblings, 1 reply; 4+ messages in thread
From: W. Wesley Groleau (Wes) @ 1997-02-27  0:00 UTC (permalink / raw)



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

http://www.microquill.com   if you never heard of it.

---------------------------------------------------------------------------
W. Wesley Groleau (Wes)                                Office: 219-429-4923
Hughes Defense Communications (MS 10-41)                 Home: 219-471-7206
Fort Wayne,  IN   46808                  (Unix): wwgrol@pseserv3.fw.hac.com
---------------------------------------------------------------------------




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

* Re: SmartHeap memory management with Ada
  1997-03-04  0:00 ` Nick Lewins
@ 1997-03-04  0:00   ` Robert Dewar
  1997-03-05  0:00   ` Laurent Pautet
  1 sibling, 0 replies; 4+ messages in thread
From: Robert Dewar @ 1997-03-04  0:00 UTC (permalink / raw)



<<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.>>

Note that GNAT uses malloc and free directly, so this and other tools
which replace malloc/free will work with GNAT without any special
fiddling being necessary.





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

* Re: SmartHeap memory management with Ada
  1997-02-27  0:00 SmartHeap memory management with Ada W. Wesley Groleau (Wes)
@ 1997-03-04  0:00 ` Nick Lewins
  1997-03-04  0:00   ` Robert Dewar
  1997-03-05  0:00   ` Laurent Pautet
  0 siblings, 2 replies; 4+ messages in thread
From: Nick Lewins @ 1997-03-04  0:00 UTC (permalink / raw)
  To: W. Wesley Groleau (Wes)


(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




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

* Re: SmartHeap memory management with Ada
  1997-03-04  0:00 ` Nick Lewins
  1997-03-04  0:00   ` Robert Dewar
@ 1997-03-05  0:00   ` Laurent Pautet
  1 sibling, 0 replies; 4+ messages in thread
From: Laurent Pautet @ 1997-03-05  0:00 UTC (permalink / raw)




<<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.>>

Robert> Note that GNAT uses malloc and free directly, so this and
Robert> other tools which replace malloc/free will work with GNAT
Robert> without any special fiddling being necessary.

dbmalloc is one example.

-- 
-- Laurent




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

end of thread, other threads:[~1997-03-05  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-02-27  0:00 SmartHeap memory management with Ada W. Wesley Groleau (Wes)
1997-03-04  0:00 ` Nick Lewins
1997-03-04  0:00   ` Robert Dewar
1997-03-05  0:00   ` Laurent Pautet

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