t2yax
Sr. Member
Offline
Activity: 462
Merit: 250
Arianee:Smart-link Connecting Owners,Assets,Brands
|
|
August 30, 2016, 06:27:25 PM |
|
Is this the Cryptonite (M7) XCN support or some other cryptonite? Sorry for that question of a newbe
No, different spelling. cpuminer-opt does cryptonight algo which is used my monero coin (XMR). cryptonight is also sometimes called cryptonote. cryptonite is different,you should look here for it https://bitcointalk.org/index.php?topic=713538.0
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
August 30, 2016, 06:57:36 PM |
|
After a lot of hard work by me and NiceHashSuppport the stale share rejects problem with cryptonight is in fact a bug in the miner. It was failing to detect new work causing the submission of stale shares.
NiceHashSupport has coded a fix and we are both testing it with good results so far, ie no rejects.
If everything goes well a new release should be avalable within the next day.
|
|
|
|
felixbrucker
|
|
August 30, 2016, 07:43:24 PM |
|
great to hear, i also noticed they included your miner into their 1.7.0.0 pre release bin package
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
August 30, 2016, 08:17:08 PM |
|
I have progress to report for westmere CPU users.
With the help of NiceHashSupport (yet again, many thanks) I have been able to simulate a westmere compile and have reproduced the compile error reported by users. I have also fixed it. Hodl now runs AES in westmere. I have yet to test the other AES optimized algos but if it goes well it will be released with the nicehash cryptonight fix.
|
|
|
|
|
kenshirothefist
|
|
August 31, 2016, 06:14:17 AM |
|
Hi, I can confirm that it works with CryptoNight algorithm on Intel Westmere (tested with -t 2): ********** cpuminer-opt 3.4.5 *********** 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) Xeon(R) CPU X5650 @ 2.67GHz CPU features: SSE2 AES SW built on Aug 30 2016 with GCC 4.8.3 SW features: SSE2 AES Algo features: SSE2 AES AVX Start mining with SSE2 AES
[2016-08-31 08:06:58] Starting Stratum on stratum+tcp://cryptonight.eu.nicehash.com:3355 [2016-08-31 08:06:58] 2 miner threads started, using 'cryptonight' algorithm. [2016-08-31 08:06:58] Stratum difficulty set to 10000 [2016-08-31 08:06:59] CPU #0: 1 H, 64.10 H/s [2016-08-31 08:06:59] CPU #1: 1 H, 64.10 H/s [2016-08-31 08:07:08] CPU #1: 364 H, 38.31 H/s [2016-08-31 08:07:08] CPU #0: 355 H, 37.12 H/s [2016-08-31 08:07:41] CPU #1: 1243 H, 37.91 H/s [2016-08-31 08:07:41] CPU #0: 1243 H, 37.92 H/s [2016-08-31 08:07:51] CPU #1: 385 H, 37.39 H/s [2016-08-31 08:07:51] accepted: 1/1 (100%), 1628 H, 75.32 H/s yes! [2016-08-31 08:08:19] CPU #1: 920 H, 36.61 H/s [2016-08-31 08:08:19] accepted: 2/2 (100%), 2163 H, 74.53 H/s yes! [2016-08-31 08:08:32] CPU #0: 1907 H, 37.05 H/s [2016-08-31 08:08:32] CPU #1: 533 H, 38.61 H/s [2016-08-31 08:09:33] CPU #0: 2225 H, 36.73 H/s [2016-08-31 08:09:34] CPU #1: 2318 H, 37.90 H/s [2016-08-31 08:10:18] Stratum difficulty set to 5000 [2016-08-31 08:10:20] CPU #0: 1800 H, 38.09 H/s [2016-08-31 08:10:20] CPU #1: 1730 H, 37.08 H/s [2016-08-31 08:10:38] CPU #0: 652 H, 36.95 H/s [2016-08-31 08:10:38] accepted: 3/3 (100%), 2382 H, 74.03 H/s yes! [2016-08-31 08:11:09] CPU #0: 1128 H, 36.35 H/s [2016-08-31 08:11:09] CPU #1: 1865 H, 38.31 H/s
|
|
|
|
felixbrucker
|
|
August 31, 2016, 07:47:24 AM |
|
@joblo do you mind compiling the windows bin for sse2 target too?
cheers
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
August 31, 2016, 01:06:29 PM Last edit: August 31, 2016, 01:29:05 PM by joblo |
|
@joblo do you mind compiling the windows bin for sse2 target too?
cheers
Ooops. Thanks for pointing that out. New bins available wirth core2 build: corrected: https://drive.google.com/file/d/0B0lVSGQYLJIZdjFES2M4SDJRQkU/view?usp=sharingAll download links updated, source not affected.
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
August 31, 2016, 01:09:36 PM |
|
Hi, I can confirm that it works with CryptoNight algorithm on Intel Westmere (tested with -t 2): ********** cpuminer-opt 3.4.5 *********** 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) Xeon(R) CPU X5650 @ 2.67GHz CPU features: SSE2 AES SW built on Aug 30 2016 with GCC 4.8.3 SW features: SSE2 AES Algo features: SSE2 AES AVX Start mining with SSE2 AES
[2016-08-31 08:06:58] Starting Stratum on stratum+tcp://cryptonight.eu.nicehash.com:3355 [2016-08-31 08:06:58] 2 miner threads started, using 'cryptonight' algorithm. [2016-08-31 08:06:58] Stratum difficulty set to 10000 [2016-08-31 08:06:59] CPU #0: 1 H, 64.10 H/s [2016-08-31 08:06:59] CPU #1: 1 H, 64.10 H/s [2016-08-31 08:07:08] CPU #1: 364 H, 38.31 H/s [2016-08-31 08:07:08] CPU #0: 355 H, 37.12 H/s [2016-08-31 08:07:41] CPU #1: 1243 H, 37.91 H/s [2016-08-31 08:07:41] CPU #0: 1243 H, 37.92 H/s [2016-08-31 08:07:51] CPU #1: 385 H, 37.39 H/s [2016-08-31 08:07:51] accepted: 1/1 (100%), 1628 H, 75.32 H/s yes! [2016-08-31 08:08:19] CPU #1: 920 H, 36.61 H/s [2016-08-31 08:08:19] accepted: 2/2 (100%), 2163 H, 74.53 H/s yes! [2016-08-31 08:08:32] CPU #0: 1907 H, 37.05 H/s [2016-08-31 08:08:32] CPU #1: 533 H, 38.61 H/s [2016-08-31 08:09:33] CPU #0: 2225 H, 36.73 H/s [2016-08-31 08:09:34] CPU #1: 2318 H, 37.90 H/s [2016-08-31 08:10:18] Stratum difficulty set to 5000 [2016-08-31 08:10:20] CPU #0: 1800 H, 38.09 H/s [2016-08-31 08:10:20] CPU #1: 1730 H, 37.08 H/s [2016-08-31 08:10:38] CPU #0: 652 H, 36.95 H/s [2016-08-31 08:10:38] accepted: 3/3 (100%), 2382 H, 74.03 H/s yes! [2016-08-31 08:11:09] CPU #0: 1128 H, 36.35 H/s [2016-08-31 08:11:09] CPU #1: 1865 H, 38.31 H/s Thanks very much for testing. I will remove AVX from cryptonight algo capabilities in the next release because there is no AVX code present.
|
|
|
|
ioglnx
Sr. Member
Offline
Activity: 574
Merit: 250
Fighting mob law and inquisition in this forum
|
|
August 31, 2016, 01:13:18 PM |
|
No windows binary ? The link just lead to the source code tar.bz file.
|
GTX 1080Ti rocks da house... seriously... this card is a beast³ Owning by now 18x GTX1080Ti :-D @serious love of efficiency
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
August 31, 2016, 01:29:47 PM Last edit: August 31, 2016, 02:00:51 PM by joblo |
|
@joblo do you mind compiling the windows bin for sse2 target too?
cheers
Ooops. Thanks for pointing that out. New bins available wirth core2 build: All download links updated, source not affected. the link is actually the source code thanks for supporting sse2! cheers Corrected: https://drive.google.com/file/d/0B0lVSGQYLJIZdjFES2M4SDJRQkU/view?usp=sharing
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
August 31, 2016, 02:31:44 PM |
|
The following change will be made to the share result output in the next release. There is a small change from the initial proposal.
[2016-08-31 10:21:44] Accepted 10/10 (100%), 5026 H, 215.37 H/s [2016-08-31 10:21:44] Rejected 10/11 (99.9%), 5026 H, 215.37 H/s
|
|
|
|
felixbrucker
|
|
August 31, 2016, 07:53:06 PM |
|
@joblo
despite setting the stack size to 1gig (is this enough?) the miner crashed again on two lxc containers, seems to indeed be lxc related somehow as till now no crash has been observed on bare metal ubuntu
will workaround this by just restarting the miner if he dies
also it seems to only affect cryptonight (not lyra2re) so it might be a similar problem to the one you encountered during development
cheers
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
August 31, 2016, 08:38:10 PM |
|
@joblo
despite setting the stack size to 1gig (is this enough?) the miner crashed again on two lxc containers, seems to indeed be lxc related somehow as till now no crash has been observed on bare metal ubuntu
will workaround this by just restarting the miner if he dies
also it seems to only affect cryptonight (not lyra2re) so it might be a similar problem to the one you encountered during development
cheers
That's curious. My previous stack overflow problem was with cryptonight on Windows. Never had problems with Linux. I removed a very large buffer from the stack so it should be a reasonable size now. 1 GB should be more than enough. Try reducing the number of miner threads, see if that changes anything.
|
|
|
|
felixbrucker
|
|
August 31, 2016, 08:44:07 PM |
|
also it has definitely something to do with network connectivity, all container crashes were around the same time and in every log there is some info about stratum recv line failed multiple times before the overflow happens
also the overflow is not proxy related, one miner was configured to not use it but my rock solid university network, so the recvline seems to come from nicehash stratum servers having problems (?)
|
|
|
|
antantti
Legendary
Offline
Activity: 1176
Merit: 1015
|
|
August 31, 2016, 08:56:04 PM |
|
3.4.5 (cryptonight) works for me on windows 7 with hashwell & sandy bridge with nicehash&dwarf. No more screen full of stratum connection fails like in 3.4.4.
If I were you I would add xmr address to my sig.
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
August 31, 2016, 09:46:21 PM |
|
3.4.5 (cryptonight) works for me on windows 7 with hashwell & sandy bridge with nicehash&dwarf. No more screen full of stratum connection fails like in 3.4.4.
If I were you I would add xmr address to my sig.
Thanks for testing. It looks like I have all Intel CPU nailed down. AMD, not so sure. amdfam10 still won't compile, trips up in AES code. I haven't heard from any AMD users recently to know what works and what doesn't. XMR: 497qTtunbvPgUT6auQnLLacLPKNnxW9fADEYy1ugYYLXd5FuyCR3RwoT44hanwKYnyXXq8QtLTYAr1Q AKe3jCWPfN8oEK3W
|
|
|
|
felixbrucker
|
|
August 31, 2016, 09:49:51 PM |
|
3.4.5 (cryptonight) works for me on windows 7 with hashwell & sandy bridge with nicehash&dwarf. No more screen full of stratum connection fails like in 3.4.4.
If I were you I would add xmr address to my sig.
Thanks for testing. It looks like I have all Intel CPU nailed down. AMD, not so sure. amdfam10 still won't compile, trips up in AES code. I haven't heard from any AMD users recently to know what works and what doesn't. XMR: 497qTtunbvPgUT6auQnLLacLPKNnxW9fADEYy1ugYYLXd5FuyCR3RwoT44hanwKYnyXXq8QtLTYAr1Q AKe3jCWPfN8oEK3W working in which regard? for my A6-6400K (amdfam10) i use core-avx-i, seems to result in the best hashrates
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
August 31, 2016, 10:03:46 PM |
|
3.4.5 (cryptonight) works for me on windows 7 with hashwell & sandy bridge with nicehash&dwarf. No more screen full of stratum connection fails like in 3.4.4.
If I were you I would add xmr address to my sig.
Thanks for testing. It looks like I have all Intel CPU nailed down. AMD, not so sure. amdfam10 still won't compile, trips up in AES code. I haven't heard from any AMD users recently to know what works and what doesn't. XMR: 497qTtunbvPgUT6auQnLLacLPKNnxW9fADEYy1ugYYLXd5FuyCR3RwoT44hanwKYnyXXq8QtLTYAr1Q AKe3jCWPfN8oEK3W working in which regard? for my A6-6400K (amdfam10) i use core-avx-i, seems to result in the best hashrates Working in the sense that there is a useable miner and it can use the CPU's best features. Excellent tip but I'm surprised it works, amdfam10 doesn't have AVX. It doesn't have SSE4.1 or SSE4.2 either which is where I think my compile is blowing up. It's a good idea to try the Inlel builds on AMD CPUs.
|
|
|
|
felixbrucker
|
|
August 31, 2016, 10:08:36 PM |
|
3.4.5 (cryptonight) works for me on windows 7 with hashwell & sandy bridge with nicehash&dwarf. No more screen full of stratum connection fails like in 3.4.4.
If I were you I would add xmr address to my sig.
Thanks for testing. It looks like I have all Intel CPU nailed down. AMD, not so sure. amdfam10 still won't compile, trips up in AES code. I haven't heard from any AMD users recently to know what works and what doesn't. XMR: 497qTtunbvPgUT6auQnLLacLPKNnxW9fADEYy1ugYYLXd5FuyCR3RwoT44hanwKYnyXXq8QtLTYAr1Q AKe3jCWPfN8oEK3W working in which regard? for my A6-6400K (amdfam10) i use core-avx-i, seems to result in the best hashrates Working in the sense that there is a useable miner and it can use the CPU's best features. Excellent tip but I'm surprised it works, amdfam10 doesn't have AVX. It doesn't have SSE4.1 or SSE4.2 either which is where I think my compile is blowing up. It's a good idea to try the Inlel builds on AMD CPUs. the A6 is amdfam10 right? it definitely has AVX:
|
|
|
|
|