From owner-freebsd-hackers Sun Jan 26 14:28:01 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA28552 for hackers-outgoing; Sun, 26 Jan 1997 14:28:01 -0800 (PST) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA28540 for ; Sun, 26 Jan 1997 14:27:54 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.6/8.6.5) with SMTP id OAA08492; Sun, 26 Jan 1997 14:25:45 -0800 (PST) Message-Id: <199701262225.OAA08492@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol To: Terry Lambert cc: proff@suburbia.net, hackers@FreeBSD.ORG Subject: Re: SLAB stuff, and applications to current net code (fwd) In-reply-to: Your message of "Sun, 26 Jan 1997 14:05:45 MST." <199701262105.OAA02273@phaeton.artisoft.com> From: David Greenman Reply-To: dg@root.com Date: Sun, 26 Jan 1997 14:25:45 -0800 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Vahalia cites a paper: > "Efficient Kernel Memory Allocation on Shared Memory > Multiprocessors" > McKenney, P.E. and Slingwine, J. > Proceedings of USENIX, Winter, 1993 > >Which shows the sequent code to be faster than the McKusick-Karels >algorithm by a factor of three to five on a UP, and a factor of >one hundred to one thousand on a 25 processor system. I haven't read that paper, but I suspect that the numbers are wrong due to spl* having high overhead back then. Since Bruce's "fast interrupt" code, spl* is almost free, and this changes things greatly. The situation might change slightly in MP systems, but the total time inside of malloc is so small that I really doubt that synchronization/serialization will ever be a significant problem. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project