marte1982
Member
Offline
Activity: 129
Merit: 10
|
|
July 20, 2019, 11:49:56 AM |
|
hi dev..can you add Equihash 192.7 algo with your cpuminer ...is it possible? thanks
|
|
|
|
minerbaba
Newbie
Offline
Activity: 91
Merit: 0
|
|
July 21, 2019, 04:49:32 AM |
|
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
Activity: 1470
Merit: 1114
|
|
July 21, 2019, 03:45:08 PM |
|
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.
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
July 21, 2019, 04:03:09 PM |
|
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?
|
|
|
|
minerbaba
Newbie
Offline
Activity: 91
Merit: 0
|
|
July 21, 2019, 04:53:22 PM |
|
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
Activity: 91
Merit: 0
|
|
July 21, 2019, 05:12:02 PM |
|
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.chttps://git.xmr.pm/wownero/node-multi-hashing/commit/9625004fe7b87b0e8fd2faec94f64a9876eb99e2
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
July 21, 2019, 07:59:09 PM |
|
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
|
|
|
|
Confusing
Newbie
Offline
Activity: 1
Merit: 0
|
|
July 27, 2019, 06:22:37 AM |
|
please help cpu-miner.c:37:10: fatal error: curl/curl.h: No such file or directory 37 | #include <curl/curl.h> | ^~~~~~~~~~~~~ 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
Activity: 1470
Merit: 1114
|
|
July 28, 2019, 09:20:48 PM |
|
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.
|
|
|
|
TheWolf666
Full Member
Offline
Activity: 615
Merit: 154
CEO of Metaisland.gg and W.O.K Corp
|
|
July 29, 2019, 05:44:19 AM |
|
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
Activity: 615
Merit: 154
CEO of Metaisland.gg and W.O.K Corp
|
|
July 29, 2019, 05:47:48 AM |
|
please help
With Windows, use Visual Studio 2013
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
July 29, 2019, 12:12:26 PM |
|
With Windows, use Visual Studio 2013
Both your posts make no sense, cpuminer-opt will not compile with VS. Both of you RTFM!
|
|
|
|
TheWolf666
Full Member
Offline
Activity: 615
Merit: 154
CEO of Metaisland.gg and W.O.K Corp
|
|
July 29, 2019, 12:41:14 PM |
|
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
Activity: 151
Merit: 10
|
|
July 30, 2019, 03:01:51 PM |
|
hello, how to compile it in windows?
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
July 31, 2019, 04:24:13 PM |
|
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.
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
August 01, 2019, 03:12:17 AM |
|
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: -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
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
August 01, 2019, 04:19:35 PM |
|
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.
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
August 02, 2019, 06:57:02 PM |
|
-R option is deprecatedPlans 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: -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
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
August 03, 2019, 03:08:51 PM Last edit: August 04, 2019, 01:53:53 AM by joblo |
|
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: -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: -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.
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
August 03, 2019, 08:51:16 PM |
|
Copy & paste the entire key including the quotes.
|
|
|
|
|