3rd party memory for RS-6000 530 installed!

John F Haugh II jfh at rpp386.cactus.org
Wed Feb 6 23:58:26 AEST 1991


In article <5055 at awdprime.UUCP> ... at cs.utexas.edu:ibmaus!auschs!leopard.austin.ibm.com!frank writes:
>> Now that we have 64 Mbytes, does anyone know how to configure
>> the kernel such that malloc will allocate 64 mbytes (or more) ?
>> Right now, malloc refuses to allocate more than 32 mbytes and
>> we have not been able to figure out how to change this.
>
>I think that you need to look at the 'ulimit' command.  At least on my
>machine, the limit for memory is 32M.

You also need to be aware that the algorithm for AIX v3's malloc
is the same one used by BSD.  It uses "power of 2" allocation, which
causes requests to be rounded up to the next larger power of 2.  Thus,
for a 33MB request to be satisfied, you would have to have 64MB of
space remaining in your data segment.
-- 
John F. Haugh II                             UUCP: ...!cs.utexas.edu!rpp386!jfh
Ma Bell: (512) 832-8832                           Domain: jfh at rpp386.cactus.org
"I've never written a device driver, but I have written a device driver manual"
                -- Robert Hartman, IDE Corp.



More information about the Comp.unix.aix mailing list