Bitcoin Forum
May 06, 2024, 05:06:37 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 [72] 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 ... 197 »
  Print  
Author Topic: [LOCKED] cpuminer-opt v3.12.3, open source optimized multi-algo CPU miner  (Read 443972 times)
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
October 18, 2016, 03:57:17 PM
 #1421


Me again, something was clearly the older cpu 1156 and 1366 do not provide anything more than hs with older miner such as the fx processors have not improved anything if someone has a solution thank you in advance

Pleas provide the command line and program output.
cpuminer-btver1 -a lyra2z -o stratum+tcp://xzc.suprnova.cc:5595  -u darun.darun -p 1 --hide-diff

You were already told AMD perfoms poorly. And don't hijack another user's conversation.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
1714971997
Hero Member
*
Offline Offline

Posts: 1714971997

View Profile Personal Message (Offline)

Ignore
1714971997
Reply with quote  #2

1714971997
Report to moderator
1714971997
Hero Member
*
Offline Offline

Posts: 1714971997

View Profile Personal Message (Offline)

Ignore
1714971997
Reply with quote  #2

1714971997
Report to moderator
1714971997
Hero Member
*
Offline Offline

Posts: 1714971997

View Profile Personal Message (Offline)

Ignore
1714971997
Reply with quote  #2

1714971997
Report to moderator
The Bitcoin software, network, and concept is called "Bitcoin" with a capitalized "B". Bitcoin currency units are called "bitcoins" with a lowercase "b" -- this is often abbreviated BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714971997
Hero Member
*
Offline Offline

Posts: 1714971997

View Profile Personal Message (Offline)

Ignore
1714971997
Reply with quote  #2

1714971997
Report to moderator
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
October 18, 2016, 06:58:02 PM
 #1422

joblo, regarding compiling, is there anything up against replacing the windows compiles with "-march=<some march>" by compiles with just the extensions added (-msse2/-maes/-mavx/-mavx2) like nicehash does it for their compiles? would boil the resulting bins down to essentially 3 or 4 and the right one can easily be identified

cheers
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
October 18, 2016, 07:45:27 PM
 #1423

joblo, regarding compiling, is there anything up against replacing the windows compiles with "-march=<some march>" by compiles with just the extensions added (-msse2/-maes/-mavx/-mavx2) like nicehash does it for their compiles? would boil the resulting bins down to essentially 3 or 4 and the right one can easily be identified

cheers

My intent is to do something similar but continue to compile on architecture boundaries instead of cherry picking features.
If I ignore the manufacturer differences there are 4 levels I want to support: SSE2, +AES, +AVX, +AVX2. Unfortunately
Westmere doesn't have its own compile arch defined but is SSE4.1+AES. I am targetting redundant builds one at a time.

For AMD I'm relying on your advice of what special AMD builds would be useful, meaning there isn't a compatible Intel
build with the same critical features. I would also need to be able to build it which could be an issue.

For now I'm targetting btver1. Any reason to keep it?

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
October 18, 2016, 07:53:25 PM
 #1424

joblo, regarding compiling, is there anything up against replacing the windows compiles with "-march=<some march>" by compiles with just the extensions added (-msse2/-maes/-mavx/-mavx2) like nicehash does it for their compiles? would boil the resulting bins down to essentially 3 or 4 and the right one can easily be identified

cheers

My intent is to do something similar but continue to compile on architecture boundaries instead of cherry picking features.
If I ignore the manufacturer differences there are 4 levels I want to support: SSE2, +AES, +AVX, +AVX2. Unfortunately
Westmere doesn't have its own compile arch defined but is SSE4.1+AES. I am targetting redundant builds one at a time.

For AMD I'm relying on your advice of what special AMD builds would be useful, meaning there isn't a compatible Intel
build with the same critical features. I would also need to be able to build it which could be an issue.

For now I'm targetting btver1. Any reason to keep it?


for cryptonight the difference between a native amd compile and a generic "-maes -mavx" compile is minimal, like sub 10 H/s

for lyra2re the difference was (afaik) larger, however all other compiles packaged resulted in even worse performance

for zcoin the difference is not observable

as a conclusion best amd compile is native, and after that a generic with -m flags
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
October 18, 2016, 08:13:56 PM
 #1425

joblo, regarding compiling, is there anything up against replacing the windows compiles with "-march=<some march>" by compiles with just the extensions added (-msse2/-maes/-mavx/-mavx2) like nicehash does it for their compiles? would boil the resulting bins down to essentially 3 or 4 and the right one can easily be identified

cheers

My intent is to do something similar but continue to compile on architecture boundaries instead of cherry picking features.
If I ignore the manufacturer differences there are 4 levels I want to support: SSE2, +AES, +AVX, +AVX2. Unfortunately
Westmere doesn't have its own compile arch defined but is SSE4.1+AES. I am targetting redundant builds one at a time.

For AMD I'm relying on your advice of what special AMD builds would be useful, meaning there isn't a compatible Intel
build with the same critical features. I would also need to be able to build it which could be an issue.

For now I'm targetting btver1. Any reason to keep it?


for cryptonight the difference between a native amd compile and a generic "-maes -mavx" compile is minimal, like sub 10 H/s

for lyra2re the difference was (afaik) larger, however all other compiles packaged resulted in even worse performance

for zcoin the difference is not observable

as a conclusion best amd compile is native, and after that a generic with -m flags

I can't build native for any AMD arch, that's why I want to know which don't have an equivalent Intel build.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
October 18, 2016, 08:24:26 PM
 #1426

joblo, regarding compiling, is there anything up against replacing the windows compiles with "-march=<some march>" by compiles with just the extensions added (-msse2/-maes/-mavx/-mavx2) like nicehash does it for their compiles? would boil the resulting bins down to essentially 3 or 4 and the right one can easily be identified

cheers

My intent is to do something similar but continue to compile on architecture boundaries instead of cherry picking features.
If I ignore the manufacturer differences there are 4 levels I want to support: SSE2, +AES, +AVX, +AVX2. Unfortunately
Westmere doesn't have its own compile arch defined but is SSE4.1+AES. I am targetting redundant builds one at a time.

For AMD I'm relying on your advice of what special AMD builds would be useful, meaning there isn't a compatible Intel
build with the same critical features. I would also need to be able to build it which could be an issue.

For now I'm targetting btver1. Any reason to keep it?


for cryptonight the difference between a native amd compile and a generic "-maes -mavx" compile is minimal, like sub 10 H/s

for lyra2re the difference was (afaik) larger, however all other compiles packaged resulted in even worse performance

for zcoin the difference is not observable

as a conclusion best amd compile is native, and after that a generic with -m flags

I can't build native for any AMD arch, that's why I want to know which don't have an equivalent Intel build.

yes i know there is no native compile, best compile for my fx and a6/a10 cpus was a generic compile (after native), every one of the intel compiles was slower than the generic one
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
October 18, 2016, 09:28:41 PM
 #1427

joblo, regarding compiling, is there anything up against replacing the windows compiles with "-march=<some march>" by compiles with just the extensions added (-msse2/-maes/-mavx/-mavx2) like nicehash does it for their compiles? would boil the resulting bins down to essentially 3 or 4 and the right one can easily be identified

cheers

My intent is to do something similar but continue to compile on architecture boundaries instead of cherry picking features.
If I ignore the manufacturer differences there are 4 levels I want to support: SSE2, +AES, +AVX, +AVX2. Unfortunately
Westmere doesn't have its own compile arch defined but is SSE4.1+AES. I am targetting redundant builds one at a time.

For AMD I'm relying on your advice of what special AMD builds would be useful, meaning there isn't a compatible Intel
build with the same critical features. I would also need to be able to build it which could be an issue.

For now I'm targetting btver1. Any reason to keep it?


for cryptonight the difference between a native amd compile and a generic "-maes -mavx" compile is minimal, like sub 10 H/s

for lyra2re the difference was (afaik) larger, however all other compiles packaged resulted in even worse performance

for zcoin the difference is not observable

as a conclusion best amd compile is native, and after that a generic with -m flags

I can't build native for any AMD arch, that's why I want to know which don't have an equivalent Intel build.

yes i know there is no native compile, best compile for my fx and a6/a10 cpus was a generic compile (after native), every one of the intel compiles was slower than the generic one

What options? I will try to build it with those optoins on my Intel and see if it works well on your AMD.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
October 18, 2016, 09:33:43 PM
 #1428


What options? I will try to build it with those optoins on my Intel and see if it works well on your AMD.

you can compile with: "-maes -mavx", this results an a binary with sse2, aes and avx support (none of my amd cpus has avx2)

ill gladly test it

on a side note: benchmark of lyra2z was broken in ocminers miner and yours as well, are you planning on fixing it or just wait till mpt (or whatever the new zcoin algo is named) gets released?
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
October 18, 2016, 09:45:02 PM
 #1429

also i just remembered the mysterious bug/error where cpuminer-opt would crash in my lxc containers with a buffer overflow, its not happening anymore, seems it was indeed some lxc or kernel related issue

edit: it might also be related to me not catching the stdout/stderr when spawning cpuminer-opt as a child process, anyways its working now Cheesy
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
October 18, 2016, 10:04:07 PM
 #1430


What options? I will try to build it with those optoins on my Intel and see if it works well on your AMD.

you can compile with: "-maes -mavx", this results an a binary with sse2, aes and avx support (none of my amd cpus has avx2)

ill gladly test it

on a side note: benchmark of lyra2z was broken in ocminers miner and yours as well, are you planning on fixing it or just wait till mpt (or whatever the new zcoin algo is named) gets released?

I'll build one and pm you the link. It should be the same as corei7-avx or core-avx-i.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
October 19, 2016, 09:17:22 AM
 #1431

here are the results (surprised me that the packaged builds did better on lyra2*, last time i tested them they where worse):

fx-8320e:

lyra2re:

aes-avx: 396kh/s
corei7-avx: 412kh/s
core-avx-i: 411kh/s

lyra2rev2:

aes-avx: 539kh/s
corei7-avx: 568kh/s
core-avx-i: 568kh/s

cryptonight (8 threads):

aes-avx: 229h/s
corei7-avx: 228h/s
core-avx-i: 229h/s

cryptonight (7 threads):

aes-avx: 231h/s
corei7-avx: 230h/s
core-avx-i: 229h/s


a10-6800k:

lyra2re:

aes-avx: 311kh/s
corei7-avx: 314kh/s
core-avx-i: 317kh/s

lyra2rev2:

aes-avx: 344kh/s
corei7-avx: 364kh/s
core-avx-i: 364kh/s

cryptonight (4 threads):

aes-avx: 48h/s
corei7-avx: 47h/s
core-avx-i: 47h/s

cryptonight (3 threads):

aes-avx: 56h/s
corei7-avx: 58h/s
core-avx-i: 58h/s
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
October 19, 2016, 11:50:43 AM
 #1432

here are the results (surprised me that the packaged builds did better on lyra2*, last time i tested them they where worse):

fx-8320e:


Thanks, those are the results I expected. Next release i will drop the btver1 build and recommend AMD users choose the Intel build
with the same features.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
Marvell1
Legendary
*
Offline Offline

Activity: 2408
Merit: 1102


Leading Crypto Sports Betting & Casino Platform


View Profile
October 19, 2016, 04:43:12 PM
 #1433

here are the results (surprised me that the packaged builds did better on lyra2*, last time i tested them they where worse):

fx-8320e:


Thanks, those are the results I expected. Next release i will drop the btver1 build and recommend AMD users choose the Intel build
with the same features.
trying to run this miner on my desk top but I crashes right away

I have and dual core Pentium g4400 cpu (Sandy bridge)

cpuminer-core-avx2 -a zcoin -o stratum+tcp://xzc.pool.mn:2428 -u user -p x

any help ?

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
October 19, 2016, 04:57:32 PM
 #1434


trying to run this miner on my desk top but I crashes right away

I have and dual core Pentium g4400 cpu (Sandy bridge)

cpuminer-core-avx2 -a zcoin -o stratum+tcp://xzc.pool.mn:2428 -u user -p x

any help ?

Read the readme, Sandybridge doesn't support avx2.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
Nik4691
Sr. Member
****
Offline Offline

Activity: 352
Merit: 250



View Profile
October 19, 2016, 04:58:28 PM
 #1435

here are the results (surprised me that the packaged builds did better on lyra2*, last time i tested them they where worse):

fx-8320e:


Thanks, those are the results I expected. Next release i will drop the btver1 build and recommend AMD users choose the Intel build
with the same features.
trying to run this miner on my desk top but I crashes right away

I have and dual core Pentium g4400 cpu (Sandy bridge)

cpuminer-core-avx2 -a zcoin -o stratum+tcp://xzc.pool.mn:2428 -u user -p x

any help ?
No AVX2 or even AVX for this processor.
Use the cpuminer-corei7.exe kenel.
Madmach
Full Member
***
Offline Offline

Activity: 121
Merit: 100


View Profile
October 19, 2016, 06:04:24 PM
 #1436

Hi, After several hours mining displays "Unauthorized worker".
After rebooting cpu-miner its all OK. I have AMD FX,  cpuminer-btver1 -a lyra2z -o stratum+tcp://xzc.suprnova.cc:5595 -u user.worker -p pass
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
October 20, 2016, 12:27:30 AM
 #1437

what about renaming the binaries to the corresponding arch?

4.8.x didnt include this (thats why you where not able to compile westmere, or in general other arch's by their name)

gcc 4.8.5, 4.9.4, 5.4.0 and 6.2.0 indicate the following:

core2 == core2
corei7 == nehalem
corei7-avx == sandybridge
core-avx-i == ivybridge
core-avx2 == haswell

missing in 4.8.x:

westmere (4.9.4)
broadwell (4.9.4)
skylake (6.2.0)

i suppose there is no easy way to upgrade gcc in a mingw environment on windows, im using gnustep which is the current version and only ships with gcc 4.8.x sadly

i also attempted cross compiling but ran into issues with linking the libs in the last step, has anybody done that before?
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
October 20, 2016, 01:11:41 AM
 #1438

what about renaming the binaries to the corresponding arch?

4.8.x didnt include this (thats why you where not able to compile westmere, or in general other arch's by their name)

gcc 4.8.5, 4.9.4, 5.4.0 and 6.2.0 indicate the following:

core2 == core2
corei7 == nehalem
corei7-avx == sandybridge
core-avx-i == ivybridge
core-avx2 == haswell

missing in 4.8.x:

westmere (4.9.4)
broadwell (4.9.4)
skylake (6.2.0)

i suppose there is no easy way to upgrade gcc in a mingw environment on windows, im using gnustep which is the current version and only ships with gcc 4.8.x sadly

i also attempted cross compiling but ran into issues with linking the libs in the last step, has anybody done that before?

I just defaulted to the gcc arch but I'm flexible. A case could also be made for going strictly by the best feature like is displayed
by the miner.

Using the Intel brand doesn't help with AMD users who are unfamiliar with them. The newer architectures have the best
feature in their name so AMD users can key on that (assuming the issue of compatibility and performance of Intel builds
on AMD CPUs is resolved).

I'm also considering dropping core-avx-i as their is no specifically targetted code for this arch. If there are any performance differences
over corei7-avx it's all from the compiler. I would like to hear if there are users with Ivybridge CPUs that get lower perfomance using
corei7-avx vs core-avx-i.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
mikhan
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
October 20, 2016, 08:34:15 AM
 #1439

tried cpuminer-xzc, it shows weird (?) 220-230 kh/s hashrate but a pool shows about 60-70 h/s, 48 threads

are you referring to ocminers cpuminer-xzc or cpuminer-opt by joblo?

please share the parameters used to start the miner for further debug, might just be a wrong algo specified
this one is from https://github.com/ocminer/cpuminer-xzc/releases
command line: cpuminer -a lyra2rev2 -o stratum+tcp://xzc.suprnova.cc:5595 -u ***.*** -p *** -t 48
mikhan
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
October 20, 2016, 08:54:58 AM
 #1440

so this is default (no -t) run of joblo's miner on dual xeon e5-2690v3
48 threads

(pls don't mind *-3.4.5 folder name, it's a clean 3.4.Cool
-t 12

Pages: « 1 ... 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 [72] 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 ... 197 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!