From owner-freebsd-stable@FreeBSD.ORG  Thu Apr 15 05:26:39 2010
Return-Path: <owner-freebsd-stable@FreeBSD.ORG>
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 34B97106564A;
	Thu, 15 Apr 2010 05:26:39 +0000 (UTC)
	(envelope-from maho.nakata@gmail.com)
Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54])
	by mx1.freebsd.org (Postfix) with ESMTP id C0EC68FC12;
	Thu, 15 Apr 2010 05:26:38 +0000 (UTC)
Received: by gwaa12 with SMTP id a12so549157gwa.13
	for <multiple recipients>; Wed, 14 Apr 2010 22:26:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:sender:date:message-id:to:cc
	:subject:from:in-reply-to:references:x-mailer:mime-version
	:content-type:content-transfer-encoding;
	bh=hO0xPT3aUkvqOiX+A3gONSJRAVKWepwqfiFKinfOetw=;
	b=hkq6x2pJGk+FvZnLBzy1tP1eLjkFQP0Y1k4xF62rVic8nHiuiV2u1smnnQU2fHj6Im
	JAC8ie8qYK11s/ZBp/qm4LX18LptO6Qwq+GrZlSx/90zRE563QZhyFmT/HSiV71oX2JP
	WYc4otRt3cmHrNJj3QXYu57DHWdNsMT7e3hBw=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=sender:date:message-id:to:cc:subject:from:in-reply-to:references
	:x-mailer:mime-version:content-type:content-transfer-encoding;
	b=SsHa8xJpPpvbT/IBcDIJ7oboP3XAowoL1BZ8FXIx0bq+nM8GjANOMIaFSKv2NwCtcv
	drBs2ikIhbq+vztTj/jZI1kBa2uvgFY786xqdqbOpkpOjwl5mC6qwtlTZQQiuVB9ZA+t
	uivCxdmVHL2crhAsAiVtXpk8CZ+ZNLU26yNaA=
Received: by 10.100.245.19 with SMTP id s19mr7454406anh.190.1271309197939;
	Wed, 14 Apr 2010 22:26:37 -0700 (PDT)
Received: from localhost (rikad42.riken.jp [134.160.214.42])
	by mx.google.com with ESMTPS id 15sm308887yxh.40.2010.04.14.22.26.35
	(version=SSLv3 cipher=RC4-MD5); Wed, 14 Apr 2010 22:26:36 -0700 (PDT)
Sender: Maho NAKATA <maho.nakata@gmail.com>
Date: Thu, 15 Apr 2010 14:26:32 +0900 (JST)
Message-Id: <20100415.142632.986891133573714078.chat95@mac.com>
To: pieter@degoeje.nl
From: Maho NAKATA <chat95@mac.com>
In-Reply-To: <201004141605.18992.pieter@degoeje.nl>
References: <20100414.082109.29593248145846106.chat95@mac.com>
	<4BC5C0D1.9030800@freebsd.org>
	<201004141605.18992.pieter@degoeje.nl>
X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: freebsd-stable@freebsd.org, avg@freebsd.org
Subject: 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 <freebsd-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>, 
	<mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable>
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
	<mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Apr 2010 05:26:39 -0000

From: Pieter de Goeje <pieter@degoeje.nl>
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.
-- Nakata Maho http://accc.riken.jp/maho/ , JA OOO http://ja.openoffice.org/
   Blog: http://blog.goo.ne.jp/nakatamaho/ , GPG key: http://accc.riken.jp/maho/maho.pgp.txt