dga (OP)
|
|
January 08, 2014, 11:18:13 AM Last edit: January 08, 2014, 12:03:03 PM by dga |
|
Hi, all - as discussed in a prior thread, I've open sourced my code for mining ProtoShares (PTS) on Nvidia GPUs. The code is still a little rough around the edges but is functional and decently fast - and, at least until the difficulty catches up, a very good mining-per-watt option. https://github.com/dave-andersen/cudaptsTested on MacOS and Linux and known to run on GT 650m, GTX 690, Tesla K20c, and GTX 650Ti. The code is based on ptsminer and is tied to beeeeer right now, but should be straightforward to extend. No binaries yet, and building it requires some experience with getting CUDA running on your system. This is still advanced-intermediate terrain, but should get better as the kinks get worked out. Happy mining! -Dave
|
|
|
|
dga (OP)
|
|
January 08, 2014, 12:04:16 PM |
|
Reserving some space for updates:
- Restructured the code and made it easier to run from the command line this morning. Now just:
./cudapts <pay-addr>
should work for most single-GPU systems.
- Confirmed to work on a GTX 570 by changing makefile.unix, looking for 'arch' and changing it to sm_20
|
|
|
|
unsoindovo
Legendary
Offline
Activity: 1932
Merit: 1042
https://locktrip.com/?refId=40964
|
|
January 08, 2014, 03:44:47 PM |
|
Reserving some space for updates:
- Restructured the code and made it easier to run from the command line this morning. Now just:
./cudapts <pay-addr>
should work for most single-GPU systems.
- Confirmed to work on a GTX 570 by changing makefile.unix, looking for 'arch' and changing it to sm_20
hi dga! how many cpm whit this miner/GPU??? tx
|
|
|
|
dga (OP)
|
|
January 08, 2014, 04:29:51 PM Last edit: January 08, 2014, 10:58:09 PM by dga |
|
Reserving some space for updates:
- Restructured the code and made it easier to run from the command line this morning. Now just:
./cudapts <pay-addr>
should work for most single-GPU systems.
- Confirmed to work on a GTX 570 by changing makefile.unix, looking for 'arch' and changing it to sm_20
hi dga! how many cpm whit this miner/GPU??? tx It's currently similar to a fast CPU but at lower power draw. My internal version is a little faster. The last time I tried to put together a set of numbers, I got this: Dual GTX 690s: 2400 c/m at 115W at 10% CPU. (600 c/s per GPU core, 2 per card, 2 cards in the box) 650Ti: 330-340 c/m at 1% CPU. Macbook Pro with GT 650M: 200 c/m. Tesla K20c: ~800c/m. Someone reported 500-600 on an older GTX 570. (UPDATE: I wrote c/s in a brain-dead moment. Meant c/m, of course.)
|
|
|
|
cbuchner1
|
|
January 08, 2014, 05:07:00 PM |
|
Weird that you haven't blogged about this yet Christian
|
|
|
|
dga (OP)
|
|
January 08, 2014, 05:08:27 PM |
|
Weird that you haven't blogged about this yet Christian grin. I'm going to, of course. I kind of like the two-bit counting filter I built for the GPU scanner. It's far from optimal, but I've got one more clever idea to optimize it more, and then I'll blog about it. -Dave
|
|
|
|
SpeedDemon13
|
|
January 08, 2014, 06:02:55 PM |
|
I'm interested in complying it into a workable binary, but I don't have the experience. I'm willing to learn if you can be directed to proper sites and/or books that can help me. I learn pretty fast and be come efficient once I learn a skill.
|
CRYPTSY exchange: https://www.cryptsy.com/users/register?refid=9017 BURST= BURST-TE3W-CFGH-7343-6VM6R BTC=1CNsqGUR9YJNrhydQZnUPbaDv6h4uaYCHv ETH=0x144bc9fe471d3c71d8e09d58060d78661b1d4f32 SHF=0x13a0a2cb0d55eca975cf2d97015f7d580ce52d85 EXP=0xd71921dca837e415a58ca0d6dd2223cc84e0ea2f SC=6bdf9d12a983fed6723abad91a39be4f95d227f9bdb0490de3b8e5d45357f63d564638b1bd71 CLAMS=xGVTdM9EJpNBCYAjHFVxuZGcqvoL22nP6f SOIL=0x8b5c989bc931c0769a50ecaf9ffe490c67cb5911
|
|
|
matt4054
Legendary
Offline
Activity: 1946
Merit: 1035
|
|
January 08, 2014, 06:06:43 PM |
|
Thanks for this.
Compiling on Linux / OSX wouldn't be a problem for me but my only nVidia is on Windows right now... would definitely be interested in a Windows binary.
|
|
|
|
dga (OP)
|
|
January 09, 2014, 12:46:01 AM |
|
Thanks for this.
Compiling on Linux / OSX wouldn't be a problem for me but my only nVidia is on Windows right now... would definitely be interested in a Windows binary.
Heard. I'm slowly trickling in some compilation fixes that should let things work on Windows under Cygwin. Just committed another - but I'm pretty sure there are remaining bugs. If anyone wants to grab the latest version from git and try, LMK. (For those who tried before by manually compiling gpuhash.cu and got an error about "restrict", that bug should be fixed. I hope.) -Dave
|
|
|
|
Sy
Legendary
Offline
Activity: 1484
Merit: 1003
Bounty Detective
|
|
January 09, 2014, 08:55:06 AM |
|
A 680 GTX drawing 115W? Besides that, very nice - now we need openCL
|
|
|
|
cbuchner1
|
|
January 09, 2014, 10:38:24 AM |
|
A 680 GTX drawing 115W? Besides that, very nice - now we need openCL Power draw is very much reduced when you run memory intensive stuff that is not at all compute bound. For example my script-jane (Yacoin) implementation in CUDA makes my mining rig run at 400 Watts, whereas mining scrypt (Litecoin) will make it run at 850 Watts. Yet the mining returns are bigger with jane, so I am not complaining nVidia doesn't play nice with OpenCL (nVidia's support is outdated and half-assed. CUDA will in most cases get you better performance over an equivalent OpenCL implementation). So don't expect an OpenCL port from someone who mainly owns nVidia gear.... Christian
|
|
|
|
Sy
Legendary
Offline
Activity: 1484
Merit: 1003
Bounty Detective
|
|
January 09, 2014, 04:38:35 PM |
|
Thanks for the info, didnt expect one from you - just wondering, will it be faster as everything else or this one finally better with cuda?
|
|
|
|
dga (OP)
|
|
January 10, 2014, 12:24:13 PM |
|
Thanks for the info, didnt expect one from you - just wondering, will it be faster as everything else or this one finally better with cuda?
Not sure. I'm gong to try an OpenCL one next week if nobody beats me to it. I have a fairly different algorithmic approach in mind for AMD. We'll see. -Dave
|
|
|
|
MrMirkin
Newbie
Offline
Activity: 24
Merit: 0
|
|
January 10, 2014, 05:26:39 PM |
|
Thanks for this.
Compiling on Linux / OSX wouldn't be a problem for me but my only nVidia is on Windows right now... would definitely be interested in a Windows binary.
Same here, would love to try this on my 570. Please let us know when you can!
|
|
|
|
zvs
Legendary
Offline
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
|
|
January 10, 2014, 07:40:09 PM |
|
I have a GTX 780 that I received yesterday
so I'll make a windows binary sometime tonight, after I get around to setting it up (have to swap some power supplies too)
(beh, i'll post the other stuff on marketplace later maybe)
|
|
|
|
dga (OP)
|
|
January 10, 2014, 07:51:27 PM |
|
I have a GTX 780 that I received yesterday
so I'll make a windows binary sometime tonight, after I get around to setting it up (have to swap some power supplies too)
(beh, i'll post the other stuff on marketplace later maybe)
I believe Archit has one working (binary only and donations to him, but works on windows! . But help getting my version to work cleanly on windows would be appreciated - we'll have a higher-quality open source base for everyone.
|
|
|
|
dga (OP)
|
|
January 11, 2014, 01:36:58 AM |
|
A 680 GTX drawing 115W? Besides that, very nice - now we need openCL I was slightly off on my power measurements - I was giving single card numbers earlier, not double, because I had the monitor on a different line than I thought I did. Oops. WIth the newer code, it's using more. Dev version to be released next week if things goes well uses about 175W per card. Rats. (It's also faster.)
|
|
|
|
dga (OP)
|
|
January 11, 2014, 02:37:04 AM |
|
Decent-ish update 2014-01-10: I've committed some new changes to the repository. Some are cosmetic, but three are important:
1) Memory use on the host side is reduced by about 500MB. This may or may not matter for you.
2) Speed is boosted by 10-20% on a lot of platforms. I have another speed boost patch coming next week once I've made it not horrible, but this one gets a decent chunk of the gains.
3) There's now a developer fee that goes to me. Kinda.
I'm doing an experiment with this code release in the developer fee: It's easy to disable. It's not hidden. But it's also just a list of addresses that share the dev fee equally.
So here's my proposal: If you port this software to another platform or release a binary, don't remove my address. Instead, add yours to the list -- I've tried to make it super easy for you to get your own share. If this works out, I'll continue to release improvements and try to make it even easier for other developers who improve upon the code, because we'll all have a reason to make software that remains open source and which is user-friendly and high performance.
If you think this is horrible, let me know and let's try to find a way to make it work better.
If you're a user who hates the idea of a dev fee, the source is yours and you can delete the addresses listed there and/or add your own.
-Dave
|
|
|
|
|
relm9
|
|
January 11, 2014, 07:47:22 PM |
|
It seems to be the same. Gotta say that's pretty scummy, no credit to the original author and asks for donations
|
|
|
|
|