Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Mar 2020 12:07:55 +0100
From:      Alexander Leidinger <Alexander@leidinger.net>
To:        Stefan Ehmann <shoesoft@gmx.net>
Cc:        current@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: HOWTO donate CPU to the fight against the Corona-virus
Message-ID:  <20200321120755.Horde.zo0-HJ_AnsKmqqmFSb98-e8@webmail.leidinger.net>
In-Reply-To: <2005523.RhTPgMbj8J@walrus.pepperland>
References:  <20200319085745.Horde.yAf5603LMT07oVm8NR1Abs6@webmail.leidinger.net> <2005523.RhTPgMbj8J@walrus.pepperland>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Quoting Stefan Ehmann <shoesoft@gmx.net> (from Sat, 21 Mar 2020  
11:38:26 +0100):

> On Thursday, March 19, 2020 8:57:45 AM CET Alexander Leidinger via freebsd-
> stable wrote:
>> Hi,
>>
>> if someone wants to donate some FreeBSD based CPU resources to the
>> fight against the Corona-virus, here is a quick HOWTO in terms of
>> installing the Folding@Home client on FreeBSD:
>>
>> https://www.leidinger.net/blog/2020/03/19/fighting-the-coronavirus-with-free
>> bsd-foldinghome/
>>
>
> Unfortunately, (using a CPU slot for the same work unit) TPF is 2-3 times
> slower than on Ubuntu for me. Much of the speed difference seems to  
> be related
> to libOpenCL. If remove libOpenCL on Ubuntu, it's still 20-30% faster than on
> FreeBSD.

The pure CPU based code should be the same. Someone would have to  
trace / reverse engineer what is going on.

> Don't know how stable the TPF numbers are, so numbers may be bogus.
>
> Will a CPU slot also use the GPU with libOpenCL or is it just using better
> optimized code? I tried to install libOpenCL but all I get is:

No idea. Just an assumption: either full CPU or full GPU.

> OpenCL: Not detected: clGetPlatformIDs() returned -1001

Depending on what clGetPlatformIDs is doing and if it is not  
using/requesting some GPU support, it may be worth to check the code  
of it so see if we can improve something.

> Since there's no CUDA support for FreeBSD, I guess there is no point  
> in trying
> getting GPU slots to work.

I assume the same. First step would be to get CUDA support in FreeBSD.  
I think I remember somewhere on the X11 mailinglist someone told that  
he got some NVidia GPU compute part working... not really sure about  
that part. It would help to get a big player to request it from  
NVidia. As Netflix seems to go the "encode videos on CPU" (assumption  
based upon their Intel av1 codec support/benchmarks) way, and other  
players in the video / graphics business more oriented towards linux,  
I do not have much hope in this regard ATM.

Bye,
Alexander.

-- 
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABAgAGBQJedfWLAAoJEBINsJsD+NiGJHEP/3zpzXxXQeZSdx10m9MQnJks
9AXLUbwH4LO6iAfnpSXRP8HxDp3HO8hRS4slzWxPokja8vxXSqWSlrX3Ze1RWaSU
JGwta4hx8khuE7l5gUEZVFkso7y6Qp+WnSlyzJIwY1NDyxIIm4MlIzGPoR8z+iIc
kUhuCeauagm/bqdIiYMeNUrNuxS/IPtA+Dwd02teS08IxN7l6xk8YQ0Sa59iGlmq
PX7UsoICtqCih/kRon0y7a8HWqGgYfN+25DLeTJXffG+6y0OxyqgBSBrjLA3BIXS
CiM32qBRs76HM3kgveqd6kfycsNN7Xgds2qeWaGPJbifts+ba1lPCD1qlILebQLh
4JcI2DmvdCLiucVxZWUF8LG1Ea54WCQCiCi6676mv+8ILOoZW17a3lJZH7t/vegH
JIfx5PbzPRV+DOjnTQIJYu+pd4yxrrT6eKJm2Wm/dCfmIJXnIWA49Aae6zi3aNG5
bkW7WrBy2DANdGHl7jArOSDv8hcn1MPzsZ/6VMcMAb+HHKSP9K/iS23Y7k+RiixZ
zJhG4crzdNKIIc0yIaXvptcMM59Tk4znG9LsRuBTCduLhtqPN7JYWxUth7A3INcB
QqOetB56A9gvyn+PNNrq8zunpWxnOJjNnhrzDJuPk1NRzUSvEA/f48KQsrV3T8zn
tXC9HuY7BwjBgaCeiG28
=G/qe
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200321120755.Horde.zo0-HJ_AnsKmqqmFSb98-e8>