Bitcoin Forum
April 24, 2024, 08:53:10 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 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 »
  Print  
Author Topic: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only)  (Read 1958264 times)
Ljubisa
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
July 03, 2013, 02:23:01 PM
 #601

tnx, the / was the problem Smiley
1713991990
Hero Member
*
Offline Offline

Posts: 1713991990

View Profile Personal Message (Offline)

Ignore
1713991990
Reply with quote  #2

1713991990
Report to moderator
"I'm sure that in 20 years there will either be very large transaction volume or no volume." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
pooler (OP)
Hero Member
*****
Offline Offline

Activity: 838
Merit: 507


View Profile
July 03, 2013, 02:23:36 PM
 #602

Is it possible to add Intel Xeon Phi support (MIC architecture)?
Thanks!
If you or someone else can give me access to the hardware, I might try to give it a go.

BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
jedimstr
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000



View Profile
July 04, 2013, 01:34:08 PM
 #603

I'm having a problem with minerd not able to connect to a stratum pool behind a corporate proxy. I can connect to a different longpoll pool fine using the proxy settings but stratum+tcp fails. The same stratum settings work fine outside the Corp proxy on my other mining boxes.

Are the proxy settings only configured to work when you aren't using stratum?

pooler (OP)
Hero Member
*****
Offline Offline

Activity: 838
Merit: 507


View Profile
July 04, 2013, 02:14:00 PM
 #604

I'm having a problem with minerd not able to connect to a stratum pool behind a corporate proxy. I can connect to a different longpoll pool fine using the proxy settings but stratum+tcp fails. The same stratum settings work fine outside the Corp proxy on my other mining boxes.

Are the proxy settings only configured to work when you aren't using stratum?
You can't use Stratum with a HTTP proxy because Stratum does not operate over HTTP, but you can use a SOCKS4/5 proxy.
For further assistance, please specify the type of proxy and the exact command-line arguments you have tried.

BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
3dcgminer
Full Member
***
Offline Offline

Activity: 138
Merit: 100


View Profile
July 04, 2013, 02:39:40 PM
 #605

Is it possible to add Intel Xeon Phi support (MIC architecture)?
Thanks!
If you or someone else can give me access to the hardware, I might try to give it a go.

Maybe a good chance is to meet up with the Intel folks in San Franscisco at the IDF thing, maybe they arrange developer boards:
http://www.intel.com/content/www/us/en/intel-developer-forum-idf/san-francisco/2013/idf-2013-san-francisco.html

Either way, they should treat you like a star and throw CPU's, Xeon Phi boards and other goodies at you, considering that you are the reason for upgrading CPUs/GPUs...
reb0rn21
Legendary
*
Offline Offline

Activity: 1896
Merit: 1024


View Profile
July 04, 2013, 10:29:11 PM
Last edit: July 05, 2013, 12:08:29 AM by reb0rn21
 #606

I just tested haswell optimized minerd and speed up is almost 100% Smiley
getting ~80khash/s at 3.5Ghz i5 haswell

Some dump question, could also HD4600 be used and their intel opencl? Wink

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

Join the mining of the first human-centric
cryptocurrency
 



 
▲    2 3 2 2

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

Idena node

   
   
▄▄▄██████▄▄▄
▄▄████████████████▄▄
▄█████▀▀        ▀▀█████▄
████▀                ▀████
███▀    ▄▄▄▄▄▄▄▄▄       ▀███
███      █   ▄▄ █▀▄        ███
██▀      █  ███ █  ▀▄      ▀██
███       █   ▀▀ ▀▀▀▀█       ███
███       █  ▄▄▄▄▄▄  █       ███
███       █  ▄▄▄▄▄▄  █       ███
██▄      █  ▄▄▄▄▄▄  █      ▄██
███      █          █      ███
███▄    ▀▀▀▀▀▀▀▀▀▀▀▀    ▄███
████▄                ▄████
▀█████▄▄        ▄▄█████▀
▀▀████████████████▀▀
▀▀▀██████▀▀▀
   
    .REQUEST INVITATION.
jedimstr
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000



View Profile
July 05, 2013, 02:12:28 AM
 #607

You can't use Stratum with a HTTP proxy because Stratum does not operate over HTTP, but you can use a SOCKS4/5 proxy.
For further assistance, please specify the type of proxy and the exact command-line arguments you have tried.

Unfortunately our corp proxy only (officially) supports HTTP/HTTPS over Port 80.  The Stratum server I'm trying to connect to also supports Port 80, but like you said, stratum+tcp isn't http, so... Maybe I'll have to setup some convoluted tunneled connection to an outside box just to get this to work.

Thanks

jedimstr
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000



View Profile
July 05, 2013, 09:19:47 AM
 #608

Is there a way to specify a separate logfile on the Mac instead of the syslog?  There's so much crap going through there that it's almost useless to tail it. I already know about the Console app and using the search field to filter, but would rather have a running tail on the terminal when I need.

Thanks!

K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
July 05, 2013, 09:32:38 AM
 #609

Is there a way to specify a separate logfile on the Mac instead of the syslog?  There's so much crap going through there that it's almost useless to tail it. I already know about the Console app and using the search field to filter, but would rather have a running tail on the terminal when I need.

Thanks!
why dont you use screen? otherwise just pipe the output to a file

[GPG Public Key]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
pooler (OP)
Hero Member
*****
Offline Offline

Activity: 838
Merit: 507


View Profile
July 05, 2013, 09:33:39 AM
 #610

Is there a way to specify a separate logfile on the Mac instead of the syslog?
You can redirect stderr to a file:
Code:
minerd [OPTIONS] 2> /path/to/myfile
This should also work when used in conjunction with the --background option.

BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
jedimstr
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000



View Profile
July 05, 2013, 11:12:58 AM
 #611

Is there a way to specify a separate logfile on the Mac instead of the syslog?
You can redirect stderr to a file:
Code:
minerd [OPTIONS] 2> /path/to/myfile
This should also work when used in conjunction with the --background option.
.  Thanks! Will try that.

cbuchner1
Hero Member
*****
Offline Offline

Activity: 756
Merit: 502


View Profile
July 06, 2013, 11:33:05 AM
 #612


Hi, I've created a fork of the cpuminer repo, in preparation for making a cudaMiner version that supports Stratum. I've disabled all the 4way, 3way and 8way codes, so now my AMD Phenom X6 will just use the slow scalar code, making 10khash/s with scrypt on all 6 CPU cores.

Has the scalar code been tested recently? When running this against the coinotron stratum server, the code now submits a lot of results, and all of them return "boo!" . This is puzzling: at 10 kHash/s I would not expect that many hashes to be submitted (in the order of 5-10 per minute). As far as I know, coinotron is not a vardiff server.

Has the non-vectorized hashing code been tested recently?

This probem could be a result of my Visual C++ porting work, but it could also be an issue lingering in the original cpuminer code repo.


Christian

pooler (OP)
Hero Member
*****
Offline Offline

Activity: 838
Merit: 507


View Profile
July 06, 2013, 12:15:30 PM
Last edit: July 06, 2013, 05:24:41 PM by pooler
 #613

Hi, I've created a fork of the cpuminer repo, in preparation for making a cudaMiner version that supports Stratum. I've disabled all the 4way, 3way and 8way codes, so now my AMD Phenom X6 will just use the slow scalar code, making 10khash/s with scrypt on all 6 CPU cores.

Has the scalar code been tested recently? When running this against the coinotron stratum server, the code now submits a lot of results, and all of them return "boo!" . This is puzzling: at 10 kHash/s I would not expect that many hashes to be submitted (in the order of 5-10 per minute). As far as I know, coinotron is not a vardiff server.

To be on the safe side I've tested it on my own Phenom X6, and it seems to be working. Hash rate is about 16 kh/s, as opposed to 32 kh/s for the optimized version.
It doesn't work on Coinotron, though, because their Stratum server has a bug and doesn't communicate difficulty properly to miners (more info here).

UPDATE: Coinotron has now fixed the difficulty bug.

BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
cbuchner1
Hero Member
*****
Offline Offline

Activity: 756
Merit: 502


View Profile
July 06, 2013, 09:56:24 PM
 #614

Yes, I can confirm i am no longer getting boo'ed at. Wink   So I will be able to add my CUDA support soon into your excellent cpuminer. Thank you for the valuable information I received from you today.

pooler (OP)
Hero Member
*****
Offline Offline

Activity: 838
Merit: 507


View Profile
July 10, 2013, 02:39:03 PM
 #615

Version 2.3.2

  • This version includes new AVX2-specific scrypt and SHA-256d routines, which bring an 85%+ speedup to the new Intel Haswell processors. I have tested the new code on a Core i7 4770 (4 cores, 8 threads, 3.4 GHz), and the results seem pretty good: over 95 kh/s for scrypt, and over 50 MH/s for SHA-256d.
  • No speed improvements for non-Haswell processors.
  • The output stream is now flushed after every log message in order to avoid possible delays on Windows.
  • Fixed an undefined-behavior bug in the Stratum code. This could cause crashes, hash miscalculation or no problem at all, depending on the compiler used to build the miner.

The source code is, as always, available at GitHub. Source tarball and binaries are available at Sourceforge.

BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
Mysik86
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
July 11, 2013, 05:38:20 AM
 #616

I must say, that the download don't work on the Windows files... I don't know if this is sourceforge error or something, but please FIX it...
glon
Full Member
***
Offline Offline

Activity: 181
Merit: 100


View Profile
July 11, 2013, 09:31:35 AM
 #617

Maybe someone cal help?

I'm on Win7 x64, downloaded the latest 64bit bnaries, copied to c:\Program Files (x86)\Litecoin\ according to this giude:

http://paulrausch.com/bitcoin/complete-idiots-guide-to-mining-litecoin-on-a-home-pc/

But I'm still not seeing a Mining button in my Litecoin-Qt wallet. Am I doing something wrong?
pooler (OP)
Hero Member
*****
Offline Offline

Activity: 838
Merit: 507


View Profile
July 11, 2013, 05:18:40 PM
 #618

I must say, that the download don't work on the Windows files... I don't know if this is sourceforge error or something, but please FIX it...
A couple of Windows users reported what is probably the same issue over a month ago: https://github.com/pooler/cpuminer/issues/21
Two other Windows users I asked said they could download the archives and run the miner with no problem at all, though, so I closed the issue when the original reporter stopped answering my questions.
For what it's worth, I have no problem accessing the files hosted at Sourceforge, so I'd be grateful if you could provide some more detail. Operating system, browser information, and what error you get exactly would be a good start.
Please also try to download the files from this page and see if there's any difference.

I'm on Win7 x64, downloaded the latest 64bit bnaries, copied to c:\Program Files (x86)\Litecoin\ according to this giude:
http://paulrausch.com/bitcoin/complete-idiots-guide-to-mining-litecoin-on-a-home-pc/
But I'm still not seeing a Mining button in my Litecoin-Qt wallet. Am I doing something wrong?
The latest versions of Litecoin-Qt have removed the Mining tab. If you want to use cpuminer, you can run minerd from the command line, or make a batch file for it. There used to be a graphical frontend, ScryptMiner GUI, but it's currently unmaintained, so I'd advise against it.

BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
glon
Full Member
***
Offline Offline

Activity: 181
Merit: 100


View Profile
July 11, 2013, 05:20:36 PM
 #619

I must say, that the download don't work on the Windows files... I don't know if this is sourceforge error or something, but please FIX it...
A couple of Windows users reported what is probably the same issue over a month ago: https://github.com/pooler/cpuminer/issues/21
Two other Windows users I asked said they could download the archives and run the miner with no problem at all, though, so I closed the issue when the original reporter stopped answering my questions.
For what it's worth, I have no problem accessing the files hosted at Sourceforge, so I'd be grateful if you could provide some more detail. Operating system, browser information, and what error you get exactly would be a good start.
Please also try to download the files from this page and see if there's any difference.

I'm on Win7 x64, downloaded the latest 64bit bnaries, copied to c:\Program Files (x86)\Litecoin\ according to this giude:
http://paulrausch.com/bitcoin/complete-idiots-guide-to-mining-litecoin-on-a-home-pc/
But I'm still not seeing a Mining button in my Litecoin-Qt wallet. Am I doing something wrong?
The latest versions of Litecoin-Qt have removed the Mining tab. If you want to use cpuminer, you can run minerd from the command line, or make a batch file for it. There used to be a graphical frontend, ScryptMiner GUI, but it's currently unmaintained, so I'd advise against it.

Ah OK, that explains it then. Can you please point me in the right direction to run minerd from the cmd line? Many thanks!
pooler (OP)
Hero Member
*****
Offline Offline

Activity: 838
Merit: 507


View Profile
July 11, 2013, 05:26:42 PM
 #620

Ah OK, that explains it then. Can you please point me in the right direction to run minerd from the cmd line? Many thanks!
I don't use Windows, so I can't tell you what you have to do step by step, but you probably want to create a batch (.bat) file and write the command to start the miner in it, complete with all the options you want. There are basic usage examples in the first post.

BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
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 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 »
  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!