Bitcoin Forum
May 26, 2024, 12:55:32 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 »  All
  Print  
Author Topic: [Working] Improved CryptoNight CUDA Miner (based on tsiv's work)  (Read 18380 times)
Wolf0 (OP)
Member
**
Offline Offline

Activity: 81
Merit: 1002


It was only the wind.


View Profile
July 20, 2014, 04:43:40 AM
Last edit: October 16, 2018, 03:14:07 AM by Wolf0
 #1

NaN.
nrg_wolf
Legendary
*
Offline Offline

Activity: 882
Merit: 1000



View Profile
July 22, 2014, 09:33:00 AM
 #2

you are indeed a skilled coder Wolf0........
Bombadil
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500



View Profile
July 22, 2014, 05:14:28 PM
Last edit: July 22, 2014, 05:24:58 PM by Bombadil
 #3

Whoohoo, another repository I can download and play with Cheesy
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 Tongue
Bombadil
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500



View Profile
July 22, 2014, 06:25:09 PM
 #4

Whoohoo, another repository I can download and play with Cheesy
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 Tongue

Odd, did you run autogen.sh before configure?
Visual Studio Wink So no Tongue
Bombadil
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500



View Profile
July 22, 2014, 09:06:04 PM
 #5

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
Bombadil
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500



View Profile
July 22, 2014, 09:37:10 PM
Last edit: July 22, 2014, 10:01:00 PM by Bombadil
 #6

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 Cheesy

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 Wink I know how to fix it easily, but maybe not everyone.
This might be easier copypaste, bottom of the page: http://pastebin.com/b7g3DLGy
Bombadil
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500



View Profile
July 22, 2014, 10:13:03 PM
 #7

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)
primer10
Sr. Member
****
Offline Offline

Activity: 249
Merit: 250


View Profile
July 23, 2014, 08:06:00 AM
 #8

Is it only me but the wallpapers are rather ehmm  Grin
Starscream
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250



View Profile
July 23, 2014, 08:16:02 AM
 #9

Is it only me but the wallpapers are rather ehmm  Grin
lol man... I didn't even click on them until you mentioned it.

Guess the guy is a furry.
ltcnim
Legendary
*
Offline Offline

Activity: 914
Merit: 1001



View Profile
July 23, 2014, 11:10:07 AM
 #10

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

ilovecudacompute
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
July 23, 2014, 09:40:59 PM
 #11

Can anyone post some binaries for wolfs latest source Huh(compute 3.0)
Thanks in advance
skunk
Sr. Member
****
Offline Offline

Activity: 329
Merit: 250


View Profile
July 24, 2014, 12:12:42 AM
 #12

on Kepler, around 15% better.
on my kepler card (12x48) it's ~10h/s worse...

Marcus2914
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile
July 24, 2014, 01:55:30 AM
 #13

on Kepler, around 15% better.
on my kepler card (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.
Marcus2914
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile
July 24, 2014, 03:25:22 AM
 #14

on Kepler, around 15% better.
on my kepler card (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  Cheesy

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
Marcus2914
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile
July 24, 2014, 03:32:49 AM
Last edit: July 24, 2014, 05:55:53 AM by Marcus2914
 #15

on Kepler, around 15% better.
on my kepler card (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  Cheesy

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.
skunk
Sr. Member
****
Offline Offline

Activity: 329
Merit: 250


View Profile
July 24, 2014, 09:17:56 AM
Last edit: July 24, 2014, 09:54:22 AM by skunk
 #16

on Kepler, around 15% better.
on my kepler card (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...

cayars
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
July 24, 2014, 06:04:26 PM
 #17

Wolf0,

You still working on this or are you waiting for published code from tsiv before continuing?
Bombadil
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500



View Profile
July 24, 2014, 08:07:17 PM
 #18

Wolf0,

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

He already did Wink https://github.com/tsiv/ccminer-cryptonight/commit/96b2cedd2206311231bbda7e32709584b20e6ade
You guys should work together :p
novag
Hero Member
*****
Offline Offline

Activity: 687
Merit: 500


novag


View Profile WWW
July 24, 2014, 09:03:20 PM
 #19

Who compile this miner?

Donate for the support of a new Martial arts Style - Aikivindo = Aikido + Wing-Chun (in Ukraine) 5168757318423326 PrivatBank.
http://aikivindo.com.ua
BTC:1DpRaQjdVmrkSopRV8p9RdwvBMWNA9faCS
cayars
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
July 24, 2014, 09:49:48 PM
 #20

Wolf0,

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

He already did Wink 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. Smiley

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

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.
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!