Bitcoin Forum
March 19, 2024, 07:18:11 AM *
News: Latest Bitcoin Core release: 26.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 ... 54 »
  Print  
Author Topic: Ufasoft Miner - Windows/Linux, x86/x64, SSE2/OpenCL, Open Source  (Read 630752 times)
ufasoft (OP)
Sr. Member
****
Offline Offline

Activity: 404
Merit: 251


View Profile WWW
February 15, 2011, 03:14:08 AM
Last edit: February 19, 2015, 08:42:33 AM by ufasoft
 #1

Ufasoft Coin Miner, version 0.102 (2015-Feb).
Works under Windows and Linux with full GPL

Source Code
GitHub


Linux binaries, compiled by K1773R


Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
1710832691
Hero Member
*
Offline Offline

Posts: 1710832691

View Profile Personal Message (Offline)

Ignore
1710832691
Reply with quote  #2

1710832691
Report to moderator
1710832691
Hero Member
*
Offline Offline

Posts: 1710832691

View Profile Personal Message (Offline)

Ignore
1710832691
Reply with quote  #2

1710832691
Report to moderator
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
WSDN
Sr. Member
****
Offline Offline

Activity: 493
Merit: 250


IDENA.IO - Proof-Of-Person Blockchain


View Profile
February 15, 2011, 03:36:23 AM
 #2

hi ufasoft i have tested you version of miners in my xp 64, my result are 11.3 M/hash with 5 threads of my phenon 1055t at 3.1 ghz per core, are poor compared with these results = 14.4 M/hash with the rpcminer-4way of puddinpop. Thanks for this work and continue working i u have future versions i continue testing =)

              ▄▄▄ ▀▀▀▀▀▀▀▀▀ ▄▄▄
           ▄▀▀    ▄▄▄▄▄▄▄▄▄    ▀▀▄
        ▄▀▀  ▄▄▀█          ▀█▀▄▄  ▀▀▄
      ▄▀▀ ▄▄▀    ▀▀▄▄▄▄▄▄▄▀▀    ▀▄▄ ▀▀▄
     █   █            ▀            █   █
   ▄▀ █  ▀▄▄                     ▄█▀  █ ▀▄
  ▄▀ ▄▀ █▄ ▀▀▀██▄▄▄       ▄▄▄██▀▀  ██ ▀▄ ▀▄
  ▀▄▀▀▄ ██ ▄▄▄▄▄▄  ▀▄   ▄▀  ▄▄▄▄▄▄ ██ ▄▀▀▄▀
 ██   █ ██ ▀▄    ▀▄ █   █ ▄▀    ▄▀ ██ █  ▀██
 █  ▄█  ▀█  ▀▀▀▀▀▀▀ █   █ ▀▀▀▀▀▀▀  █   █▄  █
█▀ █  █  █          █   █          █  █  █ ▀▀
 █▀  ▄▀  █▀▄        █   █        ▄▀█  ▀▄  ▀█
 ▄  █▀   █ ▀█▄      ▀   ▀      ▄█▀ █  ▄▀█  ▄
 █▄▀  █  █                         █  █  ▀▄█
 ▀▄  █   ▀█        ▄▄▀▄▀▄▄        █▀   █  ▄
  ▀▄▀▀  █▄ █     ▀█  ▀▀▀  █▀     █ ▄█ ▄▀▀▄▀
   ▀ ▄  ██ █▀▄     ▀▀▄▄▄▀▀     ▄▀█ ██ ▀▄ ▀
    ▀█  ██ █ █▀▄    ▄▄▄▄▄    ▄▀█ █ ██  █▀
      ▀▄ ▀ █ █ ██▄         ▄██ █ █ ▀ ▄▀
        ▀▄ █ █ █ ▀█▄     ▄█▀ █ █ █ ▄▀
          ▀▀▄█ █    ▀▀▀▀▀    █ █▄▀▀
              ▀▀ ▄▄▄▄▄▄▄▄▄▄▄ ▀▀
   
I  D  E  N  A
   
Proof-of-Person Blockchain

Join the mining of the first human-centric
cryptocurrency
 



 
▲    2 6 8 0

N  O  D  E  S
   
                ██
                ██
                ██
                ██
                ██
         ▄      ██      ▄
         ███▄   ██   ▄███
          ▀███▄ ██ ▄███▀
            ▀████████▀
              ▀████▀
                ▀▀
██▄                            ▄██
███                            ███
███                            ███
███                            ███
 ███▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄███
  ▀▀██████████████████████████▀▀
   
D O W N L O A D

Idena node

   
   
▄▄▄██████▄▄▄
▄▄████████████████▄▄
▄█████▀▀        ▀▀█████▄
████▀                ▀████
███▀    ▄▄▄▄▄▄▄▄▄       ▀███
███      █   ▄▄ █▀▄        ███
██▀      █  ███ █  ▀▄      ▀██
███       █   ▀▀ ▀▀▀▀█       ███
███       █  ▄▄▄▄▄▄  █       ███
███       █  ▄▄▄▄▄▄  █       ███
██▄      █  ▄▄▄▄▄▄  █      ▄██
███      █          █      ███
███▄    ▀▀▀▀▀▀▀▀▀▀▀▀    ▄███
████▄                ▄████
▀█████▄▄        ▄▄█████▀
▀▀████████████████▀▀
▀▀▀██████▀▀▀
   
    ███





███

REQUEST INVITATION
███
  █
  █
  █
  █
  █
███
ufasoft (OP)
Sr. Member
****
Offline Offline

Activity: 404
Merit: 251


View Profile WWW
February 15, 2011, 03:59:43 AM
 #3

Do you use some custom compilation of "rpcminer-4way.exe"?

Precompiled binaries from http://www.mediafire.com/file/e39ygb9hbiesb09/bitcoin-rpcminer-20110213-win32bin.zip
on my Core Quad 2.33 shows with 4 miner threads:
2462 khash/s


It's very strange

Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
bitjet
Hero Member
*****
Offline Offline

Activity: 696
Merit: 500



View Profile
February 15, 2011, 04:58:08 AM
Last edit: February 15, 2011, 02:30:26 PM by bitjet
 #4

ok with the RCPMINER-CPU.EXE miner I was showing about 4500khash/s

With this app I am showing 10.8-11mhash/s

Is this DOUBLE what I was getting with the RCP or am I just mathematically challenged??
ufasoft (OP)
Sr. Member
****
Offline Offline

Activity: 404
Merit: 251


View Profile WWW
February 15, 2011, 11:05:18 AM
 #5

bitjet

rpcminer-cpu.exe is usual CPU miner. More interesting what are your results with rpcminer-4way.exe ?
It uses SSE2 too (as bitcoin-miner.exe).


Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
Raulo
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
February 15, 2011, 12:29:12 PM
 #6

Performance: 2.3 MHash/s per core on 2.3 GHz CPU [1000 CPU cycles per hash]

What architecture? It will be excellent for Intel Core, Core2 or Core i3-7 and old Athlons K8 but not impressive for Athlons K10.

1HAoJag4C3XtAmQJAhE9FTAAJWFcrvpdLM
bitjet
Hero Member
*****
Offline Offline

Activity: 696
Merit: 500



View Profile
February 15, 2011, 02:30:45 PM
 #7

bitjet

rpcminer-cpu.exe is usual CPU miner. More interesting what are your results with rpcminer-4way.exe ?
It uses SSE2 too (as bitcoin-miner.exe).



Im not exactly sure how to use the 4 way.
ufasoft (OP)
Sr. Member
****
Offline Offline

Activity: 404
Merit: 251


View Profile WWW
February 15, 2011, 02:46:43 PM
 #8

Performance: 2.3 MHash/s per core on 2.3 GHz CPU [1000 CPU cycles per hash]

What architecture? It will be excellent for Intel Core, Core2 or Core i3-7 and old Athlons K8 but not impressive for Athlons K10.

Core 2 Quad

Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
WSDN
Sr. Member
****
Offline Offline

Activity: 493
Merit: 250


IDENA.IO - Proof-Of-Person Blockchain


View Profile
February 15, 2011, 04:46:16 PM
 #9

i am using the 4way miner http://bitcointalk.org/index.php?topic=2444.0

              ▄▄▄ ▀▀▀▀▀▀▀▀▀ ▄▄▄
           ▄▀▀    ▄▄▄▄▄▄▄▄▄    ▀▀▄
        ▄▀▀  ▄▄▀█          ▀█▀▄▄  ▀▀▄
      ▄▀▀ ▄▄▀    ▀▀▄▄▄▄▄▄▄▀▀    ▀▄▄ ▀▀▄
     █   █            ▀            █   █
   ▄▀ █  ▀▄▄                     ▄█▀  █ ▀▄
  ▄▀ ▄▀ █▄ ▀▀▀██▄▄▄       ▄▄▄██▀▀  ██ ▀▄ ▀▄
  ▀▄▀▀▄ ██ ▄▄▄▄▄▄  ▀▄   ▄▀  ▄▄▄▄▄▄ ██ ▄▀▀▄▀
 ██   █ ██ ▀▄    ▀▄ █   █ ▄▀    ▄▀ ██ █  ▀██
 █  ▄█  ▀█  ▀▀▀▀▀▀▀ █   █ ▀▀▀▀▀▀▀  █   █▄  █
█▀ █  █  █          █   █          █  █  █ ▀▀
 █▀  ▄▀  █▀▄        █   █        ▄▀█  ▀▄  ▀█
 ▄  █▀   █ ▀█▄      ▀   ▀      ▄█▀ █  ▄▀█  ▄
 █▄▀  █  █                         █  █  ▀▄█
 ▀▄  █   ▀█        ▄▄▀▄▀▄▄        █▀   █  ▄
  ▀▄▀▀  █▄ █     ▀█  ▀▀▀  █▀     █ ▄█ ▄▀▀▄▀
   ▀ ▄  ██ █▀▄     ▀▀▄▄▄▀▀     ▄▀█ ██ ▀▄ ▀
    ▀█  ██ █ █▀▄    ▄▄▄▄▄    ▄▀█ █ ██  █▀
      ▀▄ ▀ █ █ ██▄         ▄██ █ █ ▀ ▄▀
        ▀▄ █ █ █ ▀█▄     ▄█▀ █ █ █ ▄▀
          ▀▀▄█ █    ▀▀▀▀▀    █ █▄▀▀
              ▀▀ ▄▄▄▄▄▄▄▄▄▄▄ ▀▀
   
I  D  E  N  A
   
Proof-of-Person Blockchain

Join the mining of the first human-centric
cryptocurrency
 



 
▲    2 6 8 0

N  O  D  E  S
   
                ██
                ██
                ██
                ██
                ██
         ▄      ██      ▄
         ███▄   ██   ▄███
          ▀███▄ ██ ▄███▀
            ▀████████▀
              ▀████▀
                ▀▀
██▄                            ▄██
███                            ███
███                            ███
███                            ███
 ███▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄███
  ▀▀██████████████████████████▀▀
   
D O W N L O A D

Idena node

   
   
▄▄▄██████▄▄▄
▄▄████████████████▄▄
▄█████▀▀        ▀▀█████▄
████▀                ▀████
███▀    ▄▄▄▄▄▄▄▄▄       ▀███
███      █   ▄▄ █▀▄        ███
██▀      █  ███ █  ▀▄      ▀██
███       █   ▀▀ ▀▀▀▀█       ███
███       █  ▄▄▄▄▄▄  █       ███
███       █  ▄▄▄▄▄▄  █       ███
██▄      █  ▄▄▄▄▄▄  █      ▄██
███      █          █      ███
███▄    ▀▀▀▀▀▀▀▀▀▀▀▀    ▄███
████▄                ▄████
▀█████▄▄        ▄▄█████▀
▀▀████████████████▀▀
▀▀▀██████▀▀▀
   
    ███





███

REQUEST INVITATION
███
  █
  █
  █
  █
  █
███
Cerebrum
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
February 15, 2011, 07:54:09 PM
 #10

So, how about the rest of the source code? I'd like to build this for linux to see how it runs there.

EDIT: Seems to give a large number of NOT ACCEPTED results when using this with slush's pool. I know that jgarzik's will only ocmpute a certain number of hashes before returning the "I couldn't find anything" result to be sure that the result is returned in a reasonable amount of time. Does this employ the same tactic?
jgarzik
Legendary
*
Offline Offline

Activity: 1596
Merit: 1091


View Profile
February 15, 2011, 08:54:55 PM
 #11


Is this faster than cpuminer?

Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
ufasoft (OP)
Sr. Member
****
Offline Offline

Activity: 404
Merit: 251


View Profile WWW
February 15, 2011, 09:09:00 PM
 #12

So, how about the rest of the source code? I'd like to build this for linux to see how it runs there.

I know that jgarzik's will only ocmpute a certain number of hashes before returning the "I couldn't find anything" result to be sure that the result is returned in a reasonable amount of time. Does this employ the same tactic?

Source code is not secret, but it uses WinInet API, and cannot be directly recompiled.

Tactic is following:
Now "getwork period" == 30 sec is hardcoded, and each thread takes portions by "4*1024*1024 nonces". After trying aver 3 millions nonces thread chexk timeout (30 sec). and takes another portion of nonces or request new "GETWORK".

Probably 30 sec is very long period and is the reason of "Not accepted" results.
I have tested it with Pool http://mining.bitcoin.cz/.


Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
Cerebrum
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
February 15, 2011, 10:05:56 PM
 #13

I tested it with the same pool. I'd suggest making the time somewhat shorter and/or having the algorithm only check as many hashes as it can do in a certain time similar to jgarzik's miner. If you could post the rest of the code, I would be much obliged. I'll start looking at how it might be ported to linux, since given the 50% performance improvement using your kernel, I'd like to get that being used on all my machines as soon as possible.
jgarzik
Legendary
*
Offline Offline

Activity: 1596
Merit: 1091


View Profile
February 15, 2011, 10:23:25 PM
 #14

According to the license, the code is public domain, so perhaps somebody might want to integrate this into cpuminer itself ;-)

Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
ufasoft (OP)
Sr. Member
****
Offline Offline

Activity: 404
Merit: 251


View Profile WWW
February 15, 2011, 10:31:52 PM
 #15

If you could post the rest of the code,

More  sources was added to archive:
http://ufasoft.com/files/open/bitcoin-miner.zip

It still don't include some framework classes, like String, DateTime.... they have obvious implementation, but uploading them will require me to check many dependencies between my sources.

Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
theGECK
Sr. Member
****
Offline Offline

Activity: 411
Merit: 250



View Profile
February 15, 2011, 10:34:17 PM
 #16

ufasoft, thank you very much for this! I went from 1.5-1.9MHash/s, to 5.5-5.9MHash/s. I have a Core2Duo E7600 3.06GHz, and doubling the hash rate without any performance impact (so far) is incredible. Do you have an address I could send a BTC to as a thank you?

Use my referral codes for Bitcoin faucets and I'll send you 30% of my referral bonus - Win/Win! PM for details on all sites available or use one of the links here.

FreeBitco.in | FreeDoge.co.in
xenon481
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile
February 15, 2011, 11:12:32 PM
 #17

Yes, thank you! I went from ~1.8MHash/sec to ~4.1MHash/sec on one of my old spare computers.

It's running a Core2 Duo 2.2Ghz.

Tips Appreciated: 171TQ2wJg7bxj2q68VNibU75YZB22b7ZDr
Cerebrum
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
February 16, 2011, 12:52:50 AM
Last edit: February 16, 2011, 01:44:16 AM by Cerebrum
 #18

According to the license, the code is public domain, so perhaps somebody might want to integrate this into cpuminer itself ;-)

I'd love to bro. I'll take a look at his control code and see where it differs from yours, and then see what I can do with integrating the two systems for maximum positive effect.

EDIT: Someone else had better do this. I know very little about cryptography, so I'm not sure how to change it without screwing up the program flow. I'll try it, but it's by no means guaranteed to work.
foo
Sr. Member
****
Offline Offline

Activity: 409
Merit: 250



View Profile
February 16, 2011, 01:21:06 AM
 #19

Seems to not work so well for AMD processors?

Results on an AMD Sempron 3100+ (1.8 GHz):

jgarzik's miner: about 770 khash/sec
ufasoft's miner: "average Rate: 0.62 MHash/s"

I know this because Tyler knows this.
ufasoft (OP)
Sr. Member
****
Offline Offline

Activity: 404
Merit: 251


View Profile WWW
February 16, 2011, 01:52:33 AM
 #20

Quote
I'd love to bro. I'll take a look at his control code and see where it differs from yours, and then see what I can do with integrating the two systems for maximum positive effect.

most important differences are in file bitcoin-sha256.h:
1. I precalculate first 3 SHA-256 rounds, because their results don't change on every iteration. and I skip last 3 rounds, because we need not them to calc last 32-bit word of hash [h word].

2. I use _mm_andnot_si128()  to calc expresssions (~a & b)

3. I don't unfold SHA-256 loop. I think CPU can predict loop jumps very good.


Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
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 ... 54 »
  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!