Pages:
Author

Topic: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only) - page 40. (Read 1958260 times)

hero member
Activity: 807
Merit: 500
I would assume that glon wants to solo mine since he wanted to do it from litecoin-qt.
The Mining tab in the old Litecoin-Qt 0.6.3 also allowed pool mining.
Solo mining with a CPU at the current difficulty would be a bit of a wild goose chase, by the way. Wink
Good to know.  Even single GPU solo mining is a bit of a wild goose chase at this point.
hero member
Activity: 839
Merit: 507
I would assume that glon wants to solo mine since he wanted to do it from litecoin-qt.
The Mining tab in the old Litecoin-Qt 0.6.3 also allowed pool mining.
Solo mining with a CPU at the current difficulty would be a bit of a wild goose chase, by the way. Wink
full member
Activity: 181
Merit: 100
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.
I would assume that glon wants to solo mine since he wanted to do it from litecoin-qt.  That having been said, litecoin.conf would also need updated with options such as these:
Code:
server=1
rpcuser=Miner
rpcpassword=1234
rpcport=9332
rpcallowip=*
I don't know if this even works in the Windows Litecoin-QT distributable, but if it does, the conf file would be in the same place as the wallet.dat file.  Perhaps a link to some old bitcoin mining 101 type post would be better suited to getting him going (since the solo-configuration is essentially the same).

The guide I used does not mention this config file. And no I do not want to solo-mine... is that even a good idea?

I guess I just need some example cmd line for minerd so I will look into the first page of this topic for hints, thanks.
hero member
Activity: 807
Merit: 500
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.
I would assume that glon wants to solo mine since he wanted to do it from litecoin-qt.  That having been said, litecoin.conf would also need updated with options such as these:
Code:
server=1
rpcuser=Miner
rpcpassword=1234
rpcport=9332
rpcallowip=*
I don't know if this even works in the Windows Litecoin-QT distributable, but if it does, the conf file would be in the same place as the wallet.dat file.  Perhaps a link to some old bitcoin mining 101 type post would be better suited to getting him going (since the solo-configuration is essentially the same).
hero member
Activity: 839
Merit: 507
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.
full member
Activity: 181
Merit: 100
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!
hero member
Activity: 839
Merit: 507
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.
full member
Activity: 181
Merit: 100
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?
newbie
Activity: 5
Merit: 0
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...
hero member
Activity: 839
Merit: 507
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.
hero member
Activity: 756
Merit: 502
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.

hero member
Activity: 839
Merit: 507
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.
hero member
Activity: 756
Merit: 502

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

hero member
Activity: 798
Merit: 1000
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.
hero member
Activity: 839
Merit: 507
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.
legendary
Activity: 1792
Merit: 1008
/dev/null
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
hero member
Activity: 798
Merit: 1000
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!
hero member
Activity: 798
Merit: 1000
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
legendary
Activity: 1898
Merit: 1024
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
full member
Activity: 138
Merit: 100
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...
Pages:
Jump to: