Bitcoin Forum
May 04, 2024, 02:00:39 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 [194] 195 196 197 »
  Print  
Author Topic: [LOCKED] cpuminer-opt v3.12.3, open source optimized multi-algo CPU miner  (Read 443972 times)
marte1982
Member
**
Offline Offline

Activity: 129
Merit: 10


View Profile
July 20, 2019, 11:49:56 AM
 #3861

hi dev..can you add Equihash 192.7 algo with your cpuminer ...is it possible? thanks
1714788039
Hero Member
*
Offline Offline

Posts: 1714788039

View Profile Personal Message (Offline)

Ignore
1714788039
Reply with quote  #2

1714788039
Report to moderator
1714788039
Hero Member
*
Offline Offline

Posts: 1714788039

View Profile Personal Message (Offline)

Ignore
1714788039
Reply with quote  #2

1714788039
Report to moderator
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714788039
Hero Member
*
Offline Offline

Posts: 1714788039

View Profile Personal Message (Offline)

Ignore
1714788039
Reply with quote  #2

1714788039
Report to moderator
1714788039
Hero Member
*
Offline Offline

Posts: 1714788039

View Profile Personal Message (Offline)

Ignore
1714788039
Reply with quote  #2

1714788039
Report to moderator
1714788039
Hero Member
*
Offline Offline

Posts: 1714788039

View Profile Personal Message (Offline)

Ignore
1714788039
Reply with quote  #2

1714788039
Report to moderator
minerbaba
Newbie
*
Offline Offline

Activity: 91
Merit: 0


View Profile
July 21, 2019, 04:49:32 AM
 #3862


Try -a scrypt:8192

If that doesn't work, it's a custom version of scrypt which would be too much work.

Scrypt8K is the usage of the scrypt hashing algorithm with the variables N, r, and p set to 8192, 8, and 1 respectively.
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
July 21, 2019, 03:45:08 PM
 #3863

hi dev..can you add Equihash 192.7 algo with your cpuminer ...is it possible? thanks

A second question without following up on your first, you're just trolling.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
July 21, 2019, 04:03:09 PM
 #3864

Scrypt8K is the usage of the scrypt hashing algorithm with the variables N, r, and p set to 8192, 8, and 1 respectively.

Thanks for the info.

I'm not very familair with the scrypt code but I took a look. Based on the name of the function
"scrypt_1024_1_1_256" I assume those are the parameters N, r, p & hashsize. 1024 is the default
N but can be changed from the command line. I found no mention of r or p paramenetrs in the code
so I assume they are hardcoded at 1, as implied by the naming of the function..

This would suggest that "-a scrypt:8192" won't work for scrypt8k. Have you tried?

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

Activity: 91
Merit: 0


View Profile
July 21, 2019, 04:53:22 PM
 #3865

Scrypt8K is the usage of the scrypt hashing algorithm with the variables N, r, and p set to 8192, 8, and 1 respectively.

Thanks for the info.

I'm not very familair with the scrypt code but I took a look. Based on the name of the function
"scrypt_1024_1_1_256" I assume those are the parameters N, r, p & hashsize. 1024 is the default
N but can be changed from the command line. I found no mention of r or p paramenetrs in the code
so I assume they are hardcoded at 1, as implied by the naming of the function..

This would suggest that "-a scrypt:8192" won't work for scrypt8k. Have you tried?
i tried, it's not working
minerbaba
Newbie
*
Offline Offline

Activity: 91
Merit: 0


View Profile
July 21, 2019, 05:12:02 PM
 #3866

Scrypt8K is the usage of the scrypt hashing algorithm with the variables N, r, and p set to 8192, 8, and 1 respectively.

Thanks for the info.

I'm not very familair with the scrypt code but I took a look. Based on the name of the function
"scrypt_1024_1_1_256" I assume those are the parameters N, r, p & hashsize. 1024 is the default
N but can be changed from the command line. I found no mention of r or p paramenetrs in the code
so I assume they are hardcoded at 1, as implied by the naming of the function..

This would suggest that "-a scrypt:8192" won't work for scrypt8k. Have you tried?
i got something regarding N, r, and p

https://git.xmr.pm/wownero/node-multi-hashing/src/branch/master/scryptn.c

https://git.xmr.pm/wownero/node-multi-hashing/commit/9625004fe7b87b0e8fd2faec94f64a9876eb99e2
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
July 21, 2019, 07:59:09 PM
 #3867

Scrypt8K is the usage of the scrypt hashing algorithm with the variables N, r, and p set to 8192, 8, and 1 respectively.

Thanks for the info.

I'm not very familair with the scrypt code but I took a look. Based on the name of the function
"scrypt_1024_1_1_256" I assume those are the parameters N, r, p & hashsize. 1024 is the default
N but can be changed from the command line. I found no mention of r or p paramenetrs in the code
so I assume they are hardcoded at 1, as implied by the naming of the function..

This would suggest that "-a scrypt:8192" won't work for scrypt8k. Have you tried?
i got something regarding N, r, and p

https://git.xmr.pm/wownero/node-multi-hashing/src/branch/master/scryptn.c

https://git.xmr.pm/wownero/node-multi-hashing/commit/9625004fe7b87b0e8fd2faec94f64a9876eb99e2

This looks interesting, the code has the same origin but cpuminer-opt's version of scrypt is
Pooler's code highly optimized for the original scrypt algo. I can't simply copy & paste wownero
but I might be able to use it to find all the places in the Pooler code where R needs to be inserted.
This is a lot of work because Pooler has multiple implementations for different CPU architectures
and uses ASM. I'm weak in x86 asm so it will be diffficult.

I've opened an issue for it but there's no guarantee I'll ever do it.

https://github.com/JayDDee/cpuminer-opt/issues/199

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

Activity: 1
Merit: 0


View Profile
July 27, 2019, 06:22:37 AM
 #3868

please help

cpu-miner.c:37:10: fatal error: curl/curl.h: No such file or directory
   37 | #include <curl/curl.h>
      |          ^~~~~~~~~~~~~



Code:
Ghanta@DESKTOP-ZZXZX MINGW64 ~
$ cd /c/msys64/home/ghanta/cpuminer-opt
-bash: cd: /c/msys64/home/ghanta/cpuminer-opt: No such file or directory

Ghanta@DESKTOP-ZZXZX MINGW64 ~
$ cd /c/msys64/home/ghanta/cpuminer-opt-master

Ghanta@DESKTOP-ZZXZX MINGW64 /c/msys64/home/ghanta/cpuminer-opt-master
$ make
make  all-recursive
make[1]: Entering directory '/c/msys64/home/ghanta/cpuminer-opt-master'
Making all in compat
make[2]: Entering directory '/c/msys64/home/ghanta/cpuminer-opt-master/compat'
Making all in jansson
make[3]: Entering directory '/c/msys64/home/ghanta/cpuminer-opt-master/compat/jansson'
depbase=`echo dump.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../..     -Icompat/pthreads -march=core-avx2  -MT dump.o -MD -MP -MF $depbase.Tpo -c -o dump.o dump.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo error.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../..     -Icompat/pthreads -march=core-avx2  -MT error.o -MD -MP -MF $depbase.Tpo -c -o error.o error.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo hashtable.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../..     -Icompat/pthreads -march=core-avx2  -MT hashtable.o -MD -MP -MF $depbase.Tpo -c -o hashtable.o hashtable.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo load.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../..     -Icompat/pthreads -march=core-avx2  -MT load.o -MD -MP -MF $depbase.Tpo -c -o load.o load.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo memory.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../..     -Icompat/pthreads -march=core-avx2  -MT memory.o -MD -MP -MF $depbase.Tpo -c -o memory.o memory.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo pack_unpack.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../..     -Icompat/pthreads -march=core-avx2  -MT pack_unpack.o -MD -MP -MF $depbase.Tpo -c -o pack_unpack.o pack_unpack.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo strbuffer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../..     -Icompat/pthreads -march=core-avx2  -MT strbuffer.o -MD -MP -MF $depbase.Tpo -c -o strbuffer.o strbuffer.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo strconv.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../..     -Icompat/pthreads -march=core-avx2  -MT strconv.o -MD -MP -MF $depbase.Tpo -c -o strconv.o strconv.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo utf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../..     -Icompat/pthreads -march=core-avx2  -MT utf.o -MD -MP -MF $depbase.Tpo -c -o utf.o utf.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo value.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../..     -Icompat/pthreads -march=core-avx2  -MT value.o -MD -MP -MF $depbase.Tpo -c -o value.o value.c &&\
mv -f $depbase.Tpo $depbase.Po
rm -f libjansson.a
ar cru libjansson.a dump.o error.o hashtable.o load.o memory.o pack_unpack.o strbuffer.o strconv.o utf.o value.o
ranlib libjansson.a
make[3]: Leaving directory '/c/msys64/home/ghanta/cpuminer-opt-master/compat/jansson'
make[3]: Entering directory '/c/msys64/home/ghanta/cpuminer-opt-master/compat'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/c/msys64/home/ghanta/cpuminer-opt-master/compat'
make[2]: Leaving directory '/c/msys64/home/ghanta/cpuminer-opt-master/compat'
make[2]: Entering directory '/c/msys64/home/ghanta/cpuminer-opt-master'
gcc -DHAVE_CONFIG_H -I.  -fno-strict-aliasing -I./compat/jansson -I.  -Wno-pointer-sign -Wno-pointer-to-int-cast  -Wl,--stack,10485760 -Icompat/pthreads -march=core-avx2  -MT cpuminer-cpu-miner.o -MD -MP -MF .deps/cpuminer-cpu-miner.Tpo -c -o cpuminer-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c
cpu-miner.c:37:10: fatal error: curl/curl.h: No such file or directory
   37 | #include <curl/curl.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:2479: cpuminer-cpu-miner.o] Error 1
make[2]: Leaving directory '/c/msys64/home/ghanta/cpuminer-opt-master'
make[1]: *** [Makefile:6254: all-recursive] Error 1
make[1]: Leaving directory '/c/msys64/home/ghanta/cpuminer-opt-master'
make: *** [Makefile:954: all] Error 2

Ghanta@DESKTOP-ZZXZX MINGW64 /c/msys64/home/ghanta/cpuminer-opt-master
$

joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
July 28, 2019, 09:20:48 PM
 #3869

If you want help you'll have to provide a lot more info than just a compile output
out of any context.

Also if you don't understand that error, you're probably in over your head.

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

Activity: 615
Merit: 154


CEO of Metaisland.gg and W.O.K Corp


View Profile WWW
July 29, 2019, 05:44:19 AM
 #3870

I have compiled cpuminer to Windows and Unix, I am using sha256 bitcoin algo (pow)

The Unix version is doing around 2000-3000 Kh/s
The Windows version is doing around 500-800 Kh/s

Using the same source code... same machine, same specs (dedicated servers with the same CPU)
I have tested with about 10 setups.

Anyone else has the same issue?

TheWolf666
Full Member
***
Offline Offline

Activity: 615
Merit: 154


CEO of Metaisland.gg and W.O.K Corp


View Profile WWW
July 29, 2019, 05:47:48 AM
 #3871

please help


With Windows, use Visual Studio 2013

joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
July 29, 2019, 12:12:26 PM
 #3872


With Windows, use Visual Studio 2013

Both your posts make no sense, cpuminer-opt will not compile with VS.

Both of you RTFM!

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

Activity: 615
Merit: 154


CEO of Metaisland.gg and W.O.K Corp


View Profile WWW
July 29, 2019, 12:41:14 PM
 #3873


With Windows, use Visual Studio 2013

Both your posts make no sense, cpuminer-opt will not compile with VS.

Both of you RTFM!

Yep right, sorry. I mess up with another cpuminer ( https://github.com/tpruvot/cpuminer-multi )

rgzrgz
Member
**
Offline Offline

Activity: 151
Merit: 10


View Profile
July 30, 2019, 03:01:51 PM
 #3874

hello,
how to compile it in windows?
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
July 31, 2019, 04:24:13 PM
 #3875

hello,
how to compile it in windows?

If you can't be bothered to read the instructions I can't be bothered to help you.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
August 01, 2019, 03:12:17 AM
 #3876

This is a heads up for a proposed user interface change to cpuminer-opt.

I am intending in the next release to remove -R as a shortcut for the --retry-pause option:

Code:
  -R, --retry-pause=N   time to pause between retries, in seconds (default: 30)

I have plans to use -R for something else, --retry-pause will still be avaiable.
Retry is a rarely used option as most users prefer to exit and failover to a backup
pool when a connection is lost.

Until -R is repurposed its use will produce a warning message.

https://github.com/JayDDee/cpuminer-opt/issues/206

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
August 01, 2019, 04:19:35 PM
 #3877

I Initially declined to include cpupower algo in cpuminer-opt due to a number of  concerns.

Algo bloat: the number of supported algos is now around 100, that's 100 different
options for the -a argument. Many are almost identical with only parameter differences.

Single coin algos: I want to avoid algos that are tied to one specific coin and unlikely to be
used by any other coin in the future.

Algo branding: I prefer generic algo names instead of names that are closely associated with
a single coin.

Planned obsolescence: Coins that have plans to change algos are more work to support.

Unfortunately cpuchain/cpupower hits on all those points. The devs have expressed a desire
to maintain a tight coupling between the coin and algo, objected to a generic and more
descriptive algo name, and have plans to change algos.

All these factors led me to conclude the algo did not have much of a future and would likely
become obsolete.

Given the level of control the devs wanted over the algo I suggested it would be better to have
a dedicated cpuchain miner where the devs would have total control and freedom over their
algo of choice.

The existing cpuchain miner is forked from cpuminer-opt and can easilly import any missing
optimizations.

I'm looking at ways to simplify support for multiple algo variants to reduce the bloat and provide
some forward compatibility with new variants that don't require code changes.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
August 02, 2019, 06:57:02 PM
 #3878

-R option is deprecated

Plans have accelerated. There will be no grace period which would delay new features.
In the next release -R will have a totally different meaning, there will be no warning message.

This is a heads up for a proposed user interface change to cpuminer-opt.

I am intending in the next release to remove -R as a shortcut for the --retry-pause option:

Code:
  -R, --retry-pause=N   time to pause between retries, in seconds (default: 30)

I have plans to use -R for something else, --retry-pause will still be avaiable.
Retry is a rarely used option as most users prefer to exit and failover to a backup
pool when a connection is lost.

Until -R is repurposed its use will produce a warning message.

https://github.com/JayDDee/cpuminer-opt/issues/206

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
August 03, 2019, 03:08:51 PM
Last edit: August 04, 2019, 01:53:53 AM by joblo
 #3879

cpuminer-opt-3.9.7 makes changes to command line options.

-R is no longer used as a shortcut for retry-pause, users must use the long option.

New options have been added to facilitate mining algos based on yescrypt or
yespower with different parameters:

Code:
  -N, --param-n         N parameter for scrypt based algos
  -R, --param-r         R parameter for scrypt based algos
  -K, --param-key       Key parameter for algos that use it

These parameters can be used to mine existing algos or new algos.
Existing algos may still be mined using their original unique name without extra parameters.

Any new algos based on yescrypt or yespower which only differ in parameters can be mined immediately
without requiring a new release of cpuminer-opt by using the generic algo name and specifying the parameters.

For example the recent cpupower algo can be mined using the following parameters:

Code:
-a yespower -N 2048 -R 32 -K "CPUpower: The number of CPU working or available for proof-of-work mining"

Edit: Be carefull with the key, it's very long in this case and contains spaces and special characters, the quotes are necessary.

Parameter values are determined by the developpers of the coin and/or algo and should be listed in the coin's specifications
or mining instructions. Cpuminer has no knowledge of the parameter values except for algos previously
defined with a customized name.

Only the N parameter is supported for scrypt, R is harcoded with 1.  -a scrypt -N n has the same effect as -a scrypt:n.


AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
August 03, 2019, 08:51:16 PM
 #3880

Copy & paste the entire key including the quotes.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
Pages: « 1 ... 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 [194] 195 196 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!