On Sat, Jan 22, 2022 at 09:25:25AM +0100, Otto Moerbeek wrote:

> On Mon, Jan 17, 2022 at 08:42:47AM +0100, Otto Moerbeek wrote:
> 
> > On Sun, Jan 09, 2022 at 02:54:43PM +0100, Otto Moerbeek wrote:
> > 
> > > Hi,
> > > 
> > > currently malloc does cache a number of free'ed regions up to 128k in
> > > size. This cache is indexed by size (in # of pages), so it is very
> > > quick to check.
> > > 
> > > Some programs allocate and deallocate larger allocations in a frantic
> > > way.  Accodomate those programs by also keeping a cache of regions
> > > betwen 128k and 2M, in a cache of variable sized regions.
> > > 
> > > My test case speeds up about twice. A make build gets a small speedup.
> > > 
> > > This has been tested by myself on amd64 quite intensively. I am asking
> > > for more tests, especialy on more "exotic" platforms. I wil do arm64
> > > myself soon.  Test can be running your favorite programs, doing make
> > > builds or running tests in regress/lib/libc/malloc.
> > > 
> > > Thanks in advance!
> > 
> > 
> > I received several success reports and one failure on macppc report
> > from Miod. I'm investiging that report to see if this diff can be
> > blamed.
> > 
> > In the meantime: keep on testing!
> > 
> >     -Otto
> 
> So far I have been unable to reproduce. I would like confirmation
> either way from somebody else having a macppc machine. Any volunteer?
> 
> Thanks,
> 
>       -Otto

It turns out the macppc troubles have ben resolved by an uvm commit.

        -Otto

Reply via email to