Bitcoin Forum
November 10, 2024, 04:36:30 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [ANN] cudaMiner - a new litecoin mining application [Windows/Linux]  (Read 1375 times)
BTC_HunT3R (OP)
Newbie
*
Offline Offline

Activity: 59
Merit: 0


View Profile
January 10, 2014, 09:25:52 PM
 #1

Here's my new pet project. I started this during the easter holidays, and this uses CUDA to squeeze up to 100%  more performance out of nVidia cards - as compared to OpenCL mining applications.  Grin

Have a look at the Google Docs Spreadsheet for configuration and performance data. Please enter new data using this form.

Here is another (somewhat outdated and chaotic) Google Docs spreadsheet with some performance figures and associated configuration settings.

Please carefully inspect the README.txt file before use. Usage is pretty much identical to pooler's cpuminer


cudaminer-2013-12-18.zip [32+64bit version] (6.5 MB)
SH256 sum: 4d505804c80bd78fa1c661f74cc5d0e39f92a86f0507abc8ff2aa2b50ffba44b
ATTENTION! Fermi based devices like GTX 560, 570, 580, 590 seem to run quite hot with this release.

previous releases:

cudaminer-2013-12-10.zip [32+64bit version] (10.4 MB)
SHA256 sum: f6a9b1cfcd35867978589c2f36aaef45a16d0f57494777cb14a93366222c195a

cudaminer-2013-12-07.zip [32+64bit version] (9.5 MB)
SHA256 sum: 76dcddcf6d85cbd1ebe4acbb24497bfdae0f3ca9999694c4b152917f4559263a

cudaminer-2013-12-01.zip [32+64bit version] (10.4 MB)
SHA256 sum: dfb4f3a74e534132d397e45aae2f71933a013f557c3be4299e11759c6590b2be

cudaminer-2013-11-20.zip [Update: 32+64bit version] (11.4 MB)
SHA256 sum: 2db068884d0d5683e1b379cf8b4808f55a43b2612547757ce98a8bfe8d2fa0d4

cudaminer-2013-11-15.zip (5.1 MB)
SHA256 sum: 4d4821b0539c24b8882d00caa388e6f7aa8efb2480206e4c9dc2bc95532e3837

cudaminer-2013-11-14.zip (5.4 MB)
SHA256 sum: 5a81f97e183533683373849d73fc30b0b4d287cddb83ef327b0baba006b07c4f

cudaminer-2013-11-01.zip (5.0 MB)
SHA256 sum: 27564fdbc4c41b9d6994a03f8fd2e0a14a1d4a64f0da216b06e8810b604e4ab9

cudaminer-2013-10-10.zip (4.9 MB)
SHA256 sum: 7938965a046b84734daa4332327313b48d198d808a0cf85cb3f0a27e65260c4c

cudaminer-2013-07-13.zip (3.0 MB)
SHA256 sum: d14792ffc8fb5fc910b442d802c480f4f478fa18e2fc95736f525f97a0a9ad52

cudaminer-2013-04-30.zip (3.2 MB)  [1st update for the day: fixed 1D texture limit checking bug for S kernels]
SHA256 sum: 2d81b52e1051a4f724e75b0e84e231293809437aa060d21b2fd3b8bfc5b711f2

Let me know if this works or fails for you. Post your GPU specs and achieved kHash/sec please. Also let me know if you experience any crashes or if you have specific suggestions for improvement.

 Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin
If you find this useful, please donate a little. How about the first litecoin you successfully mine with this app? LKS1WDKGED647msBQfLBHV3Ls8sveGncnm      This is my "motivation address".
 Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin

I might be improving this a bit more during the upcoming weeks.

Required dependencies for building on Windows:
pthreads: http://sourceware.org/pthreads-win32/
OpenSSL-Win32: http://slproweb.com/download/Win32OpenSSL-1_0_1e.exe
curl-7.29.0: http://curl.haxx.se/download/curl-7.29.0.zip
or in precompiled form for Visual Studio 2010 SP1 cudaminer_vc2010_prerequisites.7z (49.3 MB)

Linux compilation is also possible now:
chmod +x configure autogen.sh     (.zip does not preserve the x bit)
./autogen.sh && ./configure && make

Better grab the sourcecode from github, as the .zip file contains has Windows style line endings in all ASCII files which you would have to convert first.
Anttonii
Newbie
*
Offline Offline

Activity: 44
Merit: 0


View Profile
January 11, 2014, 09:58:58 PM
 #2

I'm not exactly sure this board is where you are supposed to post miners..?
djm34
Legendary
*
Offline Offline

Activity: 1400
Merit: 1050


View Profile WWW
June 03, 2017, 05:11:12 PM
 #3

you definitely didn't create that. Christian Büchner did
here the original post: https://bitcointalk.org/index.php?topic=167229.0

djm34 facebook page
BTC: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze
Pledge for neoscrypt ccminer to that address: 16UoC4DmTz2pvhFvcfTQrzkPTrXkWijzXw
Eyedol-X
Hero Member
*****
Offline Offline

Activity: 952
Merit: 508



View Profile
June 03, 2017, 05:58:04 PM
 #4

Warning regarding anything posted by this account BTC_Hunt3R - https://bitcointalk.org/index.php?action=profile;u=194305

This person claims to create software that he/she did not then embeds a virus/trojan within their releases.

The last thread that was created was self moderated, I see this one is not so no hiding this time.

Current Version: 3.3.2 (June 1, 2017) - Changelog
Source tarball: https://github.com/pooler/cpuminer/releases/download/v3.1.5/pooler-cpuminer-3.1.5.tar.gz
Binaries for Windows:
https://mega.nz/#!9KpTgbzC!_Ahpm7SglspLMoNlXz8gUKqljs7bXTxP1E4Q1V2TUOo (32-bit)
https://mega.co.nz/#!2JYXHDpD!OOiFOdsh5rnvk1zhz5niXENNzbgnw1UXwmFcicBzevI  (64-bit)
Binaries for Linux:
https://github.com/pooler/cpuminer/releases/download/v3.1.5/pooler-cpuminer-3.1.5-linux-x86.tar.gz (x86)
https://github.com/pooler/cpuminer/releases/download/v3.1.5/pooler-cpuminer-3.1.5-linux-x86_64.tar.gz (x86-64)
Binaries for Mac OS X:
https://github.com/pooler/cpuminer/releases/download/v3.1.5/pooler-cpuminer-3.1.5-osx32.zip (32-bit)
https://github.com/pooler/cpuminer/releases/download/v3.1.5/pooler-cpuminer-3.1.5-osx64.zip (64-bit)





GPU Miner:
Source: https://github.com/prettyhatemachine/sph-sgminer
Windows: https://mega.co.nz/#!2JYXHDpD!OOiFOdsh5rnvk1zhz5niXENNzbgnw1UXwmFcicBzevI Trojan/Backdoor Virus - https://www.virustotal.com/en/file/67d3e1bd23e5d22e98b74b454b5cd1484f9d8d01e0526b9c66f7ff2faf09aa23/analysis/1496402979/



Basic usage examples
Code:
$ ./minerd --url=http://myminingpool.com:9332 --userpass=my.worker:password
$ ./minerd --url=stratum+tcp://myminingpool.com:3333 --userpass=my.worker:password
For more information:
Code:
$ ./minerd --help

Building instructions
Installing dependencies for building on Debian, Ubuntu and other APT-based distros:
Code:
$ sudo apt-get install build-essential libcurl4-openssl-dev
Installing dependencies for building on Fedora, RHEL, CentOS and other yum-based distros:
Code:
$ sudo yum install gcc make curl-devel
Installing dependencies for building on OpenSUSE and other ZYpp-based distros:
Code:
$ sudo zypper in gcc make libcurl-devel
Recipe for building on Linux:
Code:
$ wget http://sourceforge.net/projects/cpuminer/files/pooler-cpuminer-2.4.tar.gz
$ tar xzf pooler-cpuminer-*.tar.gz
$ cd cpuminer-*
$ ./configure CFLAGS="-O3"
$ make

FAQ / Troubleshooting

Q: Should I call this miner "cpuminer" or "minerd"?
A: The software package is called "cpuminer". "minerd" ("miner daemon") is just the name of the executable file provided by the package.

Q: My antivirus flags the Windows binary as malware.
A: That's a known false positive. More information here.

Q: Can I mine (insert your cryptocoin here) with this miner?
A: Only if its proof-of-work algorithm is scrypt or SHA-256d. This miner does not currently support other algorithms such as Keccak, scrypt-jane, X11, etc. Forks of this project may provide additional algorithms, but I do not maintain them and they are not discussed here, so if you have questions about them please contact their authors.

Q: When running configure I get the error "C compiler cannot create executables".
A: Make sure you typed CFLAGS="-O3" with a big O, not with a zero.

Q: autogen.sh dies with "error: possibly undefined macro: AC_MSG_ERROR".
Q: configure chokes on something like "LIBCURL_CHECK_CONFIG(, 7.15.2, ,'".
A: Make sure you have installed the development package for libcurl. If you have and you're still getting the error when compiling from git, try compiling from tarball instead.

Q: I'm trying to connect to a Stratum server, but I get "HTTP request failed: Empty reply from server".
A: Make sure you specified the correct protocol in the server URL (stratum+tcp://).

Q: Is there any command-line option I can play with to make it mine faster?
A: No. The miner automatically picks the best settings for the CPU it is run on.

Q: What's the difference between the two algorithms, scrypt and sha256d?
A: They are completely different proof-of-work algorithms. You must use scrypt for Litecoin, and you must use sha256d for Bitcoin. The default algorithm is scrypt, so for Bitcoin mining you have to specify --algo=sha256d.

Q: Will this miner use a lot of RAM when using the scrypt algorithm?
A: No, that's a GPU thing.

Q: How do I make the miner write its output to a file instead of printing it to the screen?
A: Just redirect the standard error stream to file:
Code:
minerd [OPTIONS] 2> myfile
You may also want to use the --quiet/-q option to disable the per-thread hashmeter.
On *nix, you probably also want to use the --background/-B option to fork in the background.


Original post (December 19, 2011) follows. Please note that most of the technical details are now outdated.

I have recently rewritten the heart of the scrypt hashing function used by the jgarzik/ArtForz cpuminer in assembly language, to see if this could bring some more speed. Apparently it did. Smiley
The source code is now available at GitHub:
https://github.com/pooler/cpuminer
The build process for Linux should be the same as before.

In the new code I tried to take full advantage of SSE2 instructions, which are available since the Pentium 4. Unfortunately, AMD's implementation of these instructions is not as fast as Intel's... well, ok, sadly it's nearly two times slower. For this reason, I had to write separate versions of the hashing functions. You don't need to worry about this, though, since the new function should be able to auto-detect your cpu and automatically select the best algorithm.

Long polling patch
This release also includes a new --timeout option that I originally added to solve a problem with long polling. Apparently the LP thread doesn't behave nicely under certain network conditions, as reported by various users. So, if you experienced high stale rates with the previous miner, you should definitely try out this new version.
Many thanks to SockPuppet, aka shawnp0wers, who helped me nail down the issue!

Some Technical Details
The current release includes four different implementations of the scrypt core, each one designed for a different hardware.
  • A fallback plain x86 version, to be used when SSE2 instructions are not available (Pentium III, Athlon XP and earlier processors).
  • A 32-bit version using SSE2, for use on the Pentium 4, Pentium M, Core, Atom, plus all 64-bit cpus running in a 32-bit OS.
  • A 64-bit version for Intel processors, i.e. Core 2, i3, i5, i7. This version can in most cases double the speed of the previous miner.
  • A 64-bit version for AMD processors, i.e. Athlon 64, Phenom, Sempron and the like. The speed increase here can range from 5% to 80%.
The first two versions only get compiled in the 32-bit miner, the last two only in the 64-bit miner. The miner uses the CPUID instruction to choose which version to use.

Compiler Flags
One cool aspect of assembly code is that users no more need to play with compiler flags to get the best performance. Configuring the build with just CFLAGS="-O3" is now more than enough to get efficient code. This also means that we no more need separate specialized binaries for Intel and AMD cpus. Just a 32-bit and a 64-bit version.

Personal Notes
Someone on IRC asked me why I am releasing this miner, instead of keeping it for myself or for my pool. Well, that's exactly the point. It is important for Litecoin that everybody has access to the most efficient mining software!
Someone might worry about the effect of this release on market prices, but consider this: if everybody starts using the new miner, the hash rate will go up, but so will difficulty, so nothing will ultimately change. I actually think this new miner will be very beneficial to Litecoin, because it should make mining easier for beginners (see compiler flags).
As crazy_rabbit wrote in another thread, one big plus of Litecoin is that everybody can participate. Well, consider this: now you can effectively mine on an Atom! Smiley

I quoted the post from the other thread

It looks like he's citing source from someone that hasn't updated since 2014 and is linking the binaries from pooler.

His download link though has nothing to do with github and is a private release.

Anyone who uses this software should beware.

Edit:
Download contains backdoor/trojan - https://www.virustotal.com/en/file/67d3e1bd23e5d22e98b74b454b5cd1484f9d8d01e0526b9c66f7ff2faf09aa23/analysis/1496402979/

QuintLeo
Legendary
*
Offline Offline

Activity: 1498
Merit: 1030


View Profile
June 03, 2017, 11:31:00 PM
 #5

you definitely didn't create that. Christian Büchner did
here the original post: https://bitcointalk.org/index.php?topic=167229.0

 Unholy necro, DJM!

 You do realise you were replying to a post that was almost 3.5 YEARS old?




I'm no longer legendary just in my own mind!
Like something I said? Donations gratefully accepted. LYLnTKvLefz9izJFUvEGQEZzSkz34b3N6U (Litecoin)
1GYbjMTPdCuV7dci3iCUiaRrcNuaiQrVYY (Bitcoin)
joblo
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
June 04, 2017, 12:57:44 AM
 #6

you definitely didn't create that. Christian Büchner did
here the original post: https://bitcointalk.org/index.php?topic=167229.0

 Unholy necro, DJM!

 You do realise you were replying to a post that was almost 3.5 YEARS old?

But he's back with another scam, this time in a self moderated thread where he can delete any posts that out him.

https://bitcointalk.org/index.php?topic=1945404.0


AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
djm34
Legendary
*
Offline Offline

Activity: 1400
Merit: 1050


View Profile WWW
June 04, 2017, 05:00:40 PM
 #7

you definitely didn't create that. Christian Büchner did
here the original post: https://bitcointalk.org/index.php?topic=167229.0

 Unholy necro, DJM!

 You do realise you were replying to a post that was almost 3.5 YEARS old?




I know but that guy started another post claiming he is pooler (now) and released a new version of pooler cpuminer

djm34 facebook page
BTC: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze
Pledge for neoscrypt ccminer to that address: 16UoC4DmTz2pvhFvcfTQrzkPTrXkWijzXw
Pages: [1]
  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!