From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d9f99f16a35d8c55 X-Google-Attributes: gid103376,public From: Nick Lewins Subject: Re: SmartHeap memory management with Ada Date: 1997/03/04 Message-ID: <331BBA25.6394@ccis.adisys.com.au>#1/1 X-Deja-AN: 222958465 Sender: usenet@ccis.adisys.com.au (usenet) References: <9702271926.AA16635@most> To: "W. Wesley Groleau (Wes)" Organization: ADI Command & Control Information Systems Newsgroups: comp.lang.ada Date: 1997-03-04T00:00:00+00:00 List-Id: (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