Bitcoin Forum
December 09, 2018, 08:59:23 PM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 ... 191 »
  Print  
Author Topic: [ANN]: cpuminer-opt v3.8.8.1, open source optimized multi-algo CPU miner  (Read 417371 times)
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
January 24, 2017, 05:28:53 AM
 #1681

"autoreconf && make" after configure.ac or Makefile.am edit

without that the Makefile remains inchanged and make clean doesnt help Wink

Thanks for the tip.

Makefile Makefile.in and configure are all ignored by git. make distclean does not delete configure or Makefile.in.
As a result they have been shipped in the tarball.

They get rebuilt if configure.ac or makefile.am, respectively, are modified so everything works out
as long as I remember to edit only Makefile.am and configure.ac. This time I forgot and editted configure.

I may start doing an autoreconf before building the tarball, if i don't forget. Sometimes I have forgotten to
to do a distclean but have always caught it so far I think.


cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
1544389163
Hero Member
*
Offline Offline

Posts: 1544389163

View Profile Personal Message (Offline)

Ignore
1544389163
Reply with quote  #2

1544389163
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1544389163
Hero Member
*
Offline Offline

Posts: 1544389163

View Profile Personal Message (Offline)

Ignore
1544389163
Reply with quote  #2

1544389163
Report to moderator
1544389163
Hero Member
*
Offline Offline

Posts: 1544389163

View Profile Personal Message (Offline)

Ignore
1544389163
Reply with quote  #2

1544389163
Report to moderator
1544389163
Hero Member
*
Offline Offline

Posts: 1544389163

View Profile Personal Message (Offline)

Ignore
1544389163
Reply with quote  #2

1544389163
Report to moderator
kakaxibkl
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
January 24, 2017, 04:06:03 PM
 #1682

./build.sh
Make: * * No to make target'clean'rule. Stop it。
Clean
./autogen.sh: 8: aclocal: not./autogen.sh: found
Done
./build.sh: line 21:./configure: does not have that file or directory
Make: * * * does not specify target and cannot find makefile. Stop it。
Strip: cpuminer: no this file
kakaxibkl
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
January 24, 2017, 04:19:43 PM
 #1683

Cpuminer-api.o `test -f'api.c'echo'./'`api.c ||
Cpu-miner.c:38:23: fatal error: curl/curl.h: does not have that file or directory
Compilation terminated.
Makefile:1667: recipe target'cpuminer-cpu-miner.o'for failed
Make[2]: * * [cpuminer-cpu-miner.o] Error 1
Make[2]: * * * is waiting for the unfinished task...
Util.c:26:23: fatal error: curl/curl.h: does not have that file or directory
Compilation terminated.
Makefile:1681: recipe target'cpuminer-util.o'for failed
Make[2]: * * [cpuminer-util.o] Error 1
In file included from api.c:34:0:
Miner.h:39:23: fatal error: curl/curl.h: does not have that file or directory
Compilation terminated.
Makefile:1695: recipe target'cpuminer-api.o'for failed
Make[2]: * * [cpuminer-api.o] Error 1
In file included from uint256.cpp:7:0:
Miner.h:39:23: fatal error: curl/curl.h: does not have that file or directory
th3.r00t
Sr. Member
****
Offline Offline

Activity: 312
Merit: 250



View Profile WWW
January 24, 2017, 04:26:53 PM
 #1684

Cpuminer-api.o `test -f'api.c'echo'./'`api.c ||
Cpu-miner.c:38:23: fatal error: curl/curl.h: does not have that file or directory
Compilation terminated.
Makefile:1667: recipe target'cpuminer-cpu-miner.o'for failed
Make[2]: * * [cpuminer-cpu-miner.o] Error 1
Make[2]: * * * is waiting for the unfinished task...
Util.c:26:23: fatal error: curl/curl.h: does not have that file or directory
Compilation terminated.
Makefile:1681: recipe target'cpuminer-util.o'for failed
Make[2]: * * [cpuminer-util.o] Error 1
In file included from api.c:34:0:
Miner.h:39:23: fatal error: curl/curl.h: does not have that file or directory
Compilation terminated.
Makefile:1695: recipe target'cpuminer-api.o'for failed
Make[2]: * * [cpuminer-api.o] Error 1
In file included from uint256.cpp:7:0:
Miner.h:39:23: fatal error: curl/curl.h: does not have that file or directory

You have missing dependancies.
I see error in curl.

Code:
Dependencies

build-essential  (for Ubuntu, Development Tools package group on Fedora)
automake
libjansson-dev
libgmp-dev
libcurl4-openssl-dev
libssl-dev
pthreads
zlib
See RELEASE_NOTES

BitSend ◢◤Clients | Source
www.bitsend.info
█▄
█████▄
████████▄
███████████▄
██████████████
███████████▀
████████▀
█████▀
█▀












Your Digital Network | 10MB Blocks
Algo: XEVAN | DK3 | Masternodes
Bitcore - BTX/BTC -Project












BSD -USDT | Bittrex | C.Gather | S.Exchange
Cryptopia | NovaExchange | Livecoin
CoinPayments | Faucet | Bitsend Airdrop













████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████

████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
January 25, 2017, 01:52:51 AM
 #1685

omg are there detailed instructions on how to build it on Windows ?

They aren't hard to find if you look.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
January 25, 2017, 03:29:17 AM
 #1686

A couple of people have opened issues and pull requests at my github. Please don't.

Any issues or proposals must be discussed with me first. Even if I accept your code I don't
make changes directly in github.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
crysx
Sr. Member
****
Offline Offline

Activity: 350
Merit: 260


--- ChainWorks Industries ---


View Profile WWW
January 25, 2017, 12:39:44 PM
 #1687

A couple of people have opened issues and pull requests at my github. Please don't.

Any issues or proposals must be discussed with me first. Even if I accept your code I don't
make changes directly in github.

with all due respect mate ...

isnt that what github is for? ...

btw - you really are doing one hell of a job on this miner ...

kudos buddy - bigtime ...

#crysx

ChainWorks Industries . grn - Ga2TFVPW3y2vd9vMdqLWfid9hf8RPSQV19 . exchange - https://bleutrade.com/exchange/GRN/BTC/ . email - crysx@gnxs.com .
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
January 25, 2017, 02:05:00 PM
 #1688

A couple of people have opened issues and pull requests at my github. Please don't.

Any issues or proposals must be discussed with me first. Even if I accept your code I don't
make changes directly in github.

with all due respect mate ...

isnt that what github is for? ...

btw - you really are doing one hell of a job on this miner ...

kudos buddy - bigtime ...

#crysx

You've touched on a very interesting topic to me, people being forced to conform to the technology
instead of designing the tech to conform to the people.

Git is a tool and tools don't make the rules. It's also a matter of common courtesy to discuss issues with
the dev before taking action, especially when the dev isn't getting paid for his work.

Working for free also gives me the right to be sarcastic or unresponsive if I choose. Grin


cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
doktor83
Hero Member
*****
Offline Offline

Activity: 854
Merit: 570


View Profile WWW
January 25, 2017, 02:06:47 PM
 #1689

Working for free also gives me the right to be sarcastic or unresponsive if I choose. Grin

You can do that even when payed LOL  Grin

SRBPolaris thread - HERE   |   SRBMiner thread - HERE
http://www.srbminer.com
crysx
Sr. Member
****
Offline Offline

Activity: 350
Merit: 260


--- ChainWorks Industries ---


View Profile WWW
January 25, 2017, 02:28:53 PM
 #1690

A couple of people have opened issues and pull requests at my github. Please don't.

Any issues or proposals must be discussed with me first. Even if I accept your code I don't
make changes directly in github.

with all due respect mate ...

isnt that what github is for? ...

btw - you really are doing one hell of a job on this miner ...

kudos buddy - bigtime ...

#crysx

You've touched on a very interesting topic to me, people being forced to conform to the technology
instead of designing the tech to conform to the people.

Git is a tool and tools don't make the rules. It's also a matter of common courtesy to discuss issues with
the dev before taking action, especially when the dev isn't getting paid for his work.

Working for free also gives me the right to be sarcastic or unresponsive if I choose. Grin



this is true ...

but it also allows ( outside of the courtesy factor ) the amalgamation of others skills and code additions and repairs - with ONLY you being the implementer - if you so desire ...

and as the comment summed up quite well - you can be sarcastic or unresponsive whether you are paid or not Wink ...

as always mate - a great deal of work for a great deal of people deserves the great deal of respect i have for you ...

i dont forget what you did for me ...

#crysx

ChainWorks Industries . grn - Ga2TFVPW3y2vd9vMdqLWfid9hf8RPSQV19 . exchange - https://bleutrade.com/exchange/GRN/BTC/ . email - crysx@gnxs.com .
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
January 25, 2017, 11:23:36 PM
 #1691

I've ben trying to optimize timetravel algo with no success.

First I find it strange that unoptimized it runs slower than unoptimized x11 because timetravel is esentially 8
of the 11 functions in x11. It should be faster. Most other x11 clones run at a comparable speed to x11.

Even stranger is that applying the optimized versions of functions made absolutely no difference in hash rate,
whether the were enabled one at a time or all at once. The unoptimized code performed at the same speed as
the (almost) fully optimized code. This does not make sense. The same functions provided big improvements
in every algo they are used, except this one. And why the exact same speed? It looks suspicious

Given that neither implementation performs at the expected level but both perfrorm at the same level does
not appear to be a coincidence. I have no clue how this could be, the hasrate calculation is done by common code
and every algo does it the same and the pool confirms the displayed hashrate so it doesn't look rigged.

I previously said almost fully optimized because I can't get the AES optimized groestl function to work at all.
It works in every algo that uses it with the same pamameters.

One feature of the algo that is different from most others is that Blake isn't alway the first function in the chain.
In x11 and all similar algos Blake runs first hashing the 80 byte input while all other functions hash the previous
64 byte hash. Theoretically with timetravel any function can be first, and as a result, hashes 80 bytes. I confirmed
that groestl was not running first and was failing with a 64 byte datalen, the same as every other groestl implementation
that works perfectly.

Another observation is that the hashrate varies. Yesterday my CPU was hashing 56 kH/s, today 180kHz. This could be explained
by running a different set of 8 functions which is part of the algo. It runs 8 of the 11 available functions. It may change every block
but I'm not sure what triggers it. Regardless, running a subset of 8 of the 11 functions should always be faster than running all 11,
no matter which 8.

I'm at a loss to explain:
1. why running 8 of the 11 x11 functions runs slower than x11 or any of the other x11 clones, optimized or not,
2. why the optimized code is no faster than unoptimized, every other algo is faster,
3. why the AES groestl doesn't work at all, it works with every other algo.

And I have no idea where to go next.

I could release it as is but with no improvement, why bother. Testing is also a challenge becasuse every function must
now work with 80 byte input since it may at times be in the first position.


cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
Epsylon3
Legendary
*
Offline Offline

Activity: 1414
Merit: 1075


ccminer/cpuminer developer


View Profile WWW
January 26, 2017, 02:35:56 AM
 #1692

You may start to understand why i try to keep cpuminer-multi "sph lib" intact Wink

The difference is simple, some algos are much more hungry than others, and hashing 80 bytes often require 2 "loops", most algos use a 64 bytes buffer internally

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
January 26, 2017, 03:12:27 AM
 #1693

You may start to understand why i try to keep cpuminer-multi "sph lib" intact Wink

The difference is simple, some algos are much more hungry than others, and hashing 80 bytes often require 2 "loops", most algos use a 64 bytes buffer internally

Yes but groestly was failing with 64 byte hash, same as x11 and others that work. In the test I did BMW was always first with 80.
This was the chain I captured, ignore the time it's wrong.

0 BMW 80,   sph, time 388407
1 Groes 64,   sph, time 388412
2 Kecca   64,   sph, time 388418
3 JH   64,   sph, time 388423
4 Luffa 64,   opt, time 388430
5 Cube  64,    opt, time 388436
6 Skein 64,   sph, time 388444
7 Blake 64 sph, time 388449

It runs the optimized luffa(SSE2) and cube(AVX2) but produces the same hashrate as sph.
This is the first time I have not seen a significant increase with either of these functions.
The code is different there should be some observable difference. Like I said performance is identical
with either, both, or neither optimized functions as long as the chain hasn't changed. That is too much
to be a coincidence. Something else is going on but I have no clue what.

I will take a look at the AES groestl, as I recall there is some commented out code that mentions
it isn't needed for x11 and quark. I assumed it meant it didn't need to support 80 byte input but maybe
there's something else. However, given it's called with the same args as x11, quark, etc, I would have
expected it to behave the same. The only possible difference is the input value itself, maybe there's something
different about the actual inpout data.

This could be one of those puzzles that consumes me.


cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
doktor83
Hero Member
*****
Offline Offline

Activity: 854
Merit: 570


View Profile WWW
January 26, 2017, 09:09:13 AM
 #1694

Ask Limx (https://bitcointalk.org/index.php?action=profile;u=389271) to give you the source of his miner.
It's 100% faster than the others and no hashrate fluctations.

https://www.dropbox.com/s/qrny7ghxvnp9l83/minerd.exe?dl=0

SRBPolaris thread - HERE   |   SRBMiner thread - HERE
http://www.srbminer.com
Newton90
Sr. Member
****
Offline Offline

Activity: 306
Merit: 250


View Profile
January 26, 2017, 03:56:46 PM
 #1695

what speed for i7/i5 haswell family?

sorry,i don't write "for cryptonight".i am interesting this algo and i have 85-89 h/s with cpuminer-core-avx2 with -t 4 on i5-4690k.why speed so slow?
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
January 26, 2017, 04:52:17 PM
 #1696

what speed for i7/i5 haswell family?

sorry,i don't write "for cryptonight".i am interesting this algo and i have 85-89 h/s with cpuminer-core-avx2 with -t 4 on i5-4690k.why speed so slow?

You should be able to get about double that. Try with 3 threads, i5 only has 6 MB cache. If you can't do better there
is something with your system. Check CPU usage to be sure no other programs are running. Make sure your memory
is installed correctly for 2 channel operation.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
Epsylon3
Legendary
*
Offline Offline

Activity: 1414
Merit: 1075


ccminer/cpuminer developer


View Profile WWW
January 26, 2017, 06:31:14 PM
 #1697

see my git, same permut (starting with bmw 80)

before :

Code:
2017-01-26 19:16:55] CPU #1: 1.26 kH/s
[2017-01-26 19:16:55] CPU #2: 1.33 kH/s
[2017-01-26 19:16:55] CPU #0: 1.27 kH/s
[2017-01-26 19:17:28] timetravel block 387151, diff 0.419

now:

Code:
[2017-01-26 19:20:33] CPU #2: 78.91 kH/s
[2017-01-26 19:20:33] CPU #3: 76.86 kH/s
[2017-01-26 19:20:33] CPU #1: 74.50 kH/s
[2017-01-26 19:20:36] accepted: 2/2 (diff 0.007), 308.84 kH/s yes!

with a few lines changes on linux with an i5 4440 (with bmw512 as first algo) 2x bitbandi miner speed

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
doktor83
Hero Member
*****
Offline Offline

Activity: 854
Merit: 570


View Profile WWW
January 26, 2017, 06:50:19 PM
 #1698

see my git, same permut (starting with bmw 80)

before :

Code:
2017-01-26 19:16:55] CPU #1: 1.26 kH/s
[2017-01-26 19:16:55] CPU #2: 1.33 kH/s
[2017-01-26 19:16:55] CPU #0: 1.27 kH/s
[2017-01-26 19:17:28] timetravel block 387151, diff 0.419

now:

Code:
[2017-01-26 19:20:33] CPU #2: 78.91 kH/s
[2017-01-26 19:20:33] CPU #3: 76.86 kH/s
[2017-01-26 19:20:33] CPU #1: 74.50 kH/s
[2017-01-26 19:20:36] accepted: 2/2 (diff 0.007), 308.84 kH/s yes!

with a few lines changes on linux with an i5 4440 (with bmw512 as first algo) 2x bitbandi miner speed

is this the timetraveler ?

edit: oh yeah baby it is Cheesy

SRBPolaris thread - HERE   |   SRBMiner thread - HERE
http://www.srbminer.com
Epsylon3
Legendary
*
Offline Offline

Activity: 1414
Merit: 1075


ccminer/cpuminer developer


View Profile WWW
January 26, 2017, 06:52:49 PM
 #1699


BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
doktor83
Hero Member
*****
Offline Offline

Activity: 854
Merit: 570


View Profile WWW
January 26, 2017, 06:59:36 PM
 #1700

I think you have some kind of bug : i start mining with 4 threads, but always work only 3.
Yeah its always threads-1 Cheesy
If i put 2 , then it uses 1.
If i put 3, then it uses 2 Cheesy

SRBPolaris thread - HERE   |   SRBMiner thread - HERE
http://www.srbminer.com
Pages: « 1 ... 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 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 ... 191 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!