I've uploaded a new windows binaries package of v3.7.7 to git with support for SHA. I also trimmed some of the file names to remove redundancy. 4way includes avx2 avx2 includes avx avx includes aes and sse4.2 It's avaiable on the releases page or this direct link: https://github.com/JayDDee/cpuminer-opt/files/1569739/cpuminer-opt-3.7.7-windows-v2.zipBe careful with sha, only the AMD Ryzen family supports it at this time. Consider this a beta for the new Windows build system. Great, now I don't need to compile it every time ) You version is even slightly faster that mine now, and much better than your old one version2: [2017-12-19 09:06:07] 4 miner threads started, using 'm7m' algorithm. [2017-12-19 09:06:11] Total: 131.07 kH, 30.26 kH/s [2017-12-19 09:06:17] Total: 543.27 kH, 116.68 kH/s [2017-12-19 09:06:22] Total: 463.73 kH, 118.06 kH/s [2017-12-19 09:06:27] Total: 588.01 kH, 118.16 kH/s [2017-12-19 09:06:32] Total: 558.14 kH, 116.67 kH/s [2017-12-19 09:06:37] Total: 463.77 kH, 118.15 kH/s [2017-12-19 09:06:42] Total: 558.65 kH, 118.14 kH/s [2017-12-19 09:06:47] Total: 559.65 kH, 117.80 kH/s mine: [2017-12-19 09:06:50] 4 miner threads started, using 'm7m' algorithm. [2017-12-19 09:06:54] Total: 131.07 kH, 28.88 kH/s [2017-12-19 09:06:55] Total: 422.10 kH, 112.21 kH/s [2017-12-19 09:07:00] Total: 515.58 kH, 113.07 kH/s [2017-12-19 09:07:05] Total: 457.03 kH, 113.83 kH/s [2017-12-19 09:07:10] Total: 569.14 kH, 114.00 kH/s [2017-12-19 09:07:15] Total: 570.00 kH, 114.54 kH/s [2017-12-19 09:07:20] Total: 572.70 kH, 114.29 kH/s old: [2017-12-19 09:07:23] 4 miner threads started, using 'm7m' algorithm. [2017-12-19 09:07:28] Total: 131.07 kH, 25.25 kH/s [2017-12-19 09:07:33] Total: 439.86 kH, 101.17 kH/s [2017-12-19 09:07:38] Total: 406.51 kH, 104.49 kH/s [2017-12-19 09:07:43] Total: 522.45 kH, 104.94 kH/s [2017-12-19 09:07:48] Total: 423.00 kH, 104.35 kH/s [2017-12-19 09:07:53] Total: 521.77 kH, 105.34 kH/s [2017-12-19 09:07:58] Total: 526.68 kH, 105.30 kH/s
|
|
|
is CPU mining zcoin (lyra2z) still profitable? I have i7-7800X 3.5 GHz giving me about 950-971 kH/s where my 1080Ti gives me 3300 kH/s. I could not find easy resources to see if CPU is profitable
see for yourself on http://whattomine.com/coins/175-xzc-lyra2zon my cpu, core i5 7600k it gives almost 500 khs, which is above 1$ per day (at current difficulty) after deducting power costs
|
|
|
since then i compiled it all to a script: #!/bin/bash OPENSSL_VER='1.1.0g' CURL_VER='7.56.1' GMP_VER='6.1.2' DIR=$(pwd) CORES=$(grep -c ^processor /proc/cpuinfo)
sudo apt-get install build-essential libz-mingw-w64-dev libz-mingw-w64 git autoconf -y
[[ -f openssl-${OPENSSL_VER}.tar.gz ]] || wget https://www.openssl.org/source/openssl-${OPENSSL_VER}.tar.gz [[ -d openssl-${OPENSSL_VER} ]] || tar xvfz openssl-${OPENSSL_VER}.tar.gz cd openssl-${OPENSSL_VER} ./Configure mingw64 shared --cross-compile-prefix=x86_64-w64-mingw32- || exit 1 make -j ${CORES} || exit 1
cd ${DIR} [[ -f curl-${CURL_VER}.tar.bz2 ]] || wget https://curl.haxx.se/download/curl-${CURL_VER}.tar.bz2 [[ -d curl-${CURL_VER} ]] || tar xvfj curl-${CURL_VER}.tar.bz2 cd curl-${CURL_VER} ./configure --with-winssl --with-winidn --host=x86_64-w64-mingw32 || exit 1 make -j ${CORES} || exit 1
cd ${DIR} [[ -f gmp-${GMP_VER}.tar.bz2 ]] || wget https://gmplib.org/download/gmp/gmp-${GMP_VER}.tar.bz2 [[ -d gmp-${GMP_VER} ]] || tar xvfj gmp-${GMP_VER}.tar.bz2 cd gmp-${GMP_VER} ./configure --host=x86_64-w64-mingw32 || exit 1 make -j ${CORES} || exit 1
cd ${DIR} [[ -d cpuminer-opt ]] || git clone https://github.com/JayDDee/cpuminer-opt.git cd cpuminer-opt ln -s ../gmp-${GMP_VER}/gmp.h
cat > winbuild-cross.sh << EOF #!/bin/bash
export LDFLAGS="-L${DIR}/curl-${CURL_VER}/lib/.libs -L${DIR}/gmp-${GMP_VER}/.libs -L${DIR}/openssl-${OPENSSL_VER}" F="--with-curl=${DIR}/curl-${CURL_VER} --with-crypto=${DIR}/openssl-${OPENSSL_VER} --host=x86_64-w64-mingw32"
sed -i 's/"-lpthread"/"-lpthreadGC2"/g' configure.ac
mkdir release cp /usr/x86_64-w64-mingw32/lib/zlib1.dll release/ cp /usr/x86_64-w64-mingw32/lib/libwinpthread-1.dll release/ cp /usr/lib/gcc/x86_64-w64-mingw32/6.2-win32/libstdc++-6.dll release/ cp /usr/lib/gcc/x86_64-w64-mingw32/6.2-win32/libgcc_s_seh-1.dll release/ cp ${DIR}/openssl-${OPENSSL_VER}/libcrypto-1_1-x64.dll release/ cp ${DIR}/curl-${CURL_VER}/lib/.libs/libcurl-4.dll release/
make distclean || echo clean rm -f config.status ./autogen.sh || echo done CFLAGS="-O3 -march=core-avx2 -Wall -DFOUR_WAY" ./configure \$F make -j ${CORES} strip -s cpuminer.exe mv cpuminer.exe release/cpuminer-4way.exe
make clean || echo clean rm -f config.status ./autogen.sh || echo done CFLAGS="-O3 -march=core-avx2 -Wall" ./configure \$F make -j ${CORES} strip -s cpuminer.exe mv cpuminer.exe release/cpuminer-aes-avx2.exe
make clean || echo clean rm -f config.status ./autogen.sh || echo done CFLAGS="-O3 -march=znver1 -Wall" ./configure \$F make -j ${CORES} strip -s cpuminer.exe mv cpuminer.exe release/cpuminer-aes-sha.exe
make clean || echo clean rm -f config.status ./autogen.sh || echo done CFLAGS="-O3 -march=corei7-avx -Wall" ./configure \$F make -j ${CORES} strip -s cpuminer.exe mv cpuminer.exe release/cpuminer-aes-avx.exe
make clean || echo clean rm -f config.status ./autogen.sh || echo done CFLAGS="-O3 -maes -msse4.2 -Wall" ./configure \$F make -j ${CORES} strip -s cpuminer.exe mv cpuminer.exe release/cpuminer-aes-sse42.exe
make clean || echo clean rm -f config.status ./autogen.sh || echo done CFLAGS="-O3 -march=corei7 -Wall" ./configure \$F make -j ${CORES} strip -s cpuminer.exe mv cpuminer.exe release/cpuminer-sse42.exe
make clean || echo clean rm -f config.status ./autogen.sh || echo done CFLAGS="-O3 -march=core2 -Wall" ./configure \$F make -j ${CORES} strip -s cpuminer.exe mv cpuminer.exe release/cpuminer-sse2.exe
EOF
chmod a+x winbuild-cross.sh ./winbuild-cross.sh
|
|
|
Thanks for that. Do you have a howto guide? I need to file it for when I finally upgrade my build environment With your permission I will add your link to the OP. I'm cross compiling cpuminer-opt for my own usage for some time (since I posted the instructions here) You can link to my github https://github.com/yuzi-co/miners/releases/download/1/cpuminer-opt-3.7.7-4ward.7zIt includes all the windows versions you release (compiled with openssl 1.1) + sha + all necessary dlls One thing I couldn't resolve is that neoscrypt always fails to run (same in My9bot's version)
|
|
|
5.0 beta 2 release
...
1. prospector is the best skunk miner for amd, so you should keep it 2. pascal may be dead, but there is PASL (on same algo), which is alive 3. cpuminer-opt 4way version supports only a few algos, you can check in his post. Also for the cpuminer, you miss the most profitable (most of the time) m7m algo
|
|
|
Can you please add to the API a field that signifies SSL support (and port if different from normal stratum) for algorithms that support it?
|
|
|
help me also my bat file pops up and closes?? why??
minerd -a --scrypt -t 6 -s 4 -o stratum+tcp://eu.miningfield.com:3348 -u username.worker -p password
1. add "pause" command to the end of the file 2. it should be "-a scrypt", not "-a --scrypt" 3. i suggest you don't waste time mining ASIC algos like scrypt on CPU, or even GPU
|
|
|
Why my BAT file only prompt up and then disappear? Any help? Here is what in BAT file
minerd -a -t 6 -s 4 -o stratum+tcp://stratum+tcp://stratum.multipools.club:1111 -u Weblogin.WorkerName -p WorkerPassword
(I replaced workername and password)
Please help. Thank you.
look carefully at the bold part
|
|
|
And, by the way, I don't seen ETN on the GPU tab of whattomine anymore. Can anybody confirm?
True, it's gone...
|
|
|
MPH has added a field in their API for a time since the last block: I added "last_block" field at getminingandprofitsstatistics api as you requested. It's unixtimestamp number.
Since the pool uses PPLNS, it would be smart to auto extend the interval until a block is found (or end it earlier), otherwise the user would lose all his earnings for the round. The same applies for YIIMP-based pools as well - they also include "timesincelast" in /api/currencies, which should be used to determine whether the script should switch to next coin or not. I dont know if this would increase profit as general working mode, you can stay mining one coin and waiting block for hours while there is other coins more profitables at that moment. Perhaps comparing timesincelast with averagetimeforblock or something to decide if jump or not can work. It should increase it or never start mining, otherwise the user would lose all his earnings for the round. I'm thinking of doing these checks: - before mining: check if timesincelast (YIIMP) / time_since_last_block (MPH) > @@INTERVAL (this would mean long blocks, bad pool luck or no pool workers; fails only if a block has been recently found) - while mining: if the timer is close to the end - keep on increasing it by 30-60s (?) until the block is found, end mining immediately or break it if the extension is longer than 2-3xInterval(?) Otherwise we'll be blindly mining on pools with long blocks (such as BTG on MPH) or idle pools with no workers and no recent blocks (like the most on the smaller YIIMP pools). MPH api is refreshed only every 30minutes, so you cant trust timesincelast for this purpose. But this can be useful for filtering out coins with very few blocks on MPH by filtering out the ones with timesincelast over 1h, for example, since you probably better mine a different coin or on different pool where you have a better chance to hit the block
|
|
|
something went wrong with decred in 4way version: looks like new avx "optimizations" 4way: cpuminer-4way.exe -a decred --benchmark -q
********** cpuminer-opt 3.7.4 *********** 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-7600K CPU @ 3.80GHz CPU features: SSE2 AES AVX AVX2 SW built on Nov 28 2017 with GCC 4.8.3 SW features: SSE2 AES AVX AVX2 Algo features: SSE2 AVX Start mining with SSE2 AVX
[2017-12-03 02:48:25] 4 miner threads started, using 'decred' algorithm. [2017-12-03 02:48:27] Total: 4194.31 kH, 2282.60 kH/s [2017-12-03 02:48:30] Total: 24.57 MH, 9178.06 kH/s [2017-12-03 02:48:35] Total: 36.62 MH, 9224.63 kH/s [2017-12-03 02:48:40] Total: 46.12 MH, 9216.31 kH/s avx2: cpuminer-aes-avx2.exe -a decred --benchmark -q
********** cpuminer-opt 3.7.4 *********** 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-7600K CPU @ 3.80GHz CPU features: SSE2 AES AVX AVX2 SW built on Nov 28 2017 with GCC 4.8.3 SW features: SSE2 AES AVX AVX2 Algo features: SSE2 Start mining with SSE2
[2017-12-03 02:48:06] 4 miner threads started, using 'decred' algorithm. [2017-12-03 02:48:07] Total: 12.58 MH, 17.26 MH/s [2017-12-03 02:48:11] Total: 35.43 MH, 23.06 MH/s [2017-12-03 02:48:16] Total: 98.06 MH, 22.98 MH/s
|
|
|
Hi all,
Is cpuminer works with a phenom II x6 1055T ? I didn't find this info...
Thanks a lot.
it doesn't have AES, so I guess not
|
|
|
to an 8700k or 7700k
This is out of topic, but... I've just tested 4-way binary (the one provided by joblo) on i5-7600 (non-K) under Deepcool Redhat (it handles up to 250w TDP, haha) with tribus and nist5. settings: cpuminer-4way -t 4 -a ... --benchmark CPU heats up to 95°C (it's 19°C in my server room) on all cores and goes to throttling - about 30-40% hashrate drop (same settings for cryptonight w/o avx/avx2 max-out at 61°C on 3 of 4 cores with -t 3 setting). This means that high-freq CPU must have Z-series chipset to set AVX downclock offset in bios. Other solution - go for a lower-freq desktop cpu (e.g. buy i5-7400 instead of i5-7600 and so) or cpu with solder under it's cap. I'm happy that this cpu maxes-out with -t 2 on lyra2z330 at 72°C, not -t 4, so I'm not that angry I would never ever buy this crap for a rig again (yep, I know this crap is good in gaming and compiling, and so on), and 7700/7700k/8700/8700k, too. Seems that 3.7...3.8GHz it that maximum that Skylake/Kabylake/Coffe Lake can handle under avx load for all cores w/o overheating. If I were you, I'd go for i7-6800k/6850k/6900k or old Xeons E5v3 (they have avx2 and are rather cheap for now). i5 7600k overclocked @ 4.5Ghz with watercooling reaches 75°C on tribus (70 with nist5) If you get 95°C at stock speed, you need a better cooler. Intel's stock cooler is not enough for high loads over a long time.
|
|
|
tutulfo, how do I switch to internal wallet on nicehash? The ugly way is to edit $CoinsWallets.get_item('BTC')+'.'+$Workername to: but is there a better way of doing it? i just made it like that: User = $CoinsWallets.get_item('NH-BTC')+'.'+$Workername
|
|
|
Are You kiding??? Here no chance to mining with gpu or asics and something not clean here... i using 5 Xeons thats 5 different vps and after 15 hours no luck (no one block...) Something going wronge. I`m trying to tell you about coing just starting his hard way. I even dont understand why its add to coinsmarkets... This will kill coin before its rise!
solo mining is about LUCK within last 24h, on 2 computers (core i7 and core i5) i got 4 blocks, so just keep mining if you want any Yes bro, its Luck but who must win 5 mine vps or 2 yours? i think more VPS more chance of luck isn`t? Higher chance - yes, but luck doesn't work that way. After we get a pool (should be tomorrow), YOU will get more shares, but for now, I'm more lucky
|
|
|
Are You kiding??? Here no chance to mining with gpu or asics and something not clean here... i using 5 Xeons thats 5 different vps and after 15 hours no luck (no one block...) Something going wronge. I`m trying to tell you about coing just starting his hard way. I even dont understand why its add to coinsmarkets... This will kill coin before its rise!
solo mining is about LUCK within last 24h, on 2 computers (core i7 and core i5) i got 4 blocks, so just keep mining if you want any
|
|
|
I have a question - why in Monero cryptonight on 6950x on cpuminer-opt-3.7.3 the speed is lower than on xmrig-2.4.2 -? In xmrig with 10 streams, the speed is higher than cpuminer-opt at 20. Is it possible to somehow configure the config file to give more speed at 6950x than in xmrig-2.4.2?
From what I know, cryptonight requires 2mb of cache per thread 6950x has 25mb, which brings us to 12 threads Try benchmarking with 12 threads and see the performance (use -t 12)
|
|
|
A little teaser of what I'm working on. It's only the beginning. cpuminer-opt/3.7.3 d=4 keccak 4 27 MH/s CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz CPU features: SSE2 AES AVX AVX2 SW built on Nov 20 2017 with GCC 4.8.4 SW features: SSE2 AES AVX AVX2 Algo features: SSE2 AVX2 Start mining with SSE2 AVX2
[2017-11-20 11:58:16] Starting Stratum on stratum+tcp://keccak.mine.zpool.ca:5133 [2017-11-20 11:58:16] 8 miner threads started, using 'keccak' algorithm. [2017-11-20 11:58:16] Stratum difficulty set to 4 1 nonces submitted [2017-11-20 11:58:31] Accepted 1/1 (100%), 24.21 MH, 23.45 MH/s, 63C 1 nonces submitted [2017-11-20 11:58:34] Accepted 2/2 (100%), 52.09 MH, 23.61 MH/s, 63C 1 nonces submitted [2017-11-20 11:58:39] Accepted 3/3 (100%), 235.98 MH, 24.21 MH/s, 63C 1 nonces submitted [2017-11-20 11:58:39] Accepted 4/4 (100%), 200.89 MH, 24.21 MH/s, 63C 1 nonces submitted [2017-11-20 11:58:41] Accepted 5/5 (100%), 199.70 MH, 24.19 MH/s, 63C 1 nonces submitted [2017-11-20 11:58:42] Accepted 6/6 (100%), 202.41 MH, 24.19 MH/s, 63C 1 nonces submitted [2017-11-20 11:58:48] Accepted 7/7 (100%), 45.96 MH, 24.20 MH/s, 63C 1 nonces submitted [2017-11-20 11:58:48] Accepted 8/8 (100%), 43.01 MH, 24.21 MH/s, 63C
CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz CPU features: SSE2 AES AVX AVX2 SW built on Nov 4 2017 with GCC 4.8.4 SW features: SSE2 AES AVX AVX2 Algo features: SSE2 Start mining with SSE2
[2017-11-20 11:56:35] Starting Stratum on stratum+tcp://keccak.mine.zpool.ca:5133 [2017-11-20 11:56:35] 8 miner threads started, using 'keccak' algorithm. [2017-11-20 11:56:35] Stratum difficulty set to 4 [2017-11-20 11:56:54] Accepted 1/1 (100%), 26.41 MH, 7735.68 kH/s, 62C [2017-11-20 11:57:02] Accepted 2/2 (100%), 44.40 MH, 7736.24 kH/s, 62C [2017-11-20 11:57:29] Accepted 3/3 (100%), 199.67 MH, 7745.76 kH/s, 62C [2017-11-20 11:57:36] Accepted 4/4 (100%), 194.64 MH, 7737.53 kH/s, 62C [2017-11-20 11:58:00] Accepted 5/5 (100%), 220.11 MH, 7741.79 kH/s, 63C [2017-11-20 11:58:02] Accepted 6/6 (100%), 222.54 MH, 7745.23 kH/s, 63C
thats a VERY nice improvement! Can't wait... By the way, please consider releasing cross-compiled binaries for windows, they give much better performance that mingw on windows. I have described the process earlier in the post, but sadly I have could not make neoscrypt work in that build (just crashes every time), probably something in the compile flags or algo settings. If something is missing in what I posted and you want full instructions for the cross build, just say )
|
|
|
got this error message Exception setting "WindowSize": "Window cannot be taller than 58. Parameter name: value.Height Actual value was 60." At C:\Megaminer-4.6\Include.ps1:538 char:5 + $psWindow.WindowSize= $newSize + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException + FullyQualifiedErrorId : ExceptionWhenSetting
your screen size is too small for the window to resize. you can ignore it
|
|
|
|