Bitcoin Forum
November 08, 2024, 05:08:58 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 [47] 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 ... 197 »
  Print  
Author Topic: [LOCKED] cpuminer-opt v3.12.3, open source optimized multi-algo CPU miner  (Read 444060 times)
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
August 01, 2016, 08:25:48 PM
 #921

Do you think is possible to make Lyra2RE to mine on AVX2? That will compete with the newest Nvidia cards.

Anything is possible but it would take a complete redesign of the miner engine and every algorithm to be able to process
multiple streams per thread to achieve parallelism. Each CPU thread would process multiple streams in parallel
instead of just one. Hodl was unique in that it lends itself to parallel processing within a single thread so it didn't
require a major design change.

The effort required would outweigh any benefits.

BTW, do you know which coin uses Lyra2RE?

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
JarBinks
Full Member
***
Offline Offline

Activity: 144
Merit: 100



View Profile
August 01, 2016, 08:42:02 PM
 #922

Please direct me to somewhere else if this has already been answered.

I have a 32 core machine and I only want to use 16, easy enough -t 16.
But that loads up 1 processor and it runs hot, I would prefer to use half of the cores on each processor, every other would be perfect.

In comes the --cpu-affinity, which I cannot figure out.
I tried:
  --cpu-affinity 2863311530 and it seems to ignore it.
  --cpu-affinity and no -t but it just used all cores.
  --cpu-affinity AAAAAAAA and everything was moved to processor 2 (At least it did something)
 
I am probably just being a stupid human!

ReiMomo
Sr. Member
****
Offline Offline

Activity: 2366
Merit: 305


Duelbits - $100k Bonus/week


View Profile
August 01, 2016, 08:47:39 PM
 #923

Do you think is possible to make Lyra2RE to mine on AVX2? That will compete with the newest Nvidia cards.

Anything is possible but it would take a complete redesign of the miner engine and every algorithm to be able to process
multiple streams per thread to achieve parallelism. Each CPU thread would process multiple streams in parallel
instead of just one. Hodl was unique in that it lends itself to parallel processing within a single thread so it didn't
require a major design change.

The effort required would outweigh any benefits.

BTW, do you know which coin uses Lyra2RE?

There is Crypto [CTO], but Nice Hash seems to mine something else that have a different block number and higher difficulty. The other day their GUI was showing me 90 cents at .730 MH/s, today shows 41 cents.

.
Duelbits
█▀▀▀▀▀











█▄▄▄▄▄▄▄
TRY OUR
  NEW  UNIQUE
GAMES!
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
DICE 
.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
███████████████████████████████
███▀▀                     ▀▀███
███    ▄▄▄▄         ▄▄▄▄    ███
███   ██████       ██████   ███
███   ▀████▀       ▀████▀   ███
███                         ███
███                         ███
███                         ███
███   ▄████▄       ▄████▄   ███
███   ██████       ██████   ███
███    ▀▀▀▀         ▀▀▀▀    ███
███▄▄                     ▄▄███
███████████████████████████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
MINES 
.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
███████████████████████████████
████████████████████████▄▀▄████
██████████████▀▄▄▄▀█████▄▀▄████
████████████▀ █████▄▀████ █████
██████████      █████▄▀▀▄██████
███████▀          ▀████████████
█████▀              ▀██████████
█████                ██████████
████▌                ▐█████████
█████                ██████████
██████▄            ▄███████████
████████▄▄      ▄▄█████████████
███████████████████████████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
PLINKO 
.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
███████████████████████████████
█████████▀▀▀       ▀▀▀█████████
██████▀  ▄▄███ ███      ▀██████
█████  ▄▀▀                █████
████  ▀                    ████
███                         ███
███                         ███
███                         ███
████                       ████
█████                     █████
██████▄                 ▄██████
█████████▄▄▄       ▄▄▄█████████
███████████████████████████████
10,000x
MULTIPLIER
▀▀▀▀▀█











▄▄▄▄▄█
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
August 01, 2016, 10:27:16 PM
 #924

there always is VertCoin (VTC) using Lyra2re, might be that?
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
August 01, 2016, 10:48:36 PM
 #925

there always is VertCoin (VTC) using Lyra2re, might be that?

VTC and all the others converted to Lyra2REv2. CTO seems to still use Lyra2RE but appears to have been abandoned
by its devs. I wonder what all those orders at Nicehash are about.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
August 02, 2016, 07:40:42 AM
 #926

oh indeed
clipto
Member
**
Offline Offline

Activity: 311
Merit: 10


View Profile
August 02, 2016, 11:17:26 AM
 #927

Its monacoin (well, thats what I think)
sp_
Legendary
*
Offline Offline

Activity: 2954
Merit: 1087

Team Black developer


View Profile
August 02, 2016, 11:32:55 AM
 #928

Maybe it's the new Vertcoin classic and the monacoin classic? (Old fork's brought back to life?)

Team Black Miner (ETHB3 ETH ETC VTC KAWPOW FIROPOW EVRPROGPOW MEOWPOW + dual mining + tripple mining.. https://github.com/sp-hash/TeamBlackMiner
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
August 02, 2016, 12:55:12 PM
 #929

Maybe it's the new Vertcoin classic and the monacoin classic? (Old fork's brought back to life?)

Interesting speculation but I find no evidence of it.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
johnsmithx
Hero Member
*****
Offline Offline

Activity: 589
Merit: 507

I don't buy nor sell anything here and never will.


View Profile
August 02, 2016, 01:28:15 PM
 #930

Coincidentally Nicehash's Lyra2RE stopped working for me since the weekend, I am getting "stratum_recv_line failed" from all 4 (usa,eu,hk,jp) of their servers. Can anybody please check it because I am going crazy:

cpuminer -a lyra2re -o stratum+tcp://lyra2re.usa.nicehash.com:3342

My list of 43(+3) reviewed Bitcoin forks | You don't have to download the pre-fork blockchain again for each fork! | Beware of fraudulent AWS accounts sellers and dangerous edu AWS codes! + My personal list of legit sellers and scammers | Never publicly reveal your btc addresses, ownership or any other details and stay very far away from anybody who asks you to! | The general rule of safe buying is: if the seller is a newbie, with no reputation, with no topic nor trust feedback, offering no vouches and/or selling from a locked or self-moderated topic and unwilling to go first or use escrow => AVOID. Always check the trust feedback first and make sure that you have enabled "Show untrusted feedback by default" in "Profile / Forum Profile Information".
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
August 02, 2016, 02:30:51 PM
 #931

it works for me, but i had a similar problem when i pointed multiple miners to nicehash, asked support, they block your address if more then a dozen ip's connect to their service for this address
if thats the case, use multiple addresses for each location
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
August 02, 2016, 02:38:42 PM
 #932

@joblo just ran the test for windows:

- i5-3330 from ~60-70 to ~210
- A6-6400K from ~40 to ~60


amd overall not that impressive Cheesy
pallas
Legendary
*
Offline Offline

Activity: 2716
Merit: 1094


Black Belt Developer


View Profile
August 02, 2016, 02:42:14 PM
 #933

kinda botnet detector

joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
August 02, 2016, 04:13:08 PM
 #934

@joblo just ran the test for windows:

- i5-3330 from ~60-70 to ~210
- A6-6400K from ~40 to ~60


amd overall not that impressive Cheesy

Did you compile yourself? I haven't seen CMB post their bins yet.

The A6 is not a real CPU, kinda like Celerons. Since they are new you would think they have all the
technology but they don't. They have some new tech, but not all so it's difficult to find an optimum
pre-compiled build.

Some AMD users that have compiled their own have found better performance by specifying the -march
directly instead of -march=native.

On a tangent I'm curious about the mining performance of the A6's IGPU. The CPU alone is weak but CPU+IGPU
might make up for it.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
johnsmithx
Hero Member
*****
Offline Offline

Activity: 589
Merit: 507

I don't buy nor sell anything here and never will.


View Profile
August 02, 2016, 04:14:22 PM
 #935

it works for me, but i had a similar problem when i pointed multiple miners to nicehash, asked support, they block your address if more then a dozen ip's connect to their service for this address
if thats the case, use multiple addresses for each location

Yes you are absolutely right, I figured that they probably block IPs. I think I will try to install a stratum proxy on a clear IP, then all my nodes will connect to the proxy and only the proxy will make one single connection to Nicehash.

Btw if anyone is interested, here I made a simple one-liner to test all Nicehash's ports on all their IPs (requires netcat => apt-get install netcat):

Code:
for port in $(seq 3333 3354); do echo "port $port"; for ip in 37.58.117.214 159.8.42.123 159.253.151.98 198.11.195.136 192.155.218.242 119.81.240.198 161.202.120.197; do echo -n " $ip: "; result=$(echo '{"id": 1, "method": "mining.subscribe", "params": ["cpuminer-multi/1.3-dev"]}' | nc -w 2 $ip $port); [ -n "$result" ] && echo $result || echo "no response"; done; echo; done

Nicehash is the only one I found where I can mine Lyra2RE, it seems to be way most profitable CPU algo. I mine ether on GPUs and Lyra2RE on CPUs. I guess everybody else is just leaving all their CPUs idle when they mine with GPUs  Huh Mining Lyra2RE makes 20-25% additional profit on my machines.

My list of 43(+3) reviewed Bitcoin forks | You don't have to download the pre-fork blockchain again for each fork! | Beware of fraudulent AWS accounts sellers and dangerous edu AWS codes! + My personal list of legit sellers and scammers | Never publicly reveal your btc addresses, ownership or any other details and stay very far away from anybody who asks you to! | The general rule of safe buying is: if the seller is a newbie, with no reputation, with no topic nor trust feedback, offering no vouches and/or selling from a locked or self-moderated topic and unwilling to go first or use escrow => AVOID. Always check the trust feedback first and make sure that you have enabled "Show untrusted feedback by default" in "Profile / Forum Profile Information".
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
August 02, 2016, 04:18:53 PM
 #936

it works for me, but i had a similar problem when i pointed multiple miners to nicehash, asked support, they block your address if more then a dozen ip's connect to their service for this address
if thats the case, use multiple addresses for each location

Seems a little harsh, they should only block multiple IPs using the same BTC addr simultaneously. If all miners have
the same IP it's a farm not a botnet.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
August 02, 2016, 04:40:58 PM
 #937

yes its "more than a dozen *different* ips", same ip but different miner should not get blocked

i used the precompiled bin for hodlminer posted in the hodl ann thread, but the optimizations should be the same for your miner, wil lswitch to yours once cmb compiled them, i like yours better (though github would be really great to get latest sources on linux easily) Cheesy

i use the A6 machine for media purposes (thats why apu), mainly all my cpu miners are running on normal computers built for something else but while idle are mining for fun
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
August 02, 2016, 09:52:19 PM
Last edit: August 03, 2016, 02:54:45 AM by joblo
 #938

I did some playing around with AVX, trying to use it to xor arrays 256 bits at a time.
My results were not encouraging. I got code working but with occasional segfaults,
likely due to alignmnet issues. That should be fixable. The discouraging part is there was
no performance improvement. I tried it looping and inline but it didn't seem to make a difference.
I'll poke around some more but it doesn't look good.

Edit: There are a coule of reasons why I may not have seen any performance increase. It is possible,
likely, the process was memory bound in which case optimizing CPU performance wouldn't help.
The other possibility is the compiler may be auto-vectorising which occurs with the -O3 flag.
The code I vectorised was almost identical to the example of auto-vectorising.

The coding is also quite strange with load and store functions like assembly language instructions.
I would expect the compiler to do that transparently.

Edit2:

Things are looking up. I solved the alignment problem and made progress with performance. I've added 3%
to Lyra2 so far and I have a few functions left to convert. So far I've only implemented AVX2, I still have to do
AVX implementations of al functions. The improvements are to the lyra2 core so they should also help lyra2v2.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
johnsmithx
Hero Member
*****
Offline Offline

Activity: 589
Merit: 507

I don't buy nor sell anything here and never will.


View Profile
August 03, 2016, 03:27:30 AM
 #939

yes its "more than a dozen *different* ips", same ip but different miner should not get blocked

Yes, all my machines have (obviously) each a different IP and they all connect to Nicehash using the same BTC address of mine. So that's the problem? So it would be ok if all those connections went from the same IP address (if I for example NATed them all through one single IP) but it's not ok if they all use their own real IPs and my real single BTC? So I should give each machine a different BTC address?

But why Nicehash does that? They have no reason to do such a blockage, it doesn't prevent anyone from doing anything, and if I actually did give each of my machine a different BTC address then I would be having many incoming little transactions and I would be loosing money on transaction fees. The Nicehash fee is proportional to the amount so that wouldn't change but when they send BTC they also have to pay a transaction fee (which is not proportional to the amount but fixed) for each transaction and that, I suppose, they deduce from the amount being sent (i.e. I am paying it) so with many little transactions the sum of their fees may stack up.

Well I think the best solution will be the stratum proxy. If I won't get that to work then I will just tunnel all those machines through one single IP.

My list of 43(+3) reviewed Bitcoin forks | You don't have to download the pre-fork blockchain again for each fork! | Beware of fraudulent AWS accounts sellers and dangerous edu AWS codes! + My personal list of legit sellers and scammers | Never publicly reveal your btc addresses, ownership or any other details and stay very far away from anybody who asks you to! | The general rule of safe buying is: if the seller is a newbie, with no reputation, with no topic nor trust feedback, offering no vouches and/or selling from a locked or self-moderated topic and unwilling to go first or use escrow => AVOID. Always check the trust feedback first and make sure that you have enabled "Show untrusted feedback by default" in "Profile / Forum Profile Information".
johnsmithx
Hero Member
*****
Offline Offline

Activity: 589
Merit: 507

I don't buy nor sell anything here and never will.


View Profile
August 03, 2016, 03:37:53 AM
 #940

Things are looking up. I solved the alignment problem and made progress with performance. I've added 3%
to Lyra2 so far and I have a few functions left to convert. So far I've only implemented AVX2, I still have to do
AVX implementations of al functions. The improvements are to the lyra2 core so they should also help lyra2v2.

You are talking about Lyra2RE, right? So it will get sped up? Because so far tpruvot-cpuminer-multi's Lyra2RE is faster than yours by some 3.8% on my servers. I guess it might be because of -flto that I use with his but can't use with yours (doesn't compile) Sad

My list of 43(+3) reviewed Bitcoin forks | You don't have to download the pre-fork blockchain again for each fork! | Beware of fraudulent AWS accounts sellers and dangerous edu AWS codes! + My personal list of legit sellers and scammers | Never publicly reveal your btc addresses, ownership or any other details and stay very far away from anybody who asks you to! | The general rule of safe buying is: if the seller is a newbie, with no reputation, with no topic nor trust feedback, offering no vouches and/or selling from a locked or self-moderated topic and unwilling to go first or use escrow => AVOID. Always check the trust feedback first and make sure that you have enabled "Show untrusted feedback by default" in "Profile / Forum Profile Information".
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 [47] 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 ... 197 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!