Malloc() under UNICOS

Tony Warnock ttw at lanl.gov
Wed Aug 29 02:51:52 AEST 1990



     Generally, system actions such as MALLOC() cannot be speeded up.
     These ususally require at least a trip through the operating
     system. If the current location of the program in memory does not
     have enough room for the program to expand, the job must be swapped
     to disk and then put back into a larger slot.

     The only good way to remove time from MALLOC() is not to call it
     as often. You will have to re-write your algorithm not to do
     so much memory management.



More information about the Comp.unix.cray mailing list