Pages:
Author

Topic: VanitySearch (Yet another address prefix finder) - page 37. (Read 32966 times)

legendary
Activity: 3696
Merit: 2219
💲🏎️💨🚓
Is there a windows walk through please?
sr. member
Activity: 462
Merit: 701
Hi,

What was the main reason for performance increase?

I optimized a bit the GPU code for compressed key, GPU/GPUHash.h and GPU/GPUCompute.h.
More or less, I factored a bit the HASH calculation of symmetric keys and I added some _synchthreads() in order to try to keep a best synchronization between threads. This gives me a ~5% performance increase on my hardware.

please tell me how to run on radeon rx 570?

VanitySearch supports only CUDA.

Something does not suit me here...
In the original version - four GPU's gave me a score of 6800-7000Mkeys/s.
Current version - keeping the same settings (I only replaced the .exe file) shows 42000-43000Mkeys/s.

This is not possible, especially since the prefix discovery speed has not changed and the GPUs in NVIDIA-SMI themselves show power consumption instead of 240-250W, now 190-200W.

You mean 1.16 gives  6800-7000Mkeys/s and 1.17  42000-43000Mkeys/s ?
Did you wait a bit in order to stabilize the key rate measurement ?
Could you give me your grid size(s) ?
full member
Activity: 282
Merit: 114
Something does not suit me here...
In the original version - four GPU's gave me a score of 6800-7000Mkeys/s.
Current version - keeping the same settings (I only replaced the .exe file) shows 42000-43000Mkeys/s.

This is not possible, especially since the prefix discovery speed has not changed and the GPUs in NVIDIA-SMI themselves show power consumption instead of 240-250W, now 190-200W.
sr. member
Activity: 443
Merit: 350
-snip-
-Slight performance increase (compressed key only) GPU
-snip-

What was the main reason for performance increase?
newbie
Activity: 21
Merit: 0
Hi there,

A new release is available (1.17):
-Slight performance increase (compressed key only) GPU
-Fixed counting bug for large grid size

Thanks to test it
Have fun Smiley


please tell me how to run on radeon rx 570?
sr. member
Activity: 462
Merit: 701
Hi there,

A new release is available (1.17):
-Slight performance increase (compressed key only) GPU
-Fixed counting bug for large grid size

Thanks to test it
Have fun Smiley
jr. member
Activity: 41
Merit: 1
@Jean_Luc , btw..

yeah I can search all keys in 3 days Smiley

this is with 1.16

Vanitysearch.exe -b -t 0 -gpu -gpuId 0,1 -g 1088,512,1088,512 -r 10000000 -o found_0.txt -i in.txt

[4544125350086.37 Mkey/s][GPU 4544125350086.37 Mkey/s][Total 2^64.00][Prob 0.0%][50% in 7.06916e+21y][Found 0]

544,512,544,512 still shows korrekt MKeys

Huh

just a bug.. its showing 45000 Trillion Key per second
sr. member
Activity: 462
Merit: 701
lol  Smiley
What a grid size ! Grin

Seems an integer overflow.

If you manage to compile, could you try to change:

Vanity.cpp: 1565
      counters[thId] += 6 * STEP_SIZE * nbThread; // Point +  endo1 + endo2 + symetrics
by
      counters[thId] += 6ULL * STEP_SIZE * nbThread; // Point +  endo1 + endo2 + symetrics

This should be enough.
jr. member
Activity: 41
Merit: 1
@Jean_Luc , btw..

yeah I can search all keys in 3 days Smiley

this is with 1.16

Vanitysearch.exe -b -t 0 -gpu -gpuId 0,1 -g 1088,512,1088,512 -r 10000000 -o found_0.txt -i in.txt

[4544125350086.37 Mkey/s][GPU 4544125350086.37 Mkey/s][Total 2^64.00][Prob 0.0%][50% in 7.06916e+21y][Found 0]

544,512,544,512 still shows korrekt MKeys
jr. member
Activity: 41
Merit: 1
@Jean_Luc


no, 1.15 and 1.16 both do NOT work.. same error when loading lists..

will try with your exe though.. one moment...

what the hell.. im not getting errors on 5 or 6 when using your exe.. could only test for a minute though.. sometimes it took longer to crash

is my compile env gone haywire? I compiled 5 and a few days later 6 with VS19 and only changed the target to my cuda 10.2 env.. was there some change from 10.0?
(ps: no, no compile errors or anything.. just straight forward..)

... will test tonight...
sr. member
Activity: 462
Merit: 701
There is only few changes since the 1.14.
Does the 1.15 works also ?
I can imagine that a bug has been introduced with the dynamic grid size in 1.16 but in 1.15 there is only a change that concern P2SH and BECH32 addresses...

You can show changes by looking there:
https://github.com/JeanLucPons/VanitySearch/releases
jr. member
Activity: 41
Merit: 1
@Jean_Luc , you are right, 1.14 is working fine... do you have an actual changelog somewhere?
sr. member
Activity: 462
Merit: 701
So do you think that the standard 18.04 distro will work for GPU? Or would I need to install some specific CUDA software for 18.04?

I think it will work but effectively you may need to install specific CUDA software.
jr. member
Activity: 36
Merit: 14
My impression is that 18.04 is required for Vanity Search.

I don't kwon, I'm using ubuntu 18.04.2 LTS with an old quadro and it is working well except that I had to repatch again the cuda driver in order to make it work (quite a nightmare) following a kernel update. Kernel maintainers has again beautified the code breaking the backward compatibility by removing and changing some kernel functions. pfff....



So do you think that the standard 18.04 distro will work for GPU? Or would I need to install some specific CUDA software for 18.04?

I know it works for CPU (as long as you install g++).
sr. member
Activity: 462
Merit: 701
My impression is that 18.04 is required for Vanity Search.

I don't kwon, I'm using ubuntu 18.04.2 LTS with an old quadro and it is working well except that I had to repatch again the cuda driver in order to make it work (quite a nightmare) following a kernel update. Kernel maintainers has again beautified the code breaking the backward compatibility by removing and changing some kernel functions. pfff....

jr. member
Activity: 36
Merit: 14
In terms of GPU:

My impression is that 18.04 is required for Vanity Search. Is there a particular model of NVIDIA / CUDA that you (or anyone) would recommend?

From the NVIDIA site the options for Ubuntu 18.04 are:

    10.2-base, 10.2-base-ubuntu18.04 (10.2/base/Dockerfile)

    10.2-runtime, 10.2-runtime-ubuntu18.04 (10.2/runtime/Dockerfile)

    10.2-cudnn7-runtime, 10.2-cudnn7-runtime-ubuntu18.04 (10.2/runtime/cudnn7/Dockerfile)
    latest,

    10.2-devel, 10.2-devel-ubuntu18.04 (10.2/devel/Dockerfile)

    10.2-cudnn7-devel, 10.2-cudnn7-devel-ubuntu18.04 (10.2/devel/cudnn7/Dockerfile)

Thanks - again!
sr. member
Activity: 462
Merit: 701
How do I configure the -g option? Huh Tell us more.

By default VanitySearch takes 8*(MP number),128 for the grid size.
You can set it up using -g (you need the last release for setting 2D grid size)
ex:
VanitySearch.exe -t 0 -gpu -g 48,256 1TestMe (with a single GPU)
VanitySearch.exe -t 0 -gpu -gpuId 0,1 -g 48,256,64,512 1TestMe (with 2 GPU)

It is good to take the first value as a multiple of the multiprocessor count and the second as a power of 2.
The number of multiprocessor is given with:

VanitySearch.exe -l
GPU #0 GeForce GTX 645 (3x192 cores) (Cap 3.0) (1024.0 MB) (Multiple host threads)

Here 3 is the number of multiprocessor.
newbie
Activity: 8
Merit: 0
If you are using a GPU, play a bit with the -g option in order to adjust your grid size for best performance.

Yes the input file is just a list of prefix to search.
Ex:
Code:
1Pierre
1PauL
1Jacques

People who use hundreds (even millions) of entries likely search for full addresses.


How do I configure the -g option? Huh Tell us more.
jr. member
Activity: 41
Merit: 1
Hey
@Jean_Luc

I tried my own (new) 2080 Ti.. the same...


@all:

is there anyone with a 2080 Ti or two where this is working with address lists?
jr. member
Activity: 36
Merit: 14
If you are using a GPU, play a bit with the -g option in order to adjust your grid size for best performance.

Yes the input file is just a list of prefix to search.
Ex:
Code:
1Pierre
1PauL
1Jacques

People who use hundreds (even millions) of entries likely search for full addresses.



Thanks - I'm trying this now.

That seems much quicker!
Pages:
Jump to: