From owner-freebsd-stable@freebsd.org Fri Apr 3 18:27:48 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F1811263C25; Fri, 3 Apr 2020 18:27:47 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48v7hW29npz3y0f; Fri, 3 Apr 2020 18:27:38 +0000 (UTC) (envelope-from shoesoft@gmx.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1585938448; bh=Zq4o7PISmzZ/DzAOQwuY0E6Smdf7Zbzl+AptY4JTHhA=; h=X-UI-Sender-Class:From:To:Subject:Date:In-Reply-To:References; b=jonCmbd5eR/HmQh5gcUVV+LYjeTDpK1enXvQ0EqT03LqgH209hYwAHoFRA/5BOYuK krjCH75J4ud2nMTP+Lzv5B4rxkogMu34qpZZUxQXpu/uG9sAFfwJqDisfgH3m+dAo+ fegLcnahNa9Z0Kulg6OHeGRvzVd7Eovpq5nikZjw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from walrus.pepperland ([81.217.71.61]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mq2nA-1ixns204VW-00n9N1; Fri, 03 Apr 2020 20:27:28 +0200 From: Stefan Ehmann To: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: HOWTO donate CPU to the fight against the Corona-virus Date: Fri, 03 Apr 2020 20:27:27 +0200 Message-ID: <5219387.8gLySxXtyI@walrus.pepperland> In-Reply-To: <1804877.u6MfGjpqfb@walrus.pepperland> References: <20200319085745.Horde.yAf5603LMT07oVm8NR1Abs6@webmail.leidinger.net> <20200321120755.Horde.zo0-HJ_AnsKmqqmFSb98-e8@webmail.leidinger.net> <1804877.u6MfGjpqfb@walrus.pepperland> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K1:xWi5VyEkXwfRHW1zTLzK7v/vz4Fy5Us63EG7UI2yj6N5JjH7kYD q8cpTwHPwB6C+gazswliEnMbtQT4wzr2BEedP87lroWHRkIycEtqTlHv4KB6rRVj8DL6K9B gtKc2RpLX0/eh6YfvUyFXbE2P3iaQ0ZV1IGpYmstQqhbk4B8n4QVZZw4akB0z8M2YkNcIur cPsEzUxx8LTsAUwJQ2oFQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:7cLwcfZS+VM=:4v3njl/i2cZIJ5Cc2EQAXB lndHBX7i3VwprvR9tpAZTWHrOaYq7FOMN4+xEsnV7bSxVpfjiiMQ3cucwkqybAehjp98DFg8D 8hbZnXc59g9C8fNWN3vJr9pDBOFgnRoRjEA8yxt1bA7dv2YAmDrtJ17qo0B/XRAOMxm0/SWVa d4Lrw5BjZadSX08ey2GcZ62L2zNQJkP1zGe8eBgg1nrip//r41fa6ASR+R4laR2yWHd2EcO9x O8N/BJg+c1ImDomCrewX4Oy9XUl4zVHVCG+sjABA+NE0VI74gaEDUeZsIZZDbzxmF1eTYrpzP 8o+SBnmeBLVzN+ptZJ4ZJZ7miDTXnMrBecDV9iVVmh/x+2uRkU5p5krhAd3FlzMRNmJ9H3mgj ggdQ1+lTmBv1C2vClLEOLstY3VzZmf70akthHrrz91DF33Y52xlThCsiZQP2Y8WDk4vA9Qbjr O7181wv6+mgKviW6hK/PHkZkB7+hPFSjKfA4hBeFd0qP3QdHtmYNVZ0WnEBiwcajEGLMh8tcM VBwpW8ilTlo6wNBCDW1oOkWi/WVos1j3L+lcDPYPZE+t4yTFvtXMYF3LD8Caxr2BAo0xqQjQW hagaHVG29UzR+uri3zLYeuqbB32k6Gb4Ko4klZEDS5XBLUOz9qNTJ19lsA4O3cnN/6cE9haoa sFb6/+GPD1AokfSRBBFVI4BXZztCFO4f69hvUmfrNIrfk3YmDfXYkwY8kGF8uzttxj30LKKiZ v+Wl6u4KulTEW9iuqMqUzR2oRHogadNT9GWDrdDpbeC5YDJntxJ1SLgpY6sx+K15LjXLTHQa8 aLhpfTsbmkVukWfXAFLyz1fJR5KMBGTQBrCwYPV1hpj3KU64gwMNq+yev3N0ywvq5iYyprNjN CC6UIYJRFFGpaZT4NJ/az2rhIM9sFsrf2ODE9BO9k7hBt33sxAy4E9BAop+N43HpWseTOKz40 Ot75wiA/LplZs7wD0S3AYwXtVor5UqENuxRA8oHQpjYUdToZJprK2UcachZGyrfSuTQ22DBQ+ 5WmZG+axqeS3R09zSErFdobkleSrIX3Gb5JTcLDkFAOf4jcL2a4eK5g3J0rGhEjlgsoKgIBQM lBmWaNHVV9Kc8963vaXRrRiV8BN5pBUcE3lR4fetslrqUnWJ4G/HfjazFrEl9/P3RxyEEmDAY 2JJlwk1Ak40pdGVyyjjZHfwzN6zmNSdFO6f9mUakSnsiEremKS6Glo6Wp0UlYx1VJsJb5g7tL AG/KFP66wl/OrXAvT X-Rspamd-Queue-Id: 48v7hW29npz3y0f X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=jonCmbd5; dmarc=none; spf=pass (mx1.freebsd.org: domain of shoesoft@gmx.net designates 212.227.15.19 as permitted sender) smtp.mailfrom=shoesoft@gmx.net X-Spamd-Result: default: False [-2.60 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; RECEIVED_SPAMHAUS_PBL(0.00)[61.71.217.81.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmx.net.dwl.dnswl.org : 127.0.3.0]; R_SPF_ALLOW(-0.20)[+ip4:212.227.15.0/25]; FREEMAIL_FROM(0.00)[gmx.net]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[gmx.net]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(0.00)[ip: (-6.77), ipnet: 212.227.0.0/16(-1.13), asn: 8560(2.13), country: DE(-0.02)]; DKIM_TRACE(0.00)[gmx.net:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_IN_DNSWL_LOW(-0.10)[19.15.227.212.list.dnswl.org : 127.0.3.1]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.net]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Apr 2020 18:27:48 -0000 On Sunday, March 22, 2020 11:38:31 AM CEST Stefan Ehmann wrote: > On Saturday, March 21, 2020 12:07:55 PM CET Alexander Leidinger wrote: > > Quoting Stefan Ehmann (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 > > >> -f > > >> ree 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% faste= r > > > than > > > on FreeBSD. > > > > The pure CPU based code should be the same. Someone would have to > > trace / reverse engineer what is going on. > > I'm pretty sure now that libOpenCL is only relevant for GPU slots. > > I couldn't reproduce that the presence of libOpenCL.so has any effect on= CPU > slots. Didn't make much sense anyway, something else must have been goin= g > on. So there's probably no point in getting OpenCL to run on FreeBSD unt= il > we have GPU rendering. > > The numbers displayed by FAHControl are rather strange: > * There is no discernible difference in speed if 1 or all CPU cores are = used > (but top shows that 600% CPU cycles are burned) - happens on both Ubuntu > and Linuxolator > * According to the progress bar, Ubuntu completes 1% per minute, but > Linuxolator only 0.1% (for the same work unit) > > Don't know if the numbers displayed are bogus or there is really that mu= ch > of a difference. Maybe the issue is only related to a specific WU or to > AMD-CPUs. Just a short update: I've tested the port with a different WU and everything seems normal. Spee= d is comparable to Linux and multi-core also works as expected. My previous problems can probably be ignored, not sure what the problem actually was.