From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96934] Mining Ethereum orders of magnitude slower than on proprietary drivers. Date: Fri, 15 Jul 2016 04:15:33 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0885764806==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0216C6E3BD for ; Fri, 15 Jul 2016 04:15:33 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0885764806== Content-Type: multipart/alternative; boundary="14685561330.aCa5.19254"; charset="UTF-8" --14685561330.aCa5.19254 Date: Fri, 15 Jul 2016 04:15:33 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D96934 Bug ID: 96934 Summary: Mining Ethereum orders of magnitude slower than on proprietary drivers. Product: Mesa Version: unspecified Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: lvella@gmail.com QA Contact: dri-devel@lists.freedesktop.org By enabling a libclc extension on ethminer OpenCL code, I managed to run it using Ubuntu 16.04 and Oibaf's PPA. The code has been merged into https://github.com/ethereum/libethereum and you can benchmark it for yourse= lf. Using a Radeon r9 280X, I ran the following command: $ ethminer -G -F mine.weipool.org:5555/0x7079a42c78d28ce9216c290d1bbc61e7b12d54a3/0.5 and got in output, among other things: ... miner 01:09:13.001|ethminer Mining on PoWhash #20c1b379=E2=80=A6 : 556569= H/s =3D 524288 hashes / 0.942 s miner 01:09:13.875|ethminer Mining on PoWhash #20c1b379=E2=80=A6 : 599871= H/s =3D 524288 hashes / 0.874 s miner 01:09:14.758|ethminer Mining on PoWhash #20c1b379=E2=80=A6 : 296878= H/s =3D 262144 hashes / 0.883 s miner 01:09:15.624|ethminer Mining on PoWhash #20c1b379=E2=80=A6 : 606113= H/s =3D 524288 hashes / 0.865 s miner 01:09:16.480|ethminer Mining on PoWhash #20c1b379=E2=80=A6 : 612485= H/s =3D 524288 hashes / 0.856 s miner 01:09:17.353|ethminer Mining on PoWhash #20c1b379=E2=80=A6 : 601247= H/s =3D 524288 hashes / 0.872 s miner 01:09:18.210|ethminer Mining on PoWhash #20c1b379=E2=80=A6 : 611771= H/s =3D 524288 hashes / 0.857 s ... This reported rash rate is about 3% of the rate my GPU is supposed to deliv= er (it should be in the order of 22 MH/s).=20 By the way, that command will mine on the public pool WeiPool and direct the earnings to my address 0x7079a42c78d28ce9216c290d1bbc61e7b12d54a3. If you w= ant to try and don't send me money, change that number to you Ethereum or Bitco= in address. Instructions in mine.weipool.org. --=20 You are receiving this mail because: You are the assignee for the bug.= --14685561330.aCa5.19254 Date: Fri, 15 Jul 2016 04:15:33 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 96934
Summary Mining Ethereum orders of magnitude slower than on proprietar= y drivers.
Product Mesa
Version unspecified
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter lvella@gmail.com
QA Contact dri-devel@lists.freedesktop.org

By enabling a libclc extension on ethminer OpenCL code, I mana=
ged to run it
using Ubuntu 16.04 and Oibaf's PPA. The code has been merged into
https://github.com/ethe=
reum/libethereum and you can benchmark it for yourself.

Using a Radeon r9 280X, I ran the following command:

$ ethminer -G -F
mine.weipool.org:5555/0x7079a42c78d28ce9216c290d1bbc61e7b12d54a3/0.5

and got in output, among other things:

...
miner  01:09:13.001|ethminer  Mining on PoWhash #20c1b379=E2=80=A6 : 556569=
 H/s =3D
524288 hashes / 0.942 s
miner  01:09:13.875|ethminer  Mining on PoWhash #20c1b379=E2=80=A6 : 599871=
 H/s =3D
524288 hashes / 0.874 s
miner  01:09:14.758|ethminer  Mining on PoWhash #20c1b379=E2=80=A6 : 296878=
 H/s =3D
262144 hashes / 0.883 s
miner  01:09:15.624|ethminer  Mining on PoWhash #20c1b379=E2=80=A6 : 606113=
 H/s =3D
524288 hashes / 0.865 s
miner  01:09:16.480|ethminer  Mining on PoWhash #20c1b379=E2=80=A6 : 612485=
 H/s =3D
524288 hashes / 0.856 s
miner  01:09:17.353|ethminer  Mining on PoWhash #20c1b379=E2=80=A6 : 601247=
 H/s =3D
524288 hashes / 0.872 s
miner  01:09:18.210|ethminer  Mining on PoWhash #20c1b379=E2=80=A6 : 611771=
 H/s =3D
524288 hashes / 0.857 s
...

This reported rash rate is about 3% of the rate my GPU is supposed to deliv=
er
(it should be in the order of 22 MH/s).=20

By the way, that command will mine on the public pool WeiPool and direct the
earnings to my address 0x7079a42c78d28ce9216c290d1bbc61e7b12d54a3. If you w=
ant
to try and don't send me money, change that number to you Ethereum or Bitco=
in
address. Instructions in mine.weipool.org.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14685561330.aCa5.19254-- --===============0885764806== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0885764806==--