MrPlazu
Newbie
Offline
Activity: 56
Merit: 0
|
 |
August 07, 2016, 07:53:58 PM |
|
I'm tring to get this version to Work on Ubuntu 16 with algo HMQ1725.
I can't test this anymore at Suprnova. I have an idea what's wrong, it would help if you can tell me the last version where it worked. I should easilly be able to restore it. You can use https://esp.maxminers.net. I'm not sure of the last working version
|
|
|
|
|
|
|
|
You can see the statistics of your reports to moderators on the "Report to moderator" pages.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
|
felixbrucker
|
 |
August 08, 2016, 07:04:45 AM |
|
hi joblo, im having a rather unusual problem when running the miner (latest version in linux + 3.3.8 on windows tested) and using a socks proxy, after some time the miner loses the connection with Stratum connection failed: Could not resolve host: lyra2re.eu.nicehash.com ...retry after 10 seconds my proxy reports this: sockd[11167]: info: block(3): tcp/accept ]: 10.1.0.47.36480 10.1.0.40.1080: error after reading 4 bytes in 0 seconds: eof from local client sockd[11168]: info: block(3): tcp/accept ]: 10.1.0.47.36482 10.1.0.40.1080: error after reading 4 bytes in 0 seconds: eof from local client such an error only happend before and directly when starting the miner if i did not specify my proxy was socks by "socks5://" maybe you can look into it  br
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
 |
August 08, 2016, 01:56:42 PM |
|
hi joblo, im having a rather unusual problem when running the miner (latest version in linux + 3.3.8 on windows tested) and using a socks proxy, after some time the miner loses the connection with Stratum connection failed: Could not resolve host: lyra2re.eu.nicehash.com ...retry after 10 seconds my proxy reports this: sockd[11167]: info: block(3): tcp/accept ]: 10.1.0.47.36480 10.1.0.40.1080: error after reading 4 bytes in 0 seconds: eof from local client sockd[11168]: info: block(3): tcp/accept ]: 10.1.0.47.36482 10.1.0.40.1080: error after reading 4 bytes in 0 seconds: eof from local client such an error only happend before and directly when starting the miner if i did not specify my proxy was socks by "socks5://" maybe you can look into it  br I'm not sure how much I can help, I know nothing about socks. I also don't think it's a problem with the miner because that has never been reported by anyone else. I have seen a single failure on startup at times with other miners so I assume this is an issue with nicehash, or a bug common to ccminer and cpuminer, either way protocol incompatibility of some kind that only occurs with nicehash.. If using socks causes new symptoms I would suspect a problem with socks and/or nicehash. I you don't see the disconnects at other pools it may be the same nicehash incompatibility causing both errors.
|
|
|
|
felixbrucker
|
 |
August 08, 2016, 02:44:59 PM |
|
hmmm i only had this issue if using socks, when connected directly the miner was running fine, socks is setup correctly and working fine with other services as well, will test if this also happens with other miners with nicehash to determine if its a miner or nh problem
will take some time as im leaving for vacations today though
br
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
 |
August 08, 2016, 02:57:28 PM |
|
hmmm i only had this issue if using socks, when connected directly the miner was running fine, socks is setup correctly and working fine with other services as well, will test if this also happens with other miners with nicehash to determine if its a miner or nh problem
will take some time as im leaving for vacations today though
br
Test with socks at other pools as well. If socks is protocol aware (not sure if it is) it may be specific to the stratum+tcp protocol. But since I have seen stratum errors at nicehash with different miners and without socks I'm leaning more toward nicehash. This is assuming the problem I'm seeing and yours have the same root cause. In my case it reconnects promptly so it's not too disruptive.
|
|
|
|
felixbrucker
|
 |
August 08, 2016, 03:12:39 PM |
|
for me it stays disconnected until restarted (that is killed and started again)
socks is just proxying tcp and udp connections, so its not protocol aware, will test when im back
br
|
|
|
|
MrPlazu
Newbie
Offline
Activity: 56
Merit: 0
|
 |
August 08, 2016, 05:15:31 PM |
|
I'm tring to get this version to Work on Ubuntu 16 with algo HMQ1725.
I can't test this anymore at Suprnova. I have an idea what's wrong, it would help if you can tell me the last version where it worked. I should easilly be able to restore it. You can use https://esp.maxminers.net. I'm not sure of the last working version Any update on this?
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
 |
August 08, 2016, 07:06:50 PM |
|
I'm tring to get this version to Work on Ubuntu 16 with algo HMQ1725.
I can't test this anymore at Suprnova. I have an idea what's wrong, it would help if you can tell me the last version where it worked. I should easilly be able to restore it. You can use https://esp.maxminers.net. I'm not sure of the last working version Any update on this? Maybe you could be a little more patient considering you declined my request for more info. It will increase the chances I actually fix it next release. I'n not creating an account at maxminers just for this. If I know what release broke it I will know exactly what broke it and how to fix it. I'm working on some other optimizations, It'll be a couple of days before the next release.
|
|
|
|
MrPlazu
Newbie
Offline
Activity: 56
Merit: 0
|
 |
August 08, 2016, 08:58:05 PM |
|
I'm tring to get this version to Work on Ubuntu 16 with algo HMQ1725.
I can't test this anymore at Suprnova. I have an idea what's wrong, it would help if you can tell me the last version where it worked. I should easilly be able to restore it. You can use https://esp.maxminers.net. I'm not sure of the last working version Any update on this? Maybe you could be a little more patient considering you declined my request for more info. It will increase the chances I actually fix it next release. I'n not creating an account at maxminers just for this. If I know what release broke it I will know exactly what broke it and how to fix it. I'm working on some other optimizations, It'll be a couple of days before the next release. I'm happy to help fix this. I know that Windows version 3-3-8 and Linux version 3-3-5 is working perfect. I haven't tested all Windows and Linux version. Let me know if you want me to test something specific.
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
 |
August 08, 2016, 09:56:01 PM Last edit: August 08, 2016, 10:34:46 PM by joblo |
|
I'm tring to get this version to Work on Ubuntu 16 with algo HMQ1725.
I can't test this anymore at Suprnova. I have an idea what's wrong, it would help if you can tell me the last version where it worked. I should easilly be able to restore it. You can use https://esp.maxminers.net. I'm not sure of the last working version Any update on this? Maybe you could be a little more patient considering you declined my request for more info. It will increase the chances I actually fix it next release. I'n not creating an account at maxminers just for this. If I know what release broke it I will know exactly what broke it and how to fix it. I'm working on some other optimizations, It'll be a couple of days before the next release. I'm happy to help fix this. I know that Windows version 3-3-8 and Linux version 3-3-5 is working perfect. I haven't tested all Windows and Linux version. Let me know if you want me to test something specific. Thanks for the info. That's not what I expected. Are you sure 3.3.8 works? I made a change to hmq1275 in v3.3.8 and that is what I suspected broke it. I have made no changes to this algo since. Which version is broken for you? Edit: I made a change that affected many algos, including hmq1275, in 3.4.0. I tested several of the algos and none of them were broken by it. I don't think this is what broke hm1275, I still suspect the 3.3.8 change.
|
|
|
|
felixbrucker
|
 |
August 08, 2016, 09:56:56 PM |
|
@joblo
just remembered i was using your miner with optiminers hodl pool with the proxy just fine for several days straight, so it seems indeed to be nh related, i will try to get in touch with them, as a temporary resolution i will most likely just restart the miner if my app detects it is "hanging"
thanks for your help though
|
|
|
|
MrPlazu
Newbie
Offline
Activity: 56
Merit: 0
|
 |
August 09, 2016, 04:22:00 AM |
|
I'm tring to get this version to Work on Ubuntu 16 with algo HMQ1725.
I can't test this anymore at Suprnova. I have an idea what's wrong, it would help if you can tell me the last version where it worked. I should easilly be able to restore it. You can use https://esp.maxminers.net. I'm not sure of the last working version Any update on this? Maybe you could be a little more patient considering you declined my request for more info. It will increase the chances I actually fix it next release. I'n not creating an account at maxminers just for this. If I know what release broke it I will know exactly what broke it and how to fix it. I'm working on some other optimizations, It'll be a couple of days before the next release. I'm happy to help fix this. I know that Windows version 3-3-8 and Linux version 3-3-5 is working perfect. I haven't tested all Windows and Linux version. Let me know if you want me to test something specific. Thanks for the info. That's not what I expected. Are you sure 3.3.8 works? I made a change to hmq1275 in v3.3.8 and that is what I suspected broke it. I have made no changes to this algo since. Which version is broken for you? Edit: I made a change that affected many algos, including hmq1275, in 3.4.0. I tested several of the algos and none of them were broken by it. I don't think this is what broke hm1275, I still suspect the 3.3.8 change. Let me test 3.3.8 on Linux and see if it Works. Can you link to Google docs where I can download 3.3.8. Can only find 3.4.0 now
|
|
|
|
ctgiant
|
 |
August 09, 2016, 06:35:17 AM |
|
I'm tring to get this version to Work on Ubuntu 16 with algo HMQ1725.
I can't test this anymore at Suprnova. I have an idea what's wrong, it would help if you can tell me the last version where it worked. I should easilly be able to restore it. You can use https://esp.maxminers.net. I'm not sure of the last working version Any update on this? Maybe you could be a little more patient considering you declined my request for more info. It will increase the chances I actually fix it next release. I'n not creating an account at maxminers just for this. If I know what release broke it I will know exactly what broke it and how to fix it. I'm working on some other optimizations, It'll be a couple of days before the next release. I'm happy to help fix this. I know that Windows version 3-3-8 and Linux version 3-3-5 is working perfect. I haven't tested all Windows and Linux version. Let me know if you want me to test something specific. Thanks for the info. That's not what I expected. Are you sure 3.3.8 works? I made a change to hmq1275 in v3.3.8 and that is what I suspected broke it. I have made no changes to this algo since. Which version is broken for you? Edit: I made a change that affected many algos, including hmq1275, in 3.4.0. I tested several of the algos and none of them were broken by it. I don't think this is what broke hm1275, I still suspect the 3.3.8 change. The endian change broke hmq1725. I just tested it on linux and replaced with the old code and it worked again. I don't know what version you made that change on but I hope this helps isolate the issue for you. the code I commented out: uint32_t endiandata[20] __attribute__((aligned(64))); uint32_t hash64[8] __attribute__((aligned(32)));
flipend32_array( endiandata, pdata, 19 );
And the code I reverted: uint32_t _ALIGN(32) hash64[8]; uint32_t endiandata[32];
int kk=0; for (; kk < 32; kk++) { be32enc(&endiandata[kk], ((uint32_t*)pdata)[kk]); };
|
|
|
|
Epsylon3
Legendary
Offline
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
|
 |
August 09, 2016, 08:40:55 AM |
|
dont waste your time with this bad algo, their wallet is half broken at all level, and the price is reaching 1 LTC satoshi  not tradable so... soon only DOGE markets will be possible
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
 |
August 09, 2016, 09:40:44 AM |
|
I'm tring to get this version to Work on Ubuntu 16 with algo HMQ1725.
I can't test this anymore at Suprnova. I have an idea what's wrong, it would help if you can tell me the last version where it worked. I should easilly be able to restore it. You can use https://esp.maxminers.net. I'm not sure of the last working version Any update on this? Maybe you could be a little more patient considering you declined my request for more info. It will increase the chances I actually fix it next release. I'n not creating an account at maxminers just for this. If I know what release broke it I will know exactly what broke it and how to fix it. I'm working on some other optimizations, It'll be a couple of days before the next release. I'm happy to help fix this. I know that Windows version 3-3-8 and Linux version 3-3-5 is working perfect. I haven't tested all Windows and Linux version. Let me know if you want me to test something specific. Thanks for the info. That's not what I expected. Are you sure 3.3.8 works? I made a change to hmq1275 in v3.3.8 and that is what I suspected broke it. I have made no changes to this algo since. Which version is broken for you? Edit: I made a change that affected many algos, including hmq1275, in 3.4.0. I tested several of the algos and none of them were broken by it. I don't think this is what broke hm1275, I still suspect the 3.3.8 change. The endian change broke hmq1725. I just tested it on linux and replaced with the old code and it worked again. I don't know what version you made that change on but I hope this helps isolate the issue for you. the code I commented out: uint32_t endiandata[20] __attribute__((aligned(64))); uint32_t hash64[8] __attribute__((aligned(32)));
flipend32_array( endiandata, pdata, 19 );
And the code I reverted: uint32_t _ALIGN(32) hash64[8]; uint32_t endiandata[32];
int kk=0; for (; kk < 32; kk++) { be32enc(&endiandata[kk], ((uint32_t*)pdata)[kk]); };
Thanks that's exactly what I suspected. Fix is on the way..
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
 |
August 09, 2016, 09:51:40 AM Last edit: August 09, 2016, 10:20:01 AM by joblo |
|
cpuminer-opt v3.4.1 is released. It fixes hmq1725 and adds more AVX2 optimizations to the lyra2 core improving Lyra2RE 34% and Lyra2REv2 11%. Source code: https://drive.google.com/file/d/0B0lVSGQYLJIZak0xNVFBX3prMHc/view?usp=sharing(new link, posted wrong file previously.) It seems Cryptomining Blog have stopped producing binaries for cpuminer-opt. Windows users may compile their own using mingw64. Instructions are in README.md. Thanks to MrPlazu and ctgiant for confirming the hmq1725 bug. hmq1725 should be a little faster also.
|
|
|
|
rednoW
Legendary
Offline
Activity: 1510
Merit: 1003
|
 |
August 09, 2016, 08:07:24 PM |
|
Just for fun, like to build from source )) Tried your latest 3.4.1 version. I have 2 laptops: one (1) with core i5 3317U (Ivy Bridge) running win7 64. It has AVX only. second (2) with core i5 5250U (Broadwell-U) running win8.1 64. It has AVX2. I only tried Lyra2re on Nicehash. First of all I built on laptop (1). It was successfull Compile and Run, I get something like 240khs in Lyra2re. Forked from TPruvot's cpuminer-multi with credits to Lucas Jones, elmad, palmd, djm34, pooler, ig0tik3d, Wolf0, Jeff Garzik and Optiminer.
CPU: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz CPU features: SSE2 AES AVX SW built on Aug 9 2016 with GCC 4.8.3 SW features: SSE2 AES AVX Algo features: SSE2 AES AVX AVX2 Start mining with SSE2 AES AVX
[2016-08-09 23:05:39] Starting Stratum on stratum+tcp://lyra2re.eu.nicehash.com: 3342 [2016-08-09 23:05:39] 4 miner threads started, using 'lyra2re' algorithm. [2016-08-09 23:05:40] Stratum difficulty set to 0.8 [2016-08-09 23:05:40] lyra2re.eu.nicehash.com:3342 lyra2re block 83397 [2016-08-09 23:05:42] CPU #2: 65.54 kH, 57.24 kH/s [2016-08-09 23:05:42] CPU #1: 65.54 kH, 56.74 kH/s [2016-08-09 23:05:42] CPU #3: 65.54 kH, 56.74 kH/s [2016-08-09 23:05:42] CPU #0: 65.54 kH, 56.50 kH/s Then I copy this fresh compiled miner with needed dlls to laptop 2. And it didn't even start. It is not showing any errors. Just close and all. Then I tried to compile your miner on laptop 2. It was successfull compile but again no run. I tried to copy second compiled miner from laptop 2 to laptop 1 and tried to run it. It shows some info ********** cpuminer-opt 3.4.1 *********** A CPU miner with multi algo support and optimized for CPUs with AES_NI and AVX extensions. BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT Forked from TPruvot's cpuminer-multi with credits to Lucas Jones, elmad, palmd, djm34, pooler, ig0tik3d, Wolf0, Jeff Garzik and Optiminer.
CPU: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz CPU features: SSE2 AES AVX SW built on Aug 9 2016 with GCC 4.8.3 SW features: SSE2 AES AVX AVX2 Algo features: SSE2 AES AVX AVX2 Start mining with SSE2 AES AVX
[2016-08-09 22:52:57] Starting Stratum on stratum+tcp://lyra2re.eu.nicehash.com 3342 [2016-08-09 22:52:57] 4 miner threads started, using 'lyra2re' algorithm. and exit ... No go ... That is my experience. Fairly speaking I have no much free time to struggle with it ))
|
|
|
|
rednoW
Legendary
Offline
Activity: 1510
Merit: 1003
|
 |
August 09, 2016, 08:22:50 PM |
|
Update: strange, it works on laptop 2 but only under msys command terminal )) ********** cpuminer-opt 3.4.1 *********** A CPU miner with multi algo support and optimized for CPUs with AES_NI and AVX extensions. BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT Forked from TPruvot's cpuminer-multi with credits to Lucas Jones, elmad, palmd, djm34, pooler, ig0tik3d, Wolf0, Jeff Garzik and Optiminer.
CPU: Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz CPU features: SSE2 AES AVX AVX2 SW built on Aug 9 2016 with GCC 4.8.3 SW features: SSE2 AES AVX AVX2 Algo features: SSE2 AES AVX AVX2 Start mining with SSE2 AES AVX AVX2
[2016-08-09 23:15:56] Starting Stratum on stratum+tcp://lyra2re.eu.nicehash.com: 3342 [2016-08-09 23:15:56] 4 miner threads started, using 'lyra2re' algorithm. [2016-08-09 23:15:57] Stratum difficulty set to 0.8 [2016-08-09 23:15:57] lyra2re.eu.nicehash.com:3342 lyra2re block 83403 [2016-08-09 23:15:58] CPU #0: 65.54 kH, 86.15 kH/s [2016-08-09 23:15:58] CPU #1: 65.54 kH, 85.36 kH/s [2016-08-09 23:15:58] CPU #3: 65.54 kH, 80.93 kH/s [2016-08-09 23:15:58] CPU #2: 65.54 kH, 80.93 kH/s 350khs @ 13watt!!! great speedup. It was 280khs before ))
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
 |
August 09, 2016, 08:26:55 PM |
|
Just for fun, like to build from source ))
Tried your latest 3.4.1 version. I have 2 laptops: one (1) with core i5 3317U (Ivy Bridge) running win7 64. It has AVX only. second (2) with core i5 5250U (Broadwell-U) running win8.1 64. It has AVX2.
I only tried Lyra2re on Nicehash.
First of all I built on laptop (1). It was successfull Compile and Run, I get something like 240khs in Lyra2re.
Then I tried to compile your miner on laptop 2. It was successfull compile but again no run.
This is the part that concerns me. You successfully compiled but failed to run. I would like to follow up if you can provide more information at your convenience. I successfully compiled and run this version on a Haswell i7 with Win8.1. But it must be run from the mingw shell. I tried running it from a dos shell, even with the dlls and it failed. It definitely can't be ported to a different CPU, especially one with a lower feature set. When you have the time could you post info about the compile such any options if you didn't use winbuild.sh, and some info on the run failure, any output, segfault, did it exit, hang?
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
 |
August 09, 2016, 08:27:52 PM |
|
Update: strange, it works on laptop 2 but only under msys command terminal )) ********** cpuminer-opt 3.4.1 *********** A CPU miner with multi algo support and optimized for CPUs with AES_NI and AVX extensions. BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT Forked from TPruvot's cpuminer-multi with credits to Lucas Jones, elmad, palmd, djm34, pooler, ig0tik3d, Wolf0, Jeff Garzik and Optiminer.
CPU: Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz CPU features: SSE2 AES AVX AVX2 SW built on Aug 9 2016 with GCC 4.8.3 SW features: SSE2 AES AVX AVX2 Algo features: SSE2 AES AVX AVX2 Start mining with SSE2 AES AVX AVX2
[2016-08-09 23:15:56] Starting Stratum on stratum+tcp://lyra2re.eu.nicehash.com: 3342 [2016-08-09 23:15:56] 4 miner threads started, using 'lyra2re' algorithm. [2016-08-09 23:15:57] Stratum difficulty set to 0.8 [2016-08-09 23:15:57] lyra2re.eu.nicehash.com:3342 lyra2re block 83403 [2016-08-09 23:15:58] CPU #0: 65.54 kH, 86.15 kH/s [2016-08-09 23:15:58] CPU #1: 65.54 kH, 85.36 kH/s [2016-08-09 23:15:58] CPU #3: 65.54 kH, 80.93 kH/s [2016-08-09 23:15:58] CPU #2: 65.54 kH, 80.93 kH/s 350khs @ 13watt!!! great speedup. It was 280khs before )) Got it, I suspected that when I started thinking of you copying it from L1. Thanks for testing.
|
|
|
|
|