Bitcoin Forum
May 05, 2024, 09:20:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2] 3 »  All
  Print  
Author Topic: CUDA Optimalized BTC miner for NVIDIA cards  (Read 7694 times)
Devnant
Member
**
Offline Offline

Activity: 118
Merit: 10


View Profile
May 28, 2013, 04:50:27 PM
 #21

Hey man! Very interested in testing your code on a GTX TITAN!

Game is my life
1714944011
Hero Member
*
Offline Offline

Posts: 1714944011

View Profile Personal Message (Offline)

Ignore
1714944011
Reply with quote  #2

1714944011
Report to moderator
1714944011
Hero Member
*
Offline Offline

Posts: 1714944011

View Profile Personal Message (Offline)

Ignore
1714944011
Reply with quote  #2

1714944011
Report to moderator
"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714944011
Hero Member
*
Offline Offline

Posts: 1714944011

View Profile Personal Message (Offline)

Ignore
1714944011
Reply with quote  #2

1714944011
Report to moderator
1714944011
Hero Member
*
Offline Offline

Posts: 1714944011

View Profile Personal Message (Offline)

Ignore
1714944011
Reply with quote  #2

1714944011
Report to moderator
gourmet
Sr. Member
****
Offline Offline

Activity: 311
Merit: 250


View Profile
May 28, 2013, 05:01:57 PM
 #22

I`ve managed to merge the source. Tomorrow I will upload the source code to github. I am also thinking to create an cuda mining survival guide to add some help for nvidia card owners.

Looking forward to improve my GTX 580 performance at least a bit. It's not my main worker, but there's no reason to leave its power unused.
icedev576 (OP)
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
May 28, 2013, 05:40:32 PM
 #23

Hey man! Very interested in testing your code on a GTX TITAN!

Sorry currently I am only optimalized for 4xx to 6xx, the titan is a different issue. maybe later
icedev576 (OP)
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
May 28, 2013, 05:42:30 PM
 #24

Any news from here? I am still waiting the sourcecode.

Sorry I am little busy at my job, I don`t have time for this today. I`ve created the github repo, but it is relatively empty now.
LuckyXIII
Newbie
*
Offline Offline

Activity: 17
Merit: 0



View Profile
May 28, 2013, 06:21:35 PM
 #25

Has anyone actually gotten an Nvidia card to mine efficiently enough to pay for it's own power consumption? Or are these solely for people mining with "free" electricity?
R3dcell
Member
**
Offline Offline

Activity: 78
Merit: 10



View Profile
May 28, 2013, 06:29:19 PM
 #26

very interesting, any info as to whether this would increase the hash rate on my GTX 660?

Graciously accepting donations from you kind Sirs Smiley 1GEAhoDdL8Vcu57PRJfRrpQNBdzBsLuFrG
icedev576 (OP)
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
May 29, 2013, 05:40:01 AM
 #27

Source has been released. You can found here:
https://github.com/icedev576/rpcminer-optcuda

Please follow the instructions, to build and run in: README, README.md, HOW-TO files

Anyone who was able to build any variation of rpcminer, can this also.

Compiled Binaries for different OS, may come later.
djmagicmetz
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
May 29, 2013, 05:53:21 AM
 #28

Asics are going to fry these things. Game over.
kenshin23
Member
**
Offline Offline

Activity: 66
Merit: 10



View Profile
May 29, 2013, 05:57:18 AM
 #29

Thanks for this! I'm downloading the CUDA toolkit to see if I can compile it for my system. Otherwise, I'll wait for the binaries.

Donations are very welcome! 1LJ7k5b71cYFrBVQ7zYSBJePZ7EuFBFr5a
Pyramining referral links: http://pyramining.com/referral/be4kfg2m7 | http://pyramining.com/referral/yghmk7r9f
Bitrated user: kenshin23.
icedev576 (OP)
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
May 29, 2013, 08:03:29 AM
 #30

Has anyone actually gotten an Nvidia card to mine efficiently enough to pay for it's own power consumption? Or are these solely for people mining with "free" electricity?

I think the short answer is no. I don`t think anyone bought an nvidia card just for mining. I think (just like me) we got nv card because other reasons (for me, I use it for work). In the computer spare time, mining can run, but it`s not worth unless you have "free" electricity.
kenshin23
Member
**
Offline Offline

Activity: 66
Merit: 10



View Profile
May 29, 2013, 03:11:14 PM
 #31

Has anyone actually gotten an Nvidia card to mine efficiently enough to pay for it's own power consumption? Or are these solely for people mining with "free" electricity?

I think the short answer is no. I don`t think anyone bought an nvidia card just for mining. I think (just like me) we got nv card because other reasons (for me, I use it for work). In the computer spare time, mining can run, but it`s not worth unless you have "free" electricity.
In my particular case, I had an ATI HD 5770 but it sucked at flightsimming (which is what I built my computer for) so I sold that (stupid, I know, but I really didn't know much about bitcoins then) and bought the 670 I'm now using. It runs FSX great, but now I got interested in bitcoins and found out that the card I sold can hash at least twice as much than what the 670 can do normally. I can't really undo the sale, and buying an ATI card that can mine efficiently is more or less out of the question right now.

Hence, my interest in optimizing my card's performance. I also know that GPU mining is almost dead, but it's worth a shot, I guess.

Donations are very welcome! 1LJ7k5b71cYFrBVQ7zYSBJePZ7EuFBFr5a
Pyramining referral links: http://pyramining.com/referral/be4kfg2m7 | http://pyramining.com/referral/yghmk7r9f
Bitrated user: kenshin23.
gourmet
Sr. Member
****
Offline Offline

Activity: 311
Merit: 250


View Profile
May 29, 2013, 03:13:30 PM
Last edit: May 29, 2013, 03:33:15 PM by gourmet
 #32

Source has been released. You can found here:
https://github.com/icedev576/rpcminer-optcuda

Please follow the instructions, to build and run in: README, README.md, HOW-TO files

Anyone who was able to build any variation of rpcminer, can this also.

Compiled Binaries for different OS, may come later.

I've compiled cgminer on Ubuntu recently.
But there is Radeon card on that machine.
Never have been using rpc-miner. (Is there
any big difference in compilation/usage?)
My Nvidia is in a machine running Windows.
So I'll wait for Windows binaries, too.

[edit]
I'm running guiminer there now. I'm really
curious what the difference may be. :-)
dentldir
Sr. Member
****
Offline Offline

Activity: 333
Merit: 250



View Profile
May 30, 2013, 08:29:41 AM
 #33

Testing a 660ti with this right now, seeing about 104MH/s on stock clocks.

cgminer comes in at 100MH/s.  Both are steady, so it is a solid 4% improvement without any tweaking.

The same card, on scrypt using cudaminer, now gets around 160KH/s after several kernel iterations.  I don't know if there is anything instructive inside the spinlock kernels in cudaminer 4-30, but it might be worth a look.

Cheers and thanks for the good work.


1DentLdiRMv3dpmpmqWsQev8BUaty9vN3v
minehe
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
May 30, 2013, 09:06:51 AM
 #34

260 MH/s is too slow.
dentldir
Sr. Member
****
Offline Offline

Activity: 333
Merit: 250



View Profile
May 30, 2013, 09:15:09 AM
 #35

On that 660ti, the auto config found:

Best configuration step found (-gpugrid=448,-gputhreads=1024) 104206 KHs  prev best=105422 KHs
Done allocating CUDA resources for (448,1024)

on a second run, and settled in at 105MH/s.

1DentLdiRMv3dpmpmqWsQev8BUaty9vN3v
kenshin23
Member
**
Offline Offline

Activity: 66
Merit: 10



View Profile
May 30, 2013, 03:48:38 PM
 #36

On that 660ti, the auto config found:

Best configuration step found (-gpugrid=448,-gputhreads=1024) 104206 KHs  prev best=105422 KHs
Done allocating CUDA resources for (448,1024)

on a second run, and settled in at 105MH/s.

Are you using that card exclusively to mine, or do you have it configured for normal desktop usage?

Donations are very welcome! 1LJ7k5b71cYFrBVQ7zYSBJePZ7EuFBFr5a
Pyramining referral links: http://pyramining.com/referral/be4kfg2m7 | http://pyramining.com/referral/yghmk7r9f
Bitrated user: kenshin23.
dentldir
Sr. Member
****
Offline Offline

Activity: 333
Merit: 250



View Profile
May 30, 2013, 07:41:24 PM
 #37

It has an X server running on it, but I'm not using it as a desktop.  It was a default Ubuntu 12.04 install running the driver in the CUDA 5.0 package.  (304.86?).

1DentLdiRMv3dpmpmqWsQev8BUaty9vN3v
Cyberburner
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
May 30, 2013, 09:15:19 PM
 #38

Problem with all these programs is you have to be a technician to be able to work it. The first one to release some more user friendly things, that actually work, will be my bitcoin jezus...
cyberkiller
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile WWW
May 30, 2013, 09:37:18 PM
 #39

interesting, definitely a good thing. Everyone is so focused on AMD cards, yes rightfully so as they are faster but people have tons of nvidia cards laying around.
icedev576 (OP)
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
May 31, 2013, 07:06:42 AM
 #40

I have written instructions in the readme files, but I write here some important information:
 - Use 4.2 if you compile the cu files. CU files should be compiled as a second pass and compiled next to the executable
 - I've added precompiled cubin files to the project, it is OS independent so you can copy it next to the executable file, if you don't want to compile the cu files
 - The program has an auto-tuning feature, if you don't define the gpuGrid, and gputhreads, it will find the best configuration, it is a wider search then the original (it can take several minutes!)
 - Once it is done you can use it next time
 - It does't have native stratum support, use a proxy instead
 - For measuring the time please run it for at least a few minutes
Pages: « 1 [2] 3 »  All
  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!