Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Oct 2014 16:46:15 +0000 (UTC)
From:      John Dison <jdison16@yahoo.com>
To:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   NVidia Tesla K40
Message-ID:  <2074770725.140543.1414773975682.JavaMail.yahoo@jws10681.mail.bf1.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hello!
I want to use NVidia Tesla K40 GPU for parallel computing.Does FreeBSD support such a hardware?
Thanks a lot!
From owner-freebsd-current@FreeBSD.ORG  Fri Oct 31 18:35:52 2014
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
Delivered-To: freebsd-current@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 1B23C7DA
 for <freebsd-current@freebsd.org>; Fri, 31 Oct 2014 18:35:52 +0000 (UTC)
Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de
 [130.133.4.66])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id A126ABBD
 for <freebsd-current@freebsd.org>; Fri, 31 Oct 2014 18:35:51 +0000 (UTC)
Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69])
 by outpost.zedat.fu-berlin.de (Exim 4.82) with esmtp
 (envelope-from <ohartman@zedat.fu-berlin.de>)
 id <1XkH30-0015Sb-Mf>; Fri, 31 Oct 2014 19:35:42 +0100
Received: from g225118094.adsl.alicedsl.de ([92.225.118.94]
 helo=thor.walstatt.dynvpn.de)
 by inpost2.zedat.fu-berlin.de (Exim 4.82) with esmtpsa
 (envelope-from <ohartman@zedat.fu-berlin.de>)
 id <1XkH30-003a9Y-JY>; Fri, 31 Oct 2014 19:35:42 +0100
Date: Fri, 31 Oct 2014 19:35:37 +0100
From: "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To: John Dison <jdison16@yahoo.com>
Subject: Re: NVidia Tesla K40
Message-ID: <20141031193537.28d8879c.ohartman@zedat.fu-berlin.de>
In-Reply-To: <2074770725.140543.1414773975682.JavaMail.yahoo@jws10681.mail.bf1.yahoo.com>
References: <2074770725.140543.1414773975682.JavaMail.yahoo@jws10681.mail.bf1.yahoo.com>
Organization: FU Berlin
X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.22; amd64-portbld-freebsd11.0)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
 boundary="Sig_/9fRoOlzUZ2xHOP9eXP3+l48"; protocol="application/pgp-signature"
X-Originating-IP: 92.225.118.94
X-ZEDAT-Hint: A
Cc: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>;
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 31 Oct 2014 18:35:52 -0000

--Sig_/9fRoOlzUZ2xHOP9eXP3+l48
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Am Fri, 31 Oct 2014 16:46:15 +0000 (UTC)
John Dison <jdison16@yahoo.com> schrieb:

> Hello!
> I want to use NVidia Tesla K40 GPU for parallel computing.Does FreeBSD su=
pport such a
> hardware? Thanks a lot!
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


You're out of luck. No, FreeBSD doesn't support GPGPU computing on modern g=
raphics
hardware. Since 2009 we try to utilize FreeBSD for such a purpose, especial=
ly with
the use of OpenCL for high performance computing.

Around 2010 there was the glimpse of a dawn with Pathscale, offering a Open=
ACC-precursor
with their compiler infrastructure, supposed to be capable of utilizing Fre=
eBSD and
nVidia GPUs (that time Tesla) with Pathscale-libraries (I forgot the name, =
it's CAPS or
something like that) but at the end it revealed its self as a heap of unfin=
ished,
unmature code and by now the company or ist successor doen't even provide a=
 commercial
product for FreeBSD - the project died!

It is even worse: FreeBSD ports dropped Nouveau! There are effords bringing=
 libclc, the
new Mesa library, Glover and OpenCL in combination with LLVM 3.4/3.5 togeth=
er to provide
OpenCL and via LLVM the nVidia PTX backend, but as far as I know this work =
is still under
development and immature and FreeBSD is no longer part of the scene due to =
the drop of
the Nouveau driver (I was told FreeBSD lacks important kernel features know=
n for years
for KMS).

CUDA is completely out of view: nVidia doesn't provide support for FreeBSD.=
 nVidia
fellows claim there is no need/request from FreeBSD people. I believe it is=
 simply
ignorance and a stupid political issue, made years ago, that we suffer from=
 by now.

The situation with open source AMD driver (radeonSI) is unknown to me. We m=
ade very bad
experiences with AMD hardware in the era of the AMD HD46XX/47XX and HD48XX =
chipsets and
the development is/was behind the recent chips available on market. On Linu=
x there were
reports of successfully running OpenCL kernels on the radeonSI drivers with=
 Glover/Mesa
and other mandatory software not available for FreeBSD - the FreeBSD X11 ba=
se system is
also "methusalem" and behind the recent development. If you would go with A=
MD, you would
have to stay with open source since AMD doens't provide BLOBs for their GPU=
s for FreeBSD.
For Linux, the AMD OpenCL SDK is very nice, their hardware is pretty fast (=
> nVidia!)
while their driver tend to crash. But as said, Linux only.

With nVidia you get a pretty fast and nice BLOB for all FreeBSDs and modern=
 GPUs from
nVidia, but there is no OpenCL backend lib (or CUDA). Either way, it is a d=
ead end with
FreeBSD.

There was also once a setup with the FreeBSD Linuxulator - but this is 32bi=
t only and a
no go for serious scientific compuations. We also tried this with more mode=
rn FreeBSDs
(8.X, 9.X, 10-CURRENT that time), but with CUDA > 4 you're out of luck. And=
 FreeBSD
doesn't have a 64bit support in the Linuxulator. And why running a Linuxula=
tor?

If you really plan to use a beast like K40, consider dropping FreeBSD and u=
sing Linux! We
started with Ubuntu and OpenSuse that time. At the first moment the shock i=
s heavy, but
you'll come along with Linux very soon. The only bad thing is the missing Z=
FS support as
someone might be used to in FreeBSD but this is also only a question of tim=
e (more short
than long!). Linux development is pretty fast these days, support is excell=
ent and Linux
suffers from bad karma from the days of the Linux 2.4 kernel. That has chan=
ged
dramatically. A department developing security facilities is now dropping O=
penBSD in
favour of Debian Linux, even OpenBSD is still considered more "bullet proof=
". But the
decision was made due to a dramatic driver issue - I mention this here beca=
use also
FreeBSD seems to suffer increasingly (compared to to Linux) from driver iss=
ues for high
performance equipment (special interlink adaptors, WiFi NICs and even the G=
PU issue!).

I'm very sad having no better experience to tell.

oh=20

--Sig_/9fRoOlzUZ2xHOP9eXP3+l48
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJUU9Z+AAoJEOgBcD7A/5N8fN0H/jd/KQHwRiqf6biAC4X248ba
RKyuGQsfGgMlH9v6GCAHEsoTdveR/9sgZjbGThAaqZtCcKc+TTTzolJI7j0xoljI
POQ+7RrXm0m9kPNjErEQLnonWuqBPsUAunVRoaAgtRTLUlMeSRgIoIgqPhT2g7Nx
Dtsxm1tlg+BIL/amhbF4DQLrUYF50lTvkw7B/8JIWIL1lZ4PACcoDDNqdpnhPpu4
GYocWPpHd0McSxryl+xH2TMrDSgLMwdU5gkz/s84LY1bZvTPOmncreNeg3PlC8p0
KawGIttlR0vgxBiLK6NhW5kAJmOx6FiMLf3XwGlrl/lRAtk4uVOmJiraBqSDn20=
=D9/f
-----END PGP SIGNATURE-----

--Sig_/9fRoOlzUZ2xHOP9eXP3+l48--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2074770725.140543.1414773975682.JavaMail.yahoo>