Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 1997 14:16:41 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        michaelh@cet.co.jp (Michael Hancock)
Cc:        proff@suburbia.net, hackers@FreeBSD.ORG
Subject:   Re: SLAB stuff, and applications to current net code (fwd)
Message-ID:  <199701262116.OAA02314@phaeton.artisoft.com>
In-Reply-To: <Pine.SV4.3.95.970126202624.21926A-100000@parkplace.cet.co.jp> from "Michael Hancock" at Jan 26, 97 08:36:44 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > Can anyone inform me what a SLAB allocator is, and if so, would freebsd
> > benefit from one?
> 
> It's a chunk of memory that you put multiple kernel objects of the same
> type into.  We have a modified mach zone allocator.  They're both type
> stable memory allocators. 

A SLAB allocator is also a modified MACH zone allocator.

> I not sure how much benefit the SLAB allocator would offer over what we
> have.  There's some extra overhead in maintaining a SLAB.

There is significant cache benefit.  See Vahalia.

> BTW, SLAB is used in Solaris.

Yes, "pure SLAB"... and it handicaps their SMP something fierce.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701262116.OAA02314>