From owner-svn-ports-all@FreeBSD.ORG Tue Aug 7 02:57:05 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABB6B106566B for ; Tue, 7 Aug 2012 02:57:05 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 88F458FC15 for ; Tue, 7 Aug 2012 02:57:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q772v5bt065820 for ; Tue, 7 Aug 2012 02:57:05 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q772v4mC065819 for svn-ports-all@freebsd.org; Tue, 7 Aug 2012 02:57:04 GMT (envelope-from bdrewery) Received: (qmail 8592 invoked from network); 6 Aug 2012 21:57:02 -0500 Received: from unknown (HELO ?10.10.0.115?) (freebsd@shatow.net@10.10.0.115) by sweb.xzibition.com with ESMTPA; 6 Aug 2012 21:57:02 -0500 Message-ID: <502083EC.1050305@FreeBSD.org> Date: Mon, 06 Aug 2012 21:56:44 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Peter Jeremy References: <201208052051.q75Kpl6E025458@svn.freebsd.org> <20120807012458.GB25854@server.rulingia.com> In-Reply-To: <20120807012458.GB25854@server.rulingia.com> X-Enigmail-Version: 1.4.3 OpenPGP: id=3C9B0CF9; url=http://www.shatow.net/bryan/bryan.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r302135 - in head/devel: . lockfree-malloc X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2012 02:57:05 -0000 On 8/6/2012 8:24 PM, Peter Jeremy wrote: > On 2012-Aug-05 20:51:47 +0000, Bryan Drewery wrote: >> Log: >> lockfree-malloc is a scalable drop-in replacement for malloc/free. >> >> * It's thread-friendly. It supports a practically-unlimited number of >> concurrent threads, without locking or performance degradation. >> * It's efficient, especially in a multi-threaded environment. Compared to >> a stock libc allocator, we see a significant performance boost. >> * It does NOT fragment or leak memory, unlike a stock libc allocator. >> * It wastes less memory. For small objects (less than 8kb in size), the >> overhead is around 0 bytes. (!) > > Are these claims relative to the FreeBSD base malloc (jemalloc) or > some other malloc (presumably the one in glibc)? I suspect the > latter but as currently written, it implies they are shortcomings > in the former. > I believe the claims are directed at glibc malloc. It's was designed for Linux usage and ported over to FreeBSD. -- Regards, Bryan Drewery bdrewery@freenode/EFNet