th3.r00t
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 29, 2016, 08:52:39 AM |
|
Damn! ![Undecided](https://bitcointalk.org/Smileys/default/undecided.gif) Just when I get my hopes up for AMD cpus... It wont compile on AMD Phenom II X4 940. This is the error that I get: In file included from algo/cryptonight/cryptonight-aesni.c:2:0: algo/cryptonight/cryptonight.h:65:6: note: expected ‘uint64_t *’ but argument is of type ‘union hash_state *’ void keccakf(uint64_t st[25], int rounds); ^ make[2]: *** [algo/cryptonight/cpuminer-cryptonight-aesni.o] Error 1 make[2]: Leaving directory `/home/***/cpuminer-opt-3.1.7' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/***/cpuminer-opt-3.1.7' make: *** [all] Error 2
Can you do something about that? In the meantime I will find my cross-compile image so I can try to compile AES-NI and SSE2 win64 builds.
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 29, 2016, 11:15:22 AM |
|
Damn! ![Undecided](https://bitcointalk.org/Smileys/default/undecided.gif) Just when I get my hopes up for AMD cpus... It wont compile on AMD Phenom II X4 940. This is the error that I get: In file included from algo/cryptonight/cryptonight-aesni.c:2:0: algo/cryptonight/cryptonight.h:65:6: note: expected ‘uint64_t *’ but argument is of type ‘union hash_state *’ void keccakf(uint64_t st[25], int rounds); ^ make[2]: *** [algo/cryptonight/cpuminer-cryptonight-aesni.o] Error 1 make[2]: Leaving directory `/home/***/cpuminer-opt-3.1.7' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/***/cpuminer-opt-3.1.7' make: *** [all] Error 2
Can you do something about that? In the meantime I will find my cross-compile image so I can try to compile AES-NI and SSE2 win64 builds. Add "-DNO_AES_NI" to the CFLAGS. I haven't gotten Windows to compile since I forked from TPruvot, the project file hasn't been maintained. Good luck.
|
|
|
|
th3.r00t
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 29, 2016, 12:03:13 PM Last edit: March 29, 2016, 12:15:41 PM by th3.r00t |
|
Thanks! I used the following: ./configure CFLAGS="-DNO_AES_NI -O3 -march=native" --with-curl --with-crypto and ./configure CFLAGS="-DNO_AES_NI -O3 -march=amdfam10" --with-curl --with-crypto But it seems that still got an error: algo/echo/aes_ni/hash.c:387:4: note: in expansion of macro ‘TRANSFORM’ TRANSFORM(_state[i][j], _k_opt, t1, t2); ^ make[2]: *** [algo/echo/aes_ni/cpuminer-hash.o] Error 1 make[2]: Leaving directory `/home/***/cpuminer-opt-3.1.7' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/***/cpuminer-opt-3.1.7' make: *** [all] Error 2
With ./configure CFLAGS="-DNO_AES_NI -O3 -march=core2" --with-curl --with-crypto I got a successful compile on AMD and it mines at 370 khash, which is about 10 khash slower than my scmorse build. and so far the best is: ./configure CFLAGS="-DNO_AES_NI -O3 -march=k8-sse3" --with-curl --with-crypto which gets 373-375 khash on that Phenom II. P.S. Stall searching my Ubuntu image for cross-compile. If I don't find it I will use MSYS and Win 7 x64... ![Undecided](https://bitcointalk.org/Smileys/default/undecided.gif)
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 29, 2016, 03:25:57 PM |
|
Thanks! I used the following: ./configure CFLAGS="-DNO_AES_NI -O3 -march=native" --with-curl --with-crypto and ./configure CFLAGS="-DNO_AES_NI -O3 -march=amdfam10" --with-curl --with-crypto But it seems that still got an error: algo/echo/aes_ni/hash.c:387:4: note: in expansion of macro ‘TRANSFORM’ TRANSFORM(_state[i][j], _k_opt, t1, t2); ^ make[2]: *** [algo/echo/aes_ni/cpuminer-hash.o] Error 1 make[2]: Leaving directory `/home/***/cpuminer-opt-3.1.7' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/***/cpuminer-opt-3.1.7' make: *** [all] Error 2
With ./configure CFLAGS="-DNO_AES_NI -O3 -march=core2" --with-curl --with-crypto I got a successful compile on AMD and it mines at 370 khash, which is about 10 khash slower than my scmorse build. and so far the best is: ./configure CFLAGS="-DNO_AES_NI -O3 -march=k8-sse3" --with-curl --with-crypto which gets 373-375 khash on that Phenom II. P.S. Stall searching my Ubuntu image for cross-compile. If I don't find it I will use MSYS and Win 7 x64... ![Undecided](https://bitcointalk.org/Smileys/default/undecided.gif) The SSE2 compile should be on par with scmorse. Perhaps I should change the recommendation to always use -march=core2 for all non-aesni cpus since it works on AMD as well.
|
|
|
|
zTheWolfz
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 29, 2016, 10:43:19 PM |
|
Nice work, nice bump, went from 890kh/s on this one rig to 940kh/s over 3.1.5 I was using on it.
Intel Duel CPU 21 cores used on EVGA SR2 MB 3.333Ghz speed.
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 29, 2016, 10:44:46 PM |
|
Nice work, nice bump, went from 890kh/s on this one rig to 940kh/s over 3.1.5 I was using on it.
Intel Duel CPU 21 cores used on EVGA SR2 MB.
Which algo?
|
|
|
|
zTheWolfz
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 29, 2016, 10:45:28 PM |
|
Nice work, nice bump, went from 890kh/s on this one rig to 940kh/s over 3.1.5 I was using on it.
Intel Duel CPU 21 cores used on EVGA SR2 MB.
Which algo? Oh lol sorry forgot to say x11 W7 64bit w/ VB Linux
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 29, 2016, 10:50:56 PM |
|
Nice work, nice bump, went from 890kh/s on this one rig to 940kh/s over 3.1.5 I was using on it.
Intel Duel CPU 21 cores used on EVGA SR2 MB.
Which algo? Oh lol sorry forgot to say x11 W7 64bit w/ VB Linux Not sure how that happened, I didn't touch x11. There is no change for me. Maybe you had fewer processes running.
|
|
|
|
zTheWolfz
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 29, 2016, 10:53:49 PM |
|
Nice work, nice bump, went from 890kh/s on this one rig to 940kh/s over 3.1.5 I was using on it.
Intel Duel CPU 21 cores used on EVGA SR2 MB.
Which algo? Oh lol sorry forgot to say x11 W7 64bit w/ VB Linux Not sure how that happened, I didn't touch x11. There is no change for me. Maybe you had fewer processes running. Don't know either, also 100% out of 1502 summits. My AMD rig is seeing a small loss 2291 v3.07 down to 2243 v3.1.8 48 cores full Linux 64bit also x11
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 29, 2016, 11:12:35 PM |
|
Nice work, nice bump, went from 890kh/s on this one rig to 940kh/s over 3.1.5 I was using on it.
Intel Duel CPU 21 cores used on EVGA SR2 MB.
Which algo? Oh lol sorry forgot to say x11 W7 64bit w/ VB Linux Not sure how that happened, I didn't touch x11. There is no change for me. Maybe you had fewer processes running. Don't know either, also 100% out of 1502 summits. My AMD rig is seeing a small loss 2291 v3.07 down to 2243 v3.1.8 48 cores full Linux 64bit also x11 If this is a NO_AES_NI compile then, yes there were improvements to many algos.
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 03, 2016, 12:13:26 AM Last edit: April 03, 2016, 02:00:42 AM by joblo |
|
cpuminer-opt v3.1.9 is ready for download https://drive.google.com/file/d/0B0lVSGQYLJIZYVZqcmZ6TzBPZHM/view?usp=sharingNew in v3.1.9 - decred added (blake256r14) - myr-gr optimized for AES_NI, marginal increase in hashrate - groestl, keccak & blakecoin fixed. - x11gost is added as an alias for sib Other recently added or improved algos - x14 added with AES_NI and SSE2 optimisations - blake added - blake2s added - vanilla (blake256r8vnl) added - sib (x11gost) algo optimised: +116% AES_NI + SSE2 +63% SSE2 - nist5 algo SSE optimised +111% AES_NI + SSE2 +68% SSE2 - c11 algo +57% optimized for AES_NI & SSE2 - zr5 algo optimized for AES_NI and SSE2 +98% AES_NI + SSE2 +45% SSE2
|
|
|
|
th3.r00t
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 03, 2016, 10:08:22 AM |
|
Thanks! It seems that ZR5 on v3.1.9 AES-NI compile is a little faster than v3.1.7 (about 5 khash) But decred is just SSE2 on both Intel and AMD - almost same speed per thread on Intel i7 and Phenom II x4 940? Strange thing is that both of them don't succeed to submit a share for about 5 minutes. (Maybe the network diff is too high now).
|
|
|
|
PakistanHockeyfan
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 98
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 05, 2016, 01:55:07 AM |
|
I have actually always wanted to ask this question. It is somewhat off-topic but to a degree still related. Why is it that Bitcoin mining is now difficult to proceed to with a regular desktop computer? Most around this forum have made a point every time to mention that desktop computers cannot support Bitcoin mining software.
|
|
|
|
minifrij
Legendary
Offline
Activity: 2352
Merit: 1267
In Memory of Zepher
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 05, 2016, 02:00:26 AM |
|
Why is it that Bitcoin mining is now difficult to proceed to with a regular desktop computer? Most around this forum have made a point every time to mention that desktop computers cannot support Bitcoin mining software.
Since ASIC chips, which were built specifically for solving the mathematical calculations needed to mine Cryptocurrency, can do so many calculations per second it is near impossible for a normal desktop computer to do enough calculations towards the network to compare to what such a chip can do (in terms of hashpower). Desktop computers can support mining, though (should you use a pool) you will be giving very little hash power to the network and therefore get next to no reward. If you are trying to solo mine and find a block, the chances of the pools finding the block is exponentially higher due to them solving a lot more calculations per second. To find a block yourself is near, if not, impossible with a desktop computer.
|
|
|
|
PakistanHockeyfan
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 98
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 05, 2016, 11:41:40 PM |
|
Why is it that Bitcoin mining is now difficult to proceed to with a regular desktop computer? Most around this forum have made a point every time to mention that desktop computers cannot support Bitcoin mining software.
Since ASIC chips, which were built specifically for solving the mathematical calculations needed to mine Cryptocurrency, can do so many calculations per second it is near impossible for a normal desktop computer to do enough calculations towards the network to compare to what such a chip can do (in terms of hashpower). Desktop computers can support mining, though (should you use a pool) you will be giving very little hash power to the network and therefore get next to no reward. If you are trying to solo mine and find a block, the chances of the pools finding the block is exponentially higher due to them solving a lot more calculations per second. To find a block yourself is near, if not, impossible with a desktop computer. What multiple devices have the capacity and upmost technology to perform proper mining?
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 06, 2016, 01:33:08 AM |
|
Why is it that Bitcoin mining is now difficult to proceed to with a regular desktop computer? Most around this forum have made a point every time to mention that desktop computers cannot support Bitcoin mining software.
Since ASIC chips, which were built specifically for solving the mathematical calculations needed to mine Cryptocurrency, can do so many calculations per second it is near impossible for a normal desktop computer to do enough calculations towards the network to compare to what such a chip can do (in terms of hashpower). Desktop computers can support mining, though (should you use a pool) you will be giving very little hash power to the network and therefore get next to no reward. If you are trying to solo mine and find a block, the chances of the pools finding the block is exponentially higher due to them solving a lot more calculations per second. To find a block yourself is near, if not, impossible with a desktop computer. What multiple devices have the capacity and upmost technology to perform proper mining? It depends on the algo and whether there is a miner available for the device. ASICS are available for sha256, scrypt and recently x11. SHA256 andscrypt are hopeless with anything less. X11 hasn't yet taken a hit from the introduction of the ASIC for it. GPU mining is most efficient for most other algos and CPU mining isn't really worth it. However, there are a few algos designed specifically to be difficult to implement on a GPU or ASIC. Some have a poorly performing GPU miner or none at all. Look around the forum, there's always discussion about it, and be sure to use cpuminer-opt.
|
|
|
|
BitMaxz
Legendary
Offline
Activity: 3360
Merit: 3094
BTC price road to $80k
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 06, 2016, 06:13:36 PM |
|
Do you have any list of altcoin can be supported of this kind of mining tool or software.. I hope someone can give supported list of altcoin and i hope someone can suggest to me which is the best profitable altcoin in this month?
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 06, 2016, 08:36:34 PM |
|
Do you have any list of altcoin can be supported of this kind of mining tool or software.. I hope someone can give supported list of altcoin and i hope someone can suggest to me which is the best profitable altcoin in this month?
Coins come and go too quickly, it would be too much work to try to maintain such a list. Go visit some pools to see what coins they offer and what algo they require. There's a good chance cpuminer-opt supports it. Some pools also display the coins' profitability.
|
|
|
|
|
antantti
Legendary
Offline
Activity: 1176
Merit: 1015
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 06, 2016, 10:53:24 PM |
|
No CPU mining here but I like your style,
0cc24f5a79ad5200fc546bd534523d2cb25da73420830d59eed7c9cf4732e99b
Cheers!
|
|
|
|
|