Date: Mon, 27 Jan 1997 08:10:38 +1100 From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, phk@critter.dk.tfs.com Cc: current@FreeBSD.org, dg@root.com, swallace@ece.uci.edu Subject: Re: exec bug Message-ID: <199701262110.IAA08711@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>Well, phkmalloc can be a bit undeterministic in this respect, if you want >to be almost sure you get a fair picture do this: > > for (i=4;i<12;i++) > malloc(1<<i); > >That way you know that you have one page of each size ready. That didn't make much difference, but removing `/etc/malloc.conf -> AJ' did :-). Oops. The memset for the J option is especially expensive for a malloc size of 4096 and a read size of 32. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701262110.IAA08711>