home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!goanna!minyos.xx.rmit.oz.au!dtb
- From: dtb@otto.bf.rmit.oz.au (David Bath)
- Newsgroups: comp.unix.programmer,comp.sys.hp.comp.sys.dec
- Subject: Re: Best malloc(3) replacement for huge sys w/many small objects?
- Message-ID: <dtb.714876030@otto>
- Date: 27 Aug 92 00:40:30 GMT
- References: <markmc.714700004@sierra.com>
- Sender: usenet@minyos.xx.rmit.oz.au (Njuiz noveles nova newes)
- Organization: RMIT Computer Centre, Melbourne Australia.
- Lines: 16
-
- markmc@sierra.com (Mark McWiggins) writes:
- ...
-
- > Currently, the allocator is unsuitable for direct use in a large virtual
- > environment where many small blocks are kept, since it keeps all allo-
- > cated and freed blocks on a circular list. Just before more memory is
- > allocated, all allocated and freed blocks are referenced.
-
- Use of malloc(3) rather than malloc(2) does this I think by preallocating
- in decent hunks. Use cc ...... -lmalloc to get the malloc(3).
-
- ========================================================================
- David T. Bath
- email: dtb@otto.bf.rmit.oz.au
- Work: Global Technology Corporation, Carlton, Vic, OZ (03) 3477511
- =======================================================================
-