From owner-freebsd-stable@FreeBSD.ORG Thu Apr 15 07:56:25 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01AC2106564A; Thu, 15 Apr 2010 07:56:25 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 988048FC1C; Thu, 15 Apr 2010 07:56:24 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so358003qwi.7 for ; Thu, 15 Apr 2010 00:56:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=CGUeS1Fu0ihBmny/RdsSjCNkaLMRjJPs3C36cyqCjVU=; b=YVIv41Tl7qC8JV3UFrrAOgHR5+nAmBfrOosHi139U6TMbt/MV772sg8PZgdRlz53Rg kTlvQl7ir3K9kxIiyeeHxT/GxrcdILP13EAM2poVElgPk2agD5BCufc+Apa7wvIo97t9 /RSbr7/6NWrLmDNN0UWUlmrwA53cxXU5XJ86s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=qrtxHnv2PMh4dBWD4RYR7SgOHJTyc4UmWB7pRjhCR2xVa311hY7G4+iZgIJXi2HYy4 uucsEOyAhOfDaWxPW52dp+Gz6j4TkCLMLL6N8O/iC9sHZsqEEJqCHwh78eEbWbo/5xWh x7ERbPbW9PZMZerPQhaeuUOffvrra7jlSx0PE= MIME-Version: 1.0 Received: by 10.229.28.85 with HTTP; Thu, 15 Apr 2010 00:56:23 -0700 (PDT) In-Reply-To: <20100415.142632.986891133573714078.chat95@mac.com> References: <20100414.082109.29593248145846106.chat95@mac.com> <4BC5C0D1.9030800@freebsd.org> <201004141605.18992.pieter@degoeje.nl> <20100415.142632.986891133573714078.chat95@mac.com> Date: Thu, 15 Apr 2010 00:56:23 -0700 Received: by 10.229.214.17 with SMTP id gy17mr9514621qcb.42.1271318183517; Thu, 15 Apr 2010 00:56:23 -0700 (PDT) Message-ID: From: Garrett Cooper To: Maho NAKATA Content-Type: text/plain; charset=ISO-8859-1 Cc: pieter@degoeje.nl, freebsd-stable@freebsd.org, avg@freebsd.org Subject: Re: Linux static linked ver doesn't work on FBSD (Re: How to reproduce: Re: Only 70% of theoretical peak performance on FreeBSD 8/amd64, Corei7 920) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2010 07:56:25 -0000 On Wed, Apr 14, 2010 at 10:26 PM, Maho NAKATA wrote: > From: Pieter de Goeje > Subject: Re: How to reproduce: Re: Only 70% of theoretical peak performance on FreeBSD 8/amd64, Corei7 920 > Date: Wed, 14 Apr 2010 16:05:18 +0200 > >> I think the best test would be to run a statically compiled linux binary on >> FreeBSD. That way the compiler settings are exactly the same. > > It is not possible for Linux amd64 binary to run on FreeBSD amd64, > ...and not i386 version neither. GotoBLAS uses special systeml call. > > % ./dgemm > linux_sys_futex: unknown op 265 > linux: pid 1264 (dgemm): syscall mbind not implemented > n: 3000 > ^C > just halt. Yes, and while this isn't directly tied into numa, mbind(2), mempolicy(2), and a few others use the same facilities that are available via plain numa. I know because of messes I've tried to clean up in these areas. I'm really not sure why this is using numa though to be honest... Thanks, -Garrett