joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 18, 2016, 03:57:17 PM |
|
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.
|
|
|
|
felixbrucker
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 18, 2016, 06:58:02 PM |
|
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
Activity: 1470
Merit: 1114
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 18, 2016, 07:45:27 PM |
|
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?
|
|
|
|
felixbrucker
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 18, 2016, 07:53:25 PM |
|
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
Activity: 1470
Merit: 1114
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 18, 2016, 08:13:56 PM |
|
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.
|
|
|
|
felixbrucker
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 18, 2016, 08:24:26 PM |
|
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
Activity: 1470
Merit: 1114
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 18, 2016, 09:28:41 PM |
|
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.
|
|
|
|
felixbrucker
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 18, 2016, 09:33:43 PM |
|
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
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 18, 2016, 09:45:02 PM |
|
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](https://bitcointalk.org/Smileys/default/cheesy.gif)
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 18, 2016, 10:04:07 PM |
|
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.
|
|
|
|
felixbrucker
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 19, 2016, 09:17:22 AM |
|
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
Activity: 1470
Merit: 1114
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 19, 2016, 11:50:43 AM |
|
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.
|
|
|
|
Marvell1
Legendary
Offline
Activity: 2534
Merit: 1129
Leading Crypto Sports Betting & Casino Platform
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 19, 2016, 04:43:12 PM |
|
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
Activity: 1470
Merit: 1114
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 19, 2016, 04:57:32 PM |
|
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.
|
|
|
|
Nik4691
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 19, 2016, 04:58:28 PM |
|
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
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 19, 2016, 06:04:24 PM |
|
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
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 20, 2016, 12:27:30 AM |
|
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
Activity: 1470
Merit: 1114
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 20, 2016, 01:11:41 AM |
|
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.
|
|
|
|
mikhan
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 84
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 20, 2016, 08:34:15 AM |
|
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/releasescommand line: cpuminer -a lyra2rev2 -o stratum+tcp://xzc.suprnova.cc:5595 -u ***.*** -p *** -t 48
|
|
|
|
mikhan
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 84
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
October 20, 2016, 08:54:58 AM |
|
so this is default (no -t) run of joblo's miner on dual xeon e5-2690v3 48 threads ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi67.tinypic.com%2F359akxi.png&t=665&c=QHIuPerk3Y3Wyg) (pls don't mind *-3.4.5 folder name, it's a clean 3.4. ![Cool](https://bitcointalk.org/Smileys/default/cool.gif) -t 12 ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi63.tinypic.com%2F2pzxm37.png&t=665&c=onH8qbY2WKwk3w)
|
|
|
|
|