Subject: Re: pool_get()/pool_put() or malloc()/free()
To: Atsushi Onoe <firstname.lastname@example.org>
From: Andrei Petrov <email@example.com>
Date: 10/27/2000 09:23:02
On Fri, 27 Oct 2000, Atsushi Onoe wrote:
> > I tried to make a GENERIC3X kernel on both kernels which use
> > malloc/free and pool_get/pool_put:
> > malloc: 22796.7u 1418.7s 6:59:10.62 96.2% 0.0k 47761+18193io 553pf+0w
> > pool: 22795.9u 1414.8s 6:59:03.73 96.2% 0.0k 47603+18189io 610pf+0w
> > The difference is not so significant (sun3 is too slow to see it? :-),
> > but I will commit this change anyway.
> I think we should use generic malloc instead of pool_get _hack_ if the
> difference between two is so insignificant.
I doubt that gcc is appropriate benchmark for VM system. That way you
might not see the differences between OSes at all.