From owner-freebsd-current Wed Mar 13 21:49:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from corp5.cbn.net.id (corp5.cbn.net.id [202.158.3.29]) by hub.freebsd.org (Postfix) with ESMTP id 270EA37B419 for ; Wed, 13 Mar 2002 21:49:19 -0800 (PST) Received: from dante.naver.co.id (unknown [202.158.82.9]) by corp5.cbn.net.id (Postfix) with ESMTP id 5A2057415 for ; Thu, 14 Mar 2002 12:49:11 +0700 (WIT) Received: by dante.naver.co.id (Postfix, from userid 1000) id 12BB55B63C; Thu, 14 Mar 2002 12:47:29 +0700 (WIT) Date: Thu, 14 Mar 2002 12:47:29 +0700 From: John Indra To: freebsd-current@freebsd.org Cc: Alfred Perlstein Subject: Re: malloc() and the stock Perl in -CURRENT (and -STABLE) Message-ID: <20020314124729.E8244@office.naver.co.id> Mail-Followup-To: freebsd-current@freebsd.org, Alfred Perlstein References: <20020314104525.B8244@office.naver.co.id> <20020314052810.GH74829@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020314052810.GH74829@elvis.mu.org>; from bright@mu.org on Wed, Mar 13, 2002 at 09:28:10PM -0800 X-Mailer: Mutt 1.2.5.1i on FreeBSD 5.0-CURRENT i386 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Mar 13, 2002 at 09:28:10PM -0800, Alfred Perlstein wrote: >FreeBSD 5.0 has (being a developer release) has special diagnostics >turned on in malloc that causes it to take more time to do allocations. But... it DOESN'T only happen in -CURRENT. Even Raistlin Majere is using a -STABLE or a -RELEASE maybe (he doesn't state his uname output in the message). And to confirm, I have just run the script with FreeBSD 4.4-STABLE of Nov 24th 2001: 44 secs! Awfully slow! (Perl 5.005_03 built from buildworld) And... let me tell you more. I run the script in -CURRENT who has: $ ll /etc/malloc.conf lrwxr-xr-x 1 root wheel 2 Feb 8 14:08 /etc/malloc.conf -> aj This is a "fresh" -CURRENT (Mar 13th 2002) with Perl 5.6.0 built from buildworld. And to clarify things... I don't know what's wrong with malloc() in -CURRENT and -STABLE (and I don't even know whether it's even "wrong"). All I want is to let the Perl maintainer in -CURRENT and -STABLE to compile the stock Perl with its own malloc library, thus Perl in FreeBSD doesn't suffer from this kind of slowness. Thanks... >-Alfred /john "I go, I fight, and I win!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message