From owner-freebsd-ports@FreeBSD.ORG Sat Jun 23 16:10:59 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 23EC61065675 for ; Sat, 23 Jun 2012 16:10:59 +0000 (UTC) (envelope-from scheidell@FreeBSD.org) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [204.89.241.253]) by mx1.freebsd.org (Postfix) with ESMTP id E78D18FC08 for ; Sat, 23 Jun 2012 16:10:58 +0000 (UTC) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [10.70.1.253]) by mx1.secnap.com.ionspam.net (Postfix) with ESMTP id 71D20621C51 for ; Sat, 23 Jun 2012 12:10:58 -0400 (EDT) X-Virus-Scanned: SpammerTrap(r) VPS-1500 2.18 at mx1.secnap.com.ionspam.net Received: from USBCTDC001.secnap.com (usbctdc001.secnap.com [10.70.1.1]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.secnap.com.ionspam.net (Postfix) with ESMTPS id AB3EB621C33 for ; Sat, 23 Jun 2012 12:10:57 -0400 (EDT) Received: from USBCTMX001.secnap.com (::ffff:10.70.1.129) by USBCTDC001.secnap.com (::ffff:10.70.1.1) with Microsoft SMTP Server (TLS) id 14.0.722.0; Sat, 23 Jun 2012 12:10:57 -0400 Message-ID: <4FE5EA8E.1020302@FreeBSD.org> Date: Sat, 23 Jun 2012 12:10:54 -0400 From: Michael Scheidell Organization: SECNAP Network Security Corp User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.7; en-US; rv:1.9.2.20) Gecko/20110804 Thunderbird/3.1.12 MIME-Version: 1.0 To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Anyone using perl-5.12 and WITH_PERL_MALLOC? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jun 2012 16:10:59 -0000 I have tried it a couple of times, hearing that is increases the performance of security/amavisd-new, but each time I tried it: on 7.3, and 7.4 amd64, I get 'bus error' on 7.4 I386, I get 'Segmentation fault' Not ready (yet) to diagnose this. but, here were build options: ---Begin OPTIONS List--- ===> The following configuration options are available for perl-5.12.4_4: DEBUGGING=off: Build with debugging support GDBM=off: Build GDBM_File extension PERL_MALLOC=on: Use Perl malloc PERL_64BITINT=on: Use 64 bit integers (on i386) THREADS=off: Build threaded perl PTHREAD=on: Build with -pthread MULTIPLICITY=off: Use multiplicity SITECUSTOMIZE=off: Run-time customization of @INC USE_PERL=on: Rewrite links in /usr/bin ===> Use 'make config' to modify these settings ---End OPTIONS List--- (I noticed in the Makefile, if you have WITH_THREADS && WITH_PERL_MALLOC, .if defined(WITH_THREADS) #XXX .if ${ARCH} == "amd64" #XXX IGNORE= Threaded perl does not pass tests on ${ARCH} #XXX .endif CONFIGURE_ARGS+= -Dusethreads=y PKGNAMESUFFIX= -threaded WITH_PTHREAD= yes # it seems perl malloc has problems with threaded perl on FreeBSD .undef WITH_PERL_MALLOC I wonder if this is true for WITH_PTHREAD (which is on by default) anyone using it this way? with_perl_malloc? on 7.x? is it broken on 7.x? -- Michael Scheidell, CTO >*| * SECNAP Network Security Corporation d: +1.561.948.2259 w: http://people.freebsd.org/~scheidell