Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: Wolf0 on July 20, 2014, 04:43:40 AM



Title: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: Wolf0 on July 20, 2014, 04:43:40 AM
NaN.


Title: Re: WIP Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: nrg_wolf on July 22, 2014, 09:33:00 AM
you are indeed a skilled coder Wolf0........


Title: Re: WIP Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: Bombadil on July 22, 2014, 05:14:28 PM
Whoohoo, another repository I can download and play with :D
Thanks a lot Wolf!

EDIT: Euh...
Code:
fatal error C1083: Cannot open include file: 'cpuminer-config.h': No such file or directory
Simply fixed it with using tsiv's original. No idea what you've missed there though :P


Title: Re: WIP Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: Bombadil on July 22, 2014, 06:25:09 PM
Whoohoo, another repository I can download and play with :D
Thanks a lot Wolf!

EDIT: Euh...
Code:
fatal error C1083: Cannot open include file: 'cpuminer-config.h': No such file or directory
Simply fixed it with using tsiv's original. No idea what you've missed there though :P

Odd, did you run autogen.sh before configure?
Visual Studio ;) So no :P


Title: Re: WIP Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: Bombadil on July 22, 2014, 09:06:04 PM
Your cpuminer.config is still broken for me. I had to re-use the one from tsiv. Error on alloca.h not being found.
Tsiv undeffed it, maybe that's why? https://github.com/tsiv/ccminer-cryptonight/blob/master/cpuminer-config.h


Title: Re: WIP Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: Bombadil on July 22, 2014, 09:37:10 PM
Your cpuminer.config is still broken for me. I had to re-use the one from tsiv. Error on alloca.h not being found.
Tsiv undeffed it, maybe that's why? https://github.com/tsiv/ccminer-cryptonight/blob/master/cpuminer-config.h

Okay, I'll copy the one from his and push it - I re-ran autogen, probably why. Also, I just pushed another commit - re-wrote the AES key expansion.
Ooh man, and I've been here trying to make nice screenshots with freshly compiled builds to show off what you've already accomplished, but you're way too fast to keep up with :D

EDIT: Oh lol, just saw this. Is the .config supposed to be a HTML? :p https://github.com/wolf9466/ccminer-cryptonight/blob/master/cpuminer-config.h
Sorry for being a PITA ;) I know how to fix it easily, but maybe not everyone.
This might be easier copypaste, bottom of the page: http://pastebin.com/b7g3DLGy


Title: Re: WIP Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: Bombadil on July 22, 2014, 10:13:03 PM
Ok, seems like tsiv's original was better. I'm testing them OC'd now, and I thought yours was better (latest source, but similar results for prev), but that's because I was comparing it to non-OC tsiv-ccminer.
I tried other settings, like "6x48,8x64,8x64", "12x40,16x60,16x60", etc... but they all ended up worse. I can't even launch "16x64" on the 750ti's as it crashes upon not being able to allocate that many threads. Maybe something wrong on my end? Windows 7.  

Image: https://i.imgur.com/t7DEsKq.png (left is tsiv, right is wolf)


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: primer10 on July 23, 2014, 08:06:00 AM
Is it only me but the wallpapers are rather ehmm  ;D


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: Starscream on July 23, 2014, 08:16:02 AM
Is it only me but the wallpapers are rather ehmm  ;D
lol man... I didn't even click on them until you mentioned it.

Guess the guy is a furry.


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: ltcnim on July 23, 2014, 11:10:07 AM
5x750Ti under Ubuntu 14.04:

tsiv: ~1300h/s
yours: ~360h/s

no idea why it's so much worse. do I need a newer cuda toolkit? currently, I still use 5.5


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: ilovecudacompute on July 23, 2014, 09:40:59 PM
Can anyone post some binaries for wolfs latest source ???(compute 3.0)
Thanks in advance


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: skunk on July 24, 2014, 12:12:42 AM
on Kepler, around 15% better.
on my kepler card (http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-660-oem/specifications) (12x48) it's ~10h/s worse...


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: Marcus2914 on July 24, 2014, 01:55:30 AM
on Kepler, around 15% better.
on my kepler card (http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-660-oem/specifications) (12x48) it's ~10h/s worse...

What hash rate are you getting with that card?  I have a GTX 660 SC 2GB that's getting ~220 H/s using 16x40 . That's on both Tsiv's latest and Wolf0's latest is ~230 H/s.


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: Marcus2914 on July 24, 2014, 03:25:22 AM
on Kepler, around 15% better.
on my kepler card (http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-660-oem/specifications) (12x48) it's ~10h/s worse...

What hash rate are you getting with that card?  I have a GTX 660 SC 2GB that's getting ~220 H/s using 16x40 . That's on both Tsiv's latest and Wolf0's latest is ~230 H/s.

Good to hear some good news, finally  :D

EDIT: That new middle loop seems to perform about the same, sadly.

Just a quick question Wolf. What version of Cuda Toolkit are you using? I have it compiled with 5.5


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: Marcus2914 on July 24, 2014, 03:32:49 AM
on Kepler, around 15% better.
on my kepler card (http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-660-oem/specifications) (12x48) it's ~10h/s worse...

What hash rate are you getting with that card?  I have a GTX 660 SC 2GB that's getting ~220 H/s using 16x40 . That's on both Tsiv's latest and Wolf0's latest is ~230 H/s.

Good to hear some good news, finally  :D

EDIT: That new middle loop seems to perform about the same, sadly.

Just a quick question Wolf. What version of Cuda Toolkit are you using? I have it compiled with 5.5

6.0. Also, I made the scratchpad pointer in the second loop restricted, it seems to provide a small hashrate bump.

Okay, I will pull it and give it a test on my card.

Update: The new one did give me a boost to an avg. of 235 H/s in the miner. Average at the pool is 250 H/s.

Update 2: I decided to compile a new version of tsiv's. I am getting 255 H/s on the miner and 280 H/s at the pool.


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: skunk on July 24, 2014, 09:17:56 AM
on Kepler, around 15% better.
on my kepler card (http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-660-oem/specifications) (12x48) it's ~10h/s worse...

What hash rate are you getting with that card?  I have a GTX 660 SC 2GB that's getting ~220 H/s using 16x40 . That's on both Tsiv's latest and Wolf0's latest is ~230 H/s.
the hash rate varies a lot over time on both miners but with tsiv's i get ~240h/s peaks while with wolf's ~230h/s...

edit: after latest changes i'm getting additional ~40h/s with tsiv's miner while wolf's stayed about the same...


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: cayars on July 24, 2014, 06:04:26 PM
Wolf0,

You still working on this or are you waiting for published code from tsiv before continuing?


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: Bombadil on July 24, 2014, 08:07:17 PM
Wolf0,

You still working on this or are you waiting for published code from tsiv before continuing?

He already did ;) https://github.com/tsiv/ccminer-cryptonight/commit/96b2cedd2206311231bbda7e32709584b20e6ade
You guys should work together :p


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: novag on July 24, 2014, 09:03:20 PM
Who compile this miner?


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: cayars on July 24, 2014, 09:49:48 PM
Wolf0,

You still working on this or are you waiting for published code from tsiv before continuing?

He already did ;) https://github.com/tsiv/ccminer-cryptonight/commit/96b2cedd2206311231bbda7e32709584b20e6ade
You guys should work together :p

I "swear" I've refreshed this a few times and didn't see the changes.  Guess it's time for glasses. :)

Man, and I just got done testing nvMiner and was about to push it on http://cudamining.cc. :)

I had made some changes to CN based on ideas from Wolf0.  I'll set them aside and put in tsiv's new code and see how it works.


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: wacko on July 24, 2014, 10:23:58 PM
Been following all the posts about recent updates from tsiv and Wolf0, but I still can't figure out whether there's any actual performance boost for 750 Ti? :) Is it better for older cards only?


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: novag on July 25, 2014, 08:13:12 AM
Whrere is working boost miner for 750ti?


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: twats on February 11, 2015, 10:38:28 AM
can you make windows build of your miner wolf0 ?

and does it support cuda 2.1 ?


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: Bombadil on February 11, 2015, 02:43:46 PM
can you make windows build of your miner wolf0 ?

and does it support cuda 2.1 ?

Tsiv merged the code changes from wolf0 ;) So his latest miner will have these boosts.
And it's also compiled for older cards here: https://github.com/tsiv/ccminer-cryptonight/releases


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: sp_ on February 11, 2015, 10:26:17 PM
I think I can optimize this. Who wants a faster miner? Anybody willing to donate 0.1 BTC?



Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: sp_ on February 15, 2015, 11:42:31 AM
I think I can optimize this. Who wants a faster miner? Anybody willing to donate 0.1 BTC?
Note that tsiv merged my changes and worked more on it, I think. But I'd be interested to see what you come up with.

My uint keccak implementation is doing 172MHASH on a standard 750ti. Yours/tsivs doeas 115MHASH (in the cryptonight fork).
So mine is 50% faster. (the sourcecode is in my mod)


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: ol92 on February 15, 2015, 09:10:40 PM
I think I can optimize this. Who wants a faster miner? Anybody willing to donate 0.1 BTC?


probably me!
depends of what hashrate you can reach.


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: GingerAle on February 19, 2015, 12:36:57 AM
I think I can optimize this. Who wants a faster miner? Anybody willing to donate 0.1 BTC?


probably me!
depends of what hashrate you can reach.

im in too, depends on the hashrate. My 750 ti's get 280ish on a straight pipe (PCI-16 on the board) and 250 using a riser


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: sp_ on February 19, 2015, 11:12:53 AM
Any multipools mining this with payout in BTC?

I see some  possible major improvements in the code. 10% gain is easy 30% is possible


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: sp_ on February 26, 2015, 10:28:07 AM
I will start on this now.. Private kernals.

Donatation limit is set to 0.2 BTC.

The spreadcoin donators will get a discount of 0.1 BTC


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: Bombadil on February 26, 2015, 11:30:14 AM
Any idea what kind of speed you'll get out of it?


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: sp_ on February 26, 2015, 12:28:06 PM
I am happy when it beats the speed of the claymore miner on the 290x. (GTX 980)


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: GingerAle on February 26, 2015, 01:53:57 PM
exact hash rate? Ima try and scale to my 750 ti.


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: GingerAle on February 27, 2015, 01:30:10 PM
does spreadcoin have a shapeshift-like service that I'm not aware of ? Or do I gotta go through exchanges?


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: sp_ on February 27, 2015, 01:32:59 PM
I don't have the hashrate yet, since I haven't started. I have just read the code and prepared my changes.


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: GingerAle on February 27, 2015, 02:29:43 PM
I don't have the hashrate yet, since I haven't started. I have just read the code and prepared my changes.

ah, ok, based on

I am happy when it beats the speed of the claymore miner on the 290x. (GTX 980)

i thought you already have a working version, but I guess you meant "I will be happy" as opposed to "i am happy" .

lost in translation.


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: sp_ on February 27, 2015, 05:29:29 PM
I don't have the hashrate yet, since I haven't started. I have just read the code and prepared my changes.
ah, ok, based on
I am happy when it beats the speed of the claymore miner on the 290x. (GTX 980)
i thought you already have a working version, but I guess you meant "I will be happy" as opposed to "i am happy" .
lost in translation.

Well my keccak implentation is 70% faster, so I have already started I just need to merge the code into the branch :) But there is a lot of code to go through, and keccak is only a tiny bit of the total hash.


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: GingerAle on March 01, 2015, 05:18:06 AM
I don't have the hashrate yet, since I haven't started. I have just read the code and prepared my changes.
ah, ok, based on
I am happy when it beats the speed of the claymore miner on the 290x. (GTX 980)
i thought you already have a working version, but I guess you meant "I will be happy" as opposed to "i am happy" .
lost in translation.

Well my keccak implentation is 70% faster, so I have already started I just need to merge the code into the branch :) But there is a lot of code to go through, and keccak is only a tiny bit of the total hash.


felll gimme a price cause im liable to buy another GPU unless things get  more efficinent....................


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: sp_ on March 02, 2015, 11:24:33 PM
Cryptonight sp-mod version 1 exe file has been sendt to the donators. My first afternoon of work gave an increase of around 10% on the 750ti.  This will increase in the next releases.

If you want to join the train please donate 0.2 BTC and recieve both the optimized Spreadminer (with source) and the Cryptonight mod.

my BTC adress is in my signature.


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: GingerAle on March 03, 2015, 12:30:23 AM
Cryptonight sp-mod version 1 exe file has been sendt to the donators. My first afternoon of work gave an increase of around 10% on the 750ti.  This will increase in the next releases.

If you want to join the train please donate 0.2 BTC and recieve both the optimized Spreadminer (with source) and the Cryptonight mod.

my BTC adress is in my signature.

does the donation give me access to future improvements?

does it compile nicely in ubuntu?


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: sp_ on March 03, 2015, 06:04:26 AM
Cryptonight sp-mod version 1 exe file has been sendt to the donators. My first afternoon of work gave an increase of around 10% on the 750ti.  This will increase in the next releases.
If you want to join the train please donate 0.2 BTC and recieve both the optimized Spreadminer (with source) and the Cryptonight mod.
my BTC adress is in my signature.
does the donation give me access to future improvements?
does it compile nicely in ubuntu?

The spreadminer comes with sourcecode and can be compiled on ubuntu. The cryptonight miner is win32 executable only for now.


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: sp_ on March 03, 2015, 12:46:16 PM
does the donation give me access to future improvements?
does it compile nicely in ubuntu?

Yes, my donators are on a list that will recieve future improvements. The sourcecode will be sendt as well on a later stage.


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: GingerAle on March 03, 2015, 01:10:03 PM
does the donation give me access to future improvements?
does it compile nicely in ubuntu?

Yes, my donators are on a list that will recieve future improvements. The sourcecode will be sendt as well on a later stage.

Cool! Well, when the cryptonight mod is linux executable / compilable, let me know. Thanks for putting the effort in!


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: d0om on March 09, 2015, 10:29:31 PM
Simple question: Aside from just choosing a different User/Computer name, for the mingw shell, how do you deal with a _ underscore in a name? It displays as a "space", which is bad. I used Visual Studio last time, but I'm trying to keep the build as small as possible. Can you use cygwin instead?

I've only built in linux


Title: Re: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)
Post by: salfter on July 27, 2017, 12:16:08 AM
Is this still the CryptoNight miner for CUDA?  I noticed that it's not been updated in a while, but I just built it under nvOC v17.  With three 1070s underclocked a bit, I'm seeing about 1.35 kH/s.  Is this about in the ballpark of what I should expect?  Is there a newer miner for nVidia GPUs that I should be using instead?

Edit: This thread (https://bitcointalk.org/index.php?topic=1640998.0) refers to this fork of ccminer-cryptonight (https://github.com/KlausT/ccminer-cryptonight), which is pulling 2 kH/s across three 1070s.