Bitcoin Forum
April 30, 2024, 10:44:29 PM *
News: Latest Bitcoin Core release: 27.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 ... 61 »
  Print  
Author Topic: VanitySearch (Yet another address prefix finder)  (Read 31194 times)
arulbero
Legendary
*
Offline Offline

Activity: 1915
Merit: 2074


View Profile
March 16, 2019, 11:41:56 AM
 #101

From 132 MKey/s to 162 MKeys/s (+22/%)  Wink


EDIT:

But

Code:
./VanitySearch -check
GetBase10() Results OK
Add() Results OK : 123.457 MegaAdd/sec
Mult() Results OK : 24.272 MegaMult/sec
Div() Results OK : 5.495 MegaDiv/sec
ModInv()/ModExp() Results OK
ModInv() : 340.092 KiloInv/sec
IntGroup.ModInv() : 9.236 MegaInv/sec
ModMulK1() : 13.040 MegaMult/sec
ModSqrt() OK !
Check Generator :OK
Check Double :OK
Check Add :OK
Check GenKey :OK
Adress : 15t3Nt1zyMETkHbjJTTshxLnqPzQvAtdCe OK!
Adress : 1BoatSLRHtKNngkdXEeobR76b53LETtpyT OK!
Adress : 1JeanLucgidKHxfY5gkqGmoVjo1yaU4EDt OK(comp)!
Adress : 1Test6BNjSJC5qwYXsjwKVLvz7DpfLehy OK!
Adress : 1BitcoinP7vnLpsUHWbzDALyJKnNo16Qms OK(comp)!
Check Calc PubKey (full) 1ViViGLEawN27xRzGrEhhYPQrZiTKvKLo :OK
Check Calc PubKey (even) 1Gp7rQ4GdooysEAEJAS2o4Ktjvf1tZCihp:OK
Check Calc PubKey (odd) 18aPiLmTow7Xgu96msrDYvSSWweCvB9oBA:OK
GPU: GPU #0 Quadro M2200 (8x128 cores) Grid(64x128)
Seed: 238931
144.693 MegaKey/sec
ComputeKeys() found 1560 items , CPU check...
Expected item not found fefe63f6 5ec693df 4cf9dadf 8b133b8f 8ccb0b70
Expected item not found 3412d19f 24a9ac14 6df4d827 b4d00364 ffdc11fa
Expected item not found 3412cd98 63fb6b03 eb3ddc78 3567f880 f98116de
Expected item not found fefe9309 d74017a9 6fc7c59e 4b7a2e63 a5a7abe7
Expected item not found 3412c765 0461b6b2 45570bb9 bbf80b0a 76c044ca
Expected item not found fefe99cf 982b08f5 a1dbde42 3f1f1f7a 2605fc83
Expected item not found 3412af23 b7a2cc9b 23525699 c12e9fff aa796ff1
Expected item not found 34126e76 729dc708 3d230591 1c140750 124f346a
Expected item not found fefe34a8 660725ae 40199cc0 dcf71566 23a797f3
Expected item not found fefee4ef a6247e15 b1717fd0 7a2b9635 1ec512bd
Expected item not found 3412488a 65f18231 c989f62b a3e4cece 6dbadd3e
Expected item not found fefe07b3 49378b5b 906ba7e7 887cc096 46914976
Expected item not found fefebf36 c23ee151 84bf8019 ddbe8489 18e77a6d
Expected item not found fefe85d7 9fa6f63a 7852ffec 3ad06c98 3d69a9c2
Expected item not found 34127f2c 4739d46d c501b09c d8b0d575 9e4877df
Expected item not found 341226ac f6746e8b c914a6a5 59b6947d 2f91d039
Expected item not found fefe1422 7692c225 d825ad31 2c8d22d8 d28cc7a3
Expected item not found fefe36a1 5d81f5c0 2122069d abe39143 d907eb6b
Expected item not found fefec283 cd96406d d29ab56e 0557767e 73144a83
Expected item not found 3412dbb7 ad500fd0 2cf59df0 cf0b6000 ffe47a23
Expected item not found 34128eca 162c602e ecfeacda a765e8a8 2bcbd091
Expected item not found 341207a9 ce5bfe83 2788e24a f29e5787 e909b931
Expected item not found fefe346f 5071aae8 dc717b8a 7c51fb02 cc06327e
Expected item not found fefe2b49 b25a7c52 66a4ddd7 893af5ee d5e659de
Expected item not found 3412ac9d 1910b3ee a9d770c3 ff81c805 048c78cd
Expected item not found fefefa6c 7af23a65 6f2c255f ee59f412 8e08c8ca
Expected item not found 341214d1 f3c70a70 4aa28f70 afed5d8b baa5eccd
Expected item not found 3412b4c3 a97478f6 acf9234d 5c73bd94 854bbcb3
Expected item not found 341271ce 858d15ab 2b19b081 16c158b0 e7beb38d
Expected item not found 34128660 fd689f46 c36fa455 700bdf04 9b660db5
Expected item not found 3412828e 0a9eced3 af87044f e471ce01 6930171b
Expected item not found fefeb5e0 9742288e 1d8c0f13 f7dabe34 4e5a1e03
Expected item not found fefeaf1c d1be1ea2 73d07ebb e1215670 79246fbd
Expected item not found 341296c9 33487919 0635c476 d878fe39 7a1ffe9e
Expected item not found 341293e4 db0eecd3 ec46040d c3332486 df884a7a
Expected item not found 34124652 f63f2749 e6a9d5de a37ce326 2121510f
Expected item not found fefe00b7 3729c679 252fcc5a 7822be32 8c5bcbdf
Expected item not found fefeef83 6a2217d1 a95874a4 b0c1a28f 8e753c1a
..............
1714517069
Hero Member
*
Offline Offline

Posts: 1714517069

View Profile Personal Message (Offline)

Ignore
1714517069
Reply with quote  #2

1714517069
Report to moderator
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Jean_Luc (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 696


View Profile
March 16, 2019, 11:44:17 AM
 #102

The increase of stivensons seems rather normal, but 350% seems strange !
May be there is a problem...
Does it work fine ?
If you try to search the same prefix several times, you note each time the percentage when the prefix is found, the average should be around 50%.
It is the case ?
arulbero
Legendary
*
Offline Offline

Activity: 1915
Merit: 2074


View Profile
March 16, 2019, 11:59:14 AM
 #103

Definitely there is something wrong.


Code:
~/VanitySearch$ ./VanitySearch -stop  -t 7 -gpu  1WantF
Start Sat Mar 16 12:50:16 2019
Difficulty: 15318045009
Search: 1WantF
Base Key:2AC8B932E4C55F53C4EC771105BB1647610917E7BE4DFA0606FD0F12F260CF12
Number of CPU thread: 7
GPU: GPU #0 Quadro M2200 (8x128 cores) Grid(64x128)
159.335 MK/s (GPU 144.687 MK/s) (2^35.80) [P 97.97%][99.00% in 00:01:08][0]
Pub Addr: 1WantFvhmcdyuQ8thJfcVCMSQk1CjKpEZ
Prv Addr: 5KHCP5S2MW1vUBaiZz4VTcAMypVMxg6kLy79nKYttFbixnaxVbV
Prv Key : 0xC0CCA06A1AA34E266E561B97342FC6C17054CF0CB9D423D037C1A0C66DC68CC9
Check   : 1M5b4XcRva6QC8XLLFYEWYqmDr7MYNLcfd
Check   : 1CCWKXGcp8T7wvy8n9HJYve4WQYj93Srtx (comp)

If I check with my software this private key I can't get "1WantF"
Code:
genadd.py 0xC0CCA06A1AA34E266E561B97342FC6C17054CF0CB9D423D037C1A0C66DC68CC9
Private key : c0cca06a1aa34e266e561b97342fc6c17054cf0cb9d423d037c1a0c66dc68cc9
Public key  : c30ab092497a5e929b48f8da738fd2898ba2b1b40e6a819ae0d6da6a4c64e365 b5252302d125296a23e38997e155c31e3b0c4994c93b39155696d5db85d87ded
 
PrKey WIF u.: 5KHCP5S2MW1vUBaiZz4VTcAMypVMxg6kLy79nKYttFbixnaxVbV
Address u.  : dc409cb063463acaba996650713fca025e843631
Address u.  : 1M5b4XcRva6QC8XLLFYEWYqmDr7MYNLcfd

PrKey WIF c.: L3gVESZSyV54zyhpUarQcSCKbncBWjaNK8e9m2sn1DSGCqWqif8Q
Address c.  : 7ad66f0aa3bacef69b5871c4bbc460db29ca6b4f
Address c.  : 1CCWKXGcp8T7wvy8n9HJYve4WQYj93Srtx
Jean_Luc (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 696


View Profile
March 16, 2019, 12:04:12 PM
 #104

@arulbero

Your git clone is up do date ?
git pull

Did you clean before making ?
make clean
and make gpu=1 all

On my config the -check is ok.
It looks like the problem I had last time when the GPU code was wrongly generated.

mmm....
arulbero
Legendary
*
Offline Offline

Activity: 1915
Merit: 2074


View Profile
March 16, 2019, 01:10:45 PM
 #105

Your git clone is up do date ?
git pull

Did you clean before making ?
make clean
and make gpu=1 all

On my config the -check is ok.
It looks like the problem I had last time when the GPU code was wrongly generated.


Code:
~$ git clone https://github.com/JeanLucPons/VanitySearch.git
Cloning into 'VanitySearch'...
remote: Enumerating objects: 147, done.
remote: Counting objects: 100% (147/147), done.
remote: Compressing objects: 100% (89/89), done.
remote: Total 472 (delta 90), reused 101 (delta 58), pack-reused 325
Ricezione degli oggetti: 100% (472/472), 287.95 KiB | 299.00 KiB/s, done.
Risoluzione dei delta: 100% (301/301), done.
~$ cd VanitySearch
~/VanitySearch$ git pull
Already up-to-date.


Code:
~/VanitySearch$ make clean
Cleaning...
~/VanitySearch$ make gpu=1 all
g++ -DWITHGPU -m64  -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/Base58.o -c Base58.cpp
g++ -DWITHGPU -m64  -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/IntGroup.o -c IntGroup.cpp
g++ -DWITHGPU -m64  -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/main.o -c main.cpp
g++ -DWITHGPU -m64  -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/Random.o -c Random.cpp
g++ -DWITHGPU -m64  -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/Timer.o -c Timer.cpp
g++ -DWITHGPU -m64  -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/Int.o -c Int.cpp
g++ -DWITHGPU -m64  -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/IntMod.o -c IntMod.cpp
g++ -DWITHGPU -m64  -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/Point.o -c Point.cpp
g++ -DWITHGPU -m64  -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/SECP256K1.o -c SECP256K1.cpp
g++ -DWITHGPU -m64  -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/Vanity.o -c Vanity.cpp
g++ -DWITHGPU -m64  -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/GPU/GPUGenerate.o -c GPU/GPUGenerate.cpp
g++ -DWITHGPU -m64  -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/hash/ripemd160.o -c hash/ripemd160.cpp
g++ -DWITHGPU -m64  -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/hash/sha256.o -c hash/sha256.cpp
g++ -DWITHGPU -m64  -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/hash/sha512.o -c hash/sha512.cpp
g++ -DWITHGPU -m64  -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/hash/ripemd160_sse.o -c hash/ripemd160_sse.cpp
g++ -DWITHGPU -m64  -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/hash/sha256_sse.o -c hash/sha256_sse.cpp
/usr/local/cuda-8.0/bin/nvcc -maxrregcount=0 --ptxas-options=-v --compile --compiler-options -fPIC -ccbin g++ -m64 -O2 -I/usr/local/cuda-8.0/include -gencode=arch=compute_50,code=sm_50 -o obj/GPU/GPUEngine.o -c GPU/GPUEngine.cu
ptxas info    : 0 bytes gmem, 33320 bytes cmem[3]
ptxas info    : Compiling entry function '_Z9comp_keysjPtPjPmS0_' for 'sm_50'
ptxas info    : Function properties for _Z9comp_keysjPtPjPmS0_
    32936 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 126 registers, 360 bytes cmem[0], 116 bytes cmem[2]
ptxas info    : Function properties for _Z10CheckPointPjiiPtjS_S_
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Function properties for _Z11_GetHash160PmS_Ph
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Function properties for _Z13CheckHashCompPtPmS0_ijPjS1_
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Function properties for _Z15CheckHashUncompPtPmS0_ijPjS1_
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Function properties for _Z15_GetHash160CompPmS_Ph
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Function properties for _Z7_ModInvPm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Function properties for _Z9CheckHashjPtPmS0_ijPjS1_
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
Making VanitySearch...
g++ obj/Base58.o obj/IntGroup.o obj/main.o obj/Random.o obj/Timer.o obj/Int.o obj/IntMod.o obj/Point.o obj/SECP256K1.o obj/Vanity.o obj/GPU/GPUGenerate.o obj/hash/ripemd160.o obj/hash/sha256.o obj/hash/sha512.o obj/hash/ripemd160_sse.o obj/hash/sha256_sse.o obj/GPU/GPUEngine.o -lpthread -L/usr/local/cuda-8.0/lib64 -lcudart -o VanitySearch


Code:
~/VanitySearch$ ./VanitySearch -check
GetBase10() Results OK
Add() Results OK : 158.730 MegaAdd/sec
Mult() Results OK : 25.063 MegaMult/sec
Div() Results OK : 4.566 MegaDiv/sec
ModInv()/ModExp() Results OK
ModInv() : 337.671 KiloInv/sec
IntGroup.ModInv() : 9.041 MegaInv/sec
ModMulK1() : 12.934 MegaMult/sec
ModSqrt() OK !
Check Generator :OK
Check Double :OK
Check Add :OK
Check GenKey :OK
Adress : 15t3Nt1zyMETkHbjJTTshxLnqPzQvAtdCe OK!
Adress : 1BoatSLRHtKNngkdXEeobR76b53LETtpyT OK!
Adress : 1JeanLucgidKHxfY5gkqGmoVjo1yaU4EDt OK(comp)!
Adress : 1Test6BNjSJC5qwYXsjwKVLvz7DpfLehy OK!
Adress : 1BitcoinP7vnLpsUHWbzDALyJKnNo16Qms OK(comp)!
Check Calc PubKey (full) 1ViViGLEawN27xRzGrEhhYPQrZiTKvKLo :OK
Check Calc PubKey (even) 1Gp7rQ4GdooysEAEJAS2o4Ktjvf1tZCihp:OK
Check Calc PubKey (odd) 18aPiLmTow7Xgu96msrDYvSSWweCvB9oBA:OK
GPU: GPU #0 Quadro M2200 (8x128 cores) Grid(64x128)
Seed: 543374
107.806 MegaKey/sec
ComputeKeys() found 1499 items , CPU check...
Expected item not found fefe44b8 49f68f1f 096013ff e41e6d50 08263cf2
Expected item not found 3412f45b 16a98f1d bb7ee0f4 0278da41 07cb3ee6
Expected item not found fefe8197 02abccb1 39fcfe5c 7aa3a90a 33963bf2
Expected item not found fefedadb ac585a72 40bd3909 ecb1d075 e20484b9
Expected item not found 341249c5 f84bed21 07fb6121 631ee85d e5ef57c8
Expected item not found fefefa4a 23595a11 852a65fb 50ce146e 4540d8e8
Expected item not found fefe9430 b605f7f4 89981d6d 7b7a5088 a66b1f00
Expected item not found fefe9c16 400e3e2a 48c89b5a 3e52f969 918b7959
Expected item not found fefe5d8a 6d85d7df 48167af2 d4fc3a4d efa938e8
Expected item not found 3412485f e021867b f1397c5f ca679dba 77534406
Expected item not found 3412c6cd aecad837 247d170b f2eb91f4 81651450
Expected item not found 3412f092 9a76aa08 cb118f9e d0a04cc4 d03f89b6
Expected item not found 341299c8 ee36c5d2 17302781 6f96b5ab 71866549
Expected item not found 3412f7f1 1ce0cb01 8f52536b 55c48bbb 2f3b72f2
Expected item not found 3412b56c 3002219b bcce9cde 5e06bb74 5bd598c4
Expected item not found fefe8771 ac005e51 7cb4b3c4 f9a61416 e2e836bf
Expected item not found fefe8615 7ed9f4aa f16a2ceb ad9ffe89 5354f3f9
Expected item not found fefe25e1 afd03d00 c0c479c6 cd713bae b2e5cfa7
Expected item not found fefe334e 61a2a96e 0af5f876 357dab48 f67f214b
Expected item not found fefec35a 2ef5d92a b92dbe26 3c797bc6 5f35b539
Expected item not found fefe9221 f20eb58f 8a6f69c1 785431a7 d0730d12
Expected item not found 3412f913 ab809651 91539b93 232da11a ef41b61c
........
Jean_Luc (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 696


View Profile
March 16, 2019, 01:52:21 PM
 #106

Ok
Could you try to edit GPUEngine.cu and to change the stackSize to 49152 line (48K) line 1371.
I doubled the group size and I missed this.
Does it improves something ?

Code:
  size_t stackSize = 49152;
  err = cudaDeviceSetLimit(cudaLimitStackSize, stackSize);
  if (err != cudaSuccess) {

arulbero
Legendary
*
Offline Offline

Activity: 1915
Merit: 2074


View Profile
March 16, 2019, 01:57:24 PM
 #107

Ok
Could you try to edit GPUEngine.cu and to change the stackSize to 49152 line (48K) line 1371.
I doubled the group size and I missed this.
Does it improves something ?

Code:
  size_t stackSize = 49152;
  err = cudaDeviceSetLimit(cudaLimitStackSize, stackSize);
  if (err != cudaSuccess) {




Same error:

Code:
/usr/local/cuda-8.0/bin/nvcc -maxrregcount=0 --ptxas-options=-v --compile --compiler-options -fPIC -ccbin g++ -m64 -O2 -I/usr/local/cuda-8.0/include -gencode=arch=compute_50,code=sm_50 -o obj/GPU/GPUEngine.o -c GPU/GPUEngine.cu
ptxas info    : 0 bytes gmem, 33320 bytes cmem[3]
ptxas info    : Compiling entry function '_Z9comp_keysjPtPjPmS0_' for 'sm_50'
ptxas info    : Function properties for _Z9comp_keysjPtPjPmS0_
    32936 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 126 registers, 360 bytes cmem[0], 116 bytes cmem[2]
ptxas info    : Function properties for _Z10CheckPointPjiiPtjS_S_
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Function properties for _Z11_GetHash160PmS_Ph
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Function properties for _Z13CheckHashCompPtPmS0_ijPjS1_
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Function properties for _Z15CheckHashUncompPtPmS0_ijPjS1_
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Function properties for _Z15_GetHash160CompPmS_Ph
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Function properties for _Z7_ModInvPm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Function properties for _Z9CheckHashjPtPmS0_ijPjS1_
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
Making VanitySearch...
g++ obj/Base58.o obj/IntGroup.o obj/main.o obj/Random.o obj/Timer.o obj/Int.o obj/IntMod.o obj/Point.o obj/SECP256K1.o obj/Vanity.o obj/GPU/GPUGenerate.o obj/hash/ripemd160.o obj/hash/sha256.o obj/hash/sha512.o obj/hash/ripemd160_sse.o obj/hash/sha256_sse.o obj/GPU/GPUEngine.o -lpthread -L/usr/local/cuda-8.0/lib64 -lcudart -o VanitySearch
Jean_Luc (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 696


View Profile
March 16, 2019, 02:12:55 PM
 #108

Ok

Could you try to noiline to 2 ModMult, also in GPU/GPUEngine.cu:

Code:
Line 510: __device__ __noinline__ void _ModMult(uint64_t *r, uint64_t *a, uint64_t *b) {
Line 560: __device__ __noinline__ void _ModMult(uint64_t *r, uint64_t *a) {

It seems that I reached a limit with CUDA....
I had similar problem with the last release...
And no warning at all !
arulbero
Legendary
*
Offline Offline

Activity: 1915
Merit: 2074


View Profile
March 16, 2019, 02:24:18 PM
 #109

Ok

Could you try to noiline to 2 ModMult, also in GPU/GPUEngine.cu:

Code:
Line 510: __device__ __noinline__ void _ModMult(uint64_t *r, uint64_t *a, uint64_t *b) {
Line 560: __device__ __noinline__ void _ModMult(uint64_t *r, uint64_t *a) {

It seems that I reached a limit with CUDA....
I had similar problem with the last release...

Same error again...

Very strange, look at the time:  5.00779e+06y to get the 50% ...
Code:
:~/VanitySearch$ ./VanitySearch -stop  -t 7 -gpu  11111
Start Sat Mar 16 15:26:49 2019
Difficulty: 33822000858357062172672
Search: 11111
Base Key:F2A543066C493024B85715EFFE2486460C80009A931F6D8B1614FC20573DC40B
Number of CPU thread: 7
GPU: GPU #0 Quadro M2200 (8x128 cores) Grid(64x128)
148.447 MK/s (GPU 130.846 MK/s) (2^30.47) [P 0.00%][50.00% in 5.00779e+06y][0]
Pub Addr: 111113auryoueJApjac3VvMcmPcL1W5Co
Prv Addr: 5KKbZb2q6ds9MKJ7RP5pdx7bFmazSU7arhkBetsUYBEJyNKHRQj
Prv Key : 0xC63F8239D2073D242F6263099770C17426D95822647B78C56E5A72AC6542C113
Check   : 1MRXFX8Vmw6n4GLSWVr6Jp8WGjLm74Cuj4
Check   : 1DJ7SW3Tp6wkFvUGhAfLNcrCy5pNSQTEtp (comp)
Jean_Luc (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 696


View Profile
March 16, 2019, 02:35:29 PM
 #110

Yes 11111 is quite difficult (leading 0).
May be there is also a bug with this particular case. I'll check that.

I restored the old group size.
Could try to update your git repo
And try again.
Many thank for your help.
Jean_Luc (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 696


View Profile
March 16, 2019, 02:37:51 PM
 #111

I confirm that there is a problem with difficulty calculation when searching prefix like 1111something...
arulbero
Legendary
*
Offline Offline

Activity: 1915
Merit: 2074


View Profile
March 16, 2019, 02:42:51 PM
Last edit: March 16, 2019, 02:54:09 PM by arulbero
 #112

I confirm that there is a problem with difficulty calculation when searching prefix like 1111something...


Case 11111.. should be simple:

difficulty = 256^(# of 1 - 1)

Example:
1 --> difficulty 1
11 --> difficulty = 256^1
111 --> difficulty = 256^2



Same error for GPU. Now it's a little slower too.

Code:
./VanitySearch -stop  -t 7 -gpu  111111
Start Sat Mar 16 15:44:37 2019
Difficulty: 1961676049784709488574464
Search: 111111
Base Key:BB62B2E3C2AB0474AC27C72F337D14BB6679B66AB0D82FEC2592FF91C87E6F2F
Number of CPU thread: 7
GPU: GPU #0 Quadro M2200 (8x128 cores) Grid(64x128)
145.164 MK/s (GPU 128.957 MK/s) (2^32.37) [P 0.00%][50.00% in 2.97021e+08y][0]
Pub Addr: 111111KYoXqxKvZFofwTHWBoUydR9PvT
Prv Addr: 5KEp6PQmPqDjS4yzsouLGS7KC5kMNoBnQdGEh9KHscGHXFG7wuE
Prv Key : 0xBB62B2E3C2AB0474AC27C72F337D14BB66F9B66AB23E2FEC2592FF91C88005B9
Check   : 1EUCkw1FJmgH3SqvnimVhZv6X213hsXCX9
Check   : 17wrT4K44bsuVSPvbm3wGncoCz129SAH6m (comp)

EDIT:

the last version that works for me is the one without endomorhism (with speed 130 MKeys/s):

Code:
./VanitySearch -check
GetBase10() Results OK
Add() Results OK : 204.082 MegaAdd/sec
Mult() Results OK : 27.174 MegaMult/sec
Div() Results OK : 5.076 MegaDiv/sec
ModInv()/ModExp() Results OK
ModInv() : 340.947 KiloInv/sec
IntGroup.ModInv() : 9.077 MegaInv/sec
ModMulK1() : 12.966 MegaMult/sec
ModSqrt() OK !
Check Generator :OK
Check Double :OK
Check Add :OK
Check GenKey :OK
Adress : 15t3Nt1zyMETkHbjJTTshxLnqPzQvAtdCe OK!
Adress : 1BoatSLRHtKNngkdXEeobR76b53LETtpyT OK!
Adress : 1JeanLucgidKHxfY5gkqGmoVjo1yaU4EDt OK(comp)!
Adress : 1Test6BNjSJC5qwYXsjwKVLvz7DpfLehy OK!
Adress : 1BitcoinP7vnLpsUHWbzDALyJKnNo16Qms OK(comp)!
Check Calc PubKey (full) 1ViViGLEawN27xRzGrEhhYPQrZiTKvKLo :OK
Check Calc PubKey (even) 1Gp7rQ4GdooysEAEJAS2o4Ktjvf1tZCihp:OK
Check Calc PubKey (odd) 18aPiLmTow7Xgu96msrDYvSSWweCvB9oBA:OK
GPU: GPU #0 Quadro M2200 (8x128 cores) Grid(64x128)
Seed: 632257
103.313 MegaKey/sec
ComputeKeys() found 504 items , CPU check...
GPU/CPU check OK
Lolo54
Member
**
Offline Offline

Activity: 117
Merit: 32


View Profile
March 16, 2019, 02:48:10 PM
 #113

I confirm that there is a problem with difficulty calculation when searching prefix like 1111something...

For this prefix vanitygen
vanitygen.exe 11111
Difficulty: 4294967296
[353.08 Kkey/s][total 20853248][Prob 0.5%][50% in 2.8h]

and for

vanitygen.exe 111111
Difficulty: 1099511627776
[326.68 Kkey/s][total 987648][Prob 0.0%][50% in 27.0d]
arulbero
Legendary
*
Offline Offline

Activity: 1915
Merit: 2074


View Profile
March 16, 2019, 02:52:55 PM
 #114

I confirm that there is a problem with difficulty calculation when searching prefix like 1111something...

For this prefix vanitygen
vanitygen.exe 11111
Difficulty: 4294967296
[353.08 Kkey/s][total 20853248][Prob 0.5%][50% in 2.8h]

and for

vanitygen.exe 111111
Difficulty: 1099511627776
[326.68 Kkey/s][total 987648][Prob 0.0%][50% in 27.0d]


256**4 = 4294967296

256**5 = 1099511627776
Jean_Luc (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 696


View Profile
March 16, 2019, 03:06:26 PM
 #115

The 1111 is not a problem difficult to solve.
But the other concerning the GPU, f...ing hell !

And all work fine on my 8 years old quadro 600 !
Jean_Luc (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 696


View Profile
March 16, 2019, 03:10:39 PM
 #116

Good news.
But restoring the group size, and get back in my linux git repo the problem appears.
I will try to debug this.
Jean_Luc (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 696


View Profile
March 16, 2019, 04:14:48 PM
 #117

I found out an illegal memory access.
I committed a fix on git source.
Thanks to test if it is better or not...
arulbero
Legendary
*
Offline Offline

Activity: 1915
Merit: 2074


View Profile
March 16, 2019, 05:18:44 PM
 #118

I found out an illegal memory access.
I committed a fix on git source.
Thanks to test if it is better or not...


The error remains.

EDIT:
to be precise, now it seems that the results are correct (I made 10 tries) but vanitysearch -check produces the same error: maybe there is something wrong with -check function?

Code:
~/VanitySearch$ ./VanitySearch -check
GetBase10() Results OK
Add() Results OK : 125.000 MegaAdd/sec
Mult() Results OK : 24.272 MegaMult/sec
Div() Results OK : 4.566 MegaDiv/sec
ModInv()/ModExp() Results OK
ModInv() : 342.807 KiloInv/sec
IntGroup.ModInv() : 8.920 MegaInv/sec
ModMulK1() : 12.700 MegaMult/sec
ModSqrt() OK !
Check Generator :OK
Check Double :OK
Check Add :OK
Check GenKey :OK
Adress : 15t3Nt1zyMETkHbjJTTshxLnqPzQvAtdCe OK!
Adress : 1BoatSLRHtKNngkdXEeobR76b53LETtpyT OK!
Adress : 1JeanLucgidKHxfY5gkqGmoVjo1yaU4EDt OK(comp)!
Adress : 1Test6BNjSJC5qwYXsjwKVLvz7DpfLehy OK!
Adress : 1BitcoinP7vnLpsUHWbzDALyJKnNo16Qms OK(comp)!
Check Calc PubKey (full) 1ViViGLEawN27xRzGrEhhYPQrZiTKvKLo :OK
Check Calc PubKey (even) 1Gp7rQ4GdooysEAEJAS2o4Ktjvf1tZCihp:OK
Check Calc PubKey (odd) 18aPiLmTow7Xgu96msrDYvSSWweCvB9oBA:OK
GPU: GPU #0 Quadro M2200 (8x128 cores) Grid(64x128)
Seed: 902291
143.116 MegaKey/sec
ComputeKeys() found 1514 items , CPU check...
Expected item not found 3412af62 86300235 849853ea d298b73d d56bb672
Expected item not found 3412bc7b f1296ba0 afb84655 82130792 85bd7f54
Expected item not found 341232ca dd9bc221 4a9664ea 50c352fd 44addb30
Expected item not found 3412366e b3b688bc 7fe3a7bc 967677f8 6ac14eb9
Expected item not found 34128851 1ec60338 7c2f3643 fd5f4e86 0034f632
Expected item not found 34126703 5f43f06a d3b47d48 d70219e9 f208ba14
Expected item not found 3412d097 91788b71 ad6b2e75 308fdaf9 5a992844
Expected item not found fefedc03 fffe2da5 f492467d 154c8931 256f1442
Expected item not found fefe8106 2b806056 b0a46a1f d3969aea 5fb333bd
Expected item not found 341241b9 59581e9f ba6e39f4 f510d1a9 db8901d4
Expected item not found fefec45f 234faf04 cf53b66e 27307904 ffe364f3
Expected item not found 34120d3f 6c2613f4 71dbd886 c88e267a 586fc692
Expected item not found 3412780f a040e2a5 a16a1705 38480789 316b57af
Expected item not found fefe9a98 be3ac140 c7c35aef b088b405 42ee825a
Expected item not found 341253c0 29f92e0f 4b1f60f5 05363c5a 7c1972d2
Expected item not found 34129ee6 10e0641e c1b79be2 512466be 675e2b3a
Jean_Luc (OP)
Sr. Member
****
Offline Offline

Activity: 462
Merit: 696


View Profile
March 16, 2019, 05:43:02 PM
 #119

The check works flawlessly on my configs, both linux and windows. It should work.
There is something wrong somewhere but where...
arulbero
Legendary
*
Offline Offline

Activity: 1915
Merit: 2074


View Profile
March 16, 2019, 05:55:00 PM
 #120

The check works flawlessly on my configs, both linux and windows. It should work.
There is something wrong somewhere but where...


vanitygen -check works with a old version, this is the only compile error I got:
Code:
g++ -DWITHGPU -m64  -Wno-write-strings -O2 -I. -I/usr/local/cuda-8.0/include -o obj/hash/sha256_sse.o -c hash/sha256_sse.cpp
/usr/local/cuda-8.0/bin/nvcc -maxrregcount=0 --ptxas-options=-v --compile --compiler-options -fPIC -ccbin g++ -m64 -O2 -I/usr/local/cuda-8.0/include -gencode=arch=compute_50,code=sm_50 -o obj/GPU/GPUEngine.o -c GPU/GPUEngine.cu
ptxas info    : 0 bytes gmem, 16872 bytes cmem[3]
ptxas info    : Compiling entry function '_Z9comp_keysjPtPjPmS0_' for 'sm_50'
ptxas info    : Function properties for _Z9comp_keysjPtPjPmS0_
    16712 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 128 registers, 360 bytes cmem[0], 116 bytes cmem[2]
ptxas info    : Function properties for _Z11_GetHash160PmS_Ph
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Function properties for _Z15_GetHash160CompPmS_Ph
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Function properties for _Z7_ModInvPm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Function properties for _Z9CheckHashjPtPmS0_ijPjS1_
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads



vanitygen -check deosn't works with the current version, this is the  compile error I got:
Code:
/usr/local/cuda-8.0/bin/nvcc -maxrregcount=0 --ptxas-options=-v --compile --compiler-options -fPIC -ccbin g++ -m64 -O2 -I/usr/local/cuda-8.0/include -gencode=arch=compute_50,code=sm_50 -o obj/GPU/GPUEngine.o -c GPU/GPUEngine.cu
ptxas info    : 0 bytes gmem, 33320 bytes cmem[3]
ptxas info    : Compiling entry function '_Z9comp_keysjPtPjPmS0_' for 'sm_50'
ptxas info    : Function properties for _Z9comp_keysjPtPjPmS0_
    32936 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 126 registers, 360 bytes cmem[0], 116 bytes cmem[2]
ptxas info    : Function properties for _Z10CheckPointPjiiPtjS_S_
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Function properties for _Z11_GetHash160PmS_Ph
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Function properties for _Z13CheckHashCompPtPmS0_ijPjS1_
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Function properties for _Z15CheckHashUncompPtPmS0_ijPjS1_
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Function properties for _Z15_GetHash160CompPmS_Ph
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Function properties for _Z7_ModInvPm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Function properties for _Z9CheckHashjPtPmS0_ijPjS1_
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads

As you can see, in the last there is a different error:  Function properties for _Z10CheckPointPjiiPtjS_S_

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 ... 61 »
  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!