Author

Topic: CCminer(SP-MOD) Modded NVIDIA Maxwell / Pascal kernels. - page 1127. (Read 2347601 times)

legendary
Activity: 2912
Merit: 1091
--- ChainWorks Industries ---
ok ... so its more of an issue than at first thought ...

will wait till you come out with a fix ...

tanx again ...

#crysx
hero member
Activity: 675
Merit: 514
don't bother. Fixing the stats is not enough. I need to find out why the miner report "does not validate on the cpu" with more than one thread per gpu.
I think it's possible that the threads get different work sometimes.
Since there is only one array on the gpu for the input, the data gets mixed up between the threads.
sp_
legendary
Activity: 2926
Merit: 1087
Team Black developer
don't bother. Fixing the stats is not enough. I need to find out why the miner report "does not validate on the cpu" with more than one thread per gpu.
legendary
Activity: 2912
Merit: 1091
--- ChainWorks Industries ---
There is an error in the hashrate calculation when using the -g parameter


first rollback the last changeset @git and then change

in ccminer.cpp:

   if( opt_n_gputhreads>1)
       {
           int index = thr_id / opt_n_gputhreads;
      gpu = index*opt_n_gputhreads + gpu;
   }

Should be changed to:

   if( opt_n_gputhreads>1)
       {
           int index = thr_id / opt_n_gputhreads;
      gpu = index*opt_n_gputhreads + (gpu%opt_n_gputhreads);
   }

2 places.


I will fix it in some hours@github


tanx sp ...

ill try that when i get into the office today ...

really dont like these time zones :| ...

#crysx
legendary
Activity: 1582
Merit: 1019
011110000110110101110010
CCMINER -g 3 -i 22 --

For me that only does 37.3 per rig and and it's not even fluctuating. Without using -g and with -i 23.6 I get 37.6 per rig of Gigabyte OC cards with +140 on the core.

For some reason I was unable to find any algo which resulted in more hash using -g.  Undecided

LATEST MOD --

Did you download and compile the last mod of v45 of the day?  Yesterday's version was giving me the results that you describe.  The pre-compiled Windows version is several days old.  I was not able to build today's mods until the last version posted on git.       --scryptr

I want to make an attempt at compiling.

Couple of questions:

Link to github resource
Are you using Visual Studio? If so what version?
What dependencies do I need?

Thank you
sp_
legendary
Activity: 2926
Merit: 1087
Team Black developer
There is an error in the hashrate calculation when using the -g parameter


first rollback the last changeset @git and then change

in ccminer.cpp:

   if( opt_n_gputhreads>1)
       {
           int index = thr_id / opt_n_gputhreads;
      gpu = index*opt_n_gputhreads + gpu;
   }

Should be changed to:

   if( opt_n_gputhreads>1)
       {
           int index = thr_id / opt_n_gputhreads;
      gpu = index*opt_n_gputhreads + (gpu%opt_n_gputhreads);
   }

2 places.


I will fix it in some hours@github
legendary
Activity: 2912
Merit: 1091
--- ChainWorks Industries ---
Just tried it on x11, the -i 22 doesn't work on it, the program crashes giving an error on I guess line 647, it worked on quark though.

Edit: So I decreased the i one to -i 21 and it's working on x13 for now, gotta find some i that works for all when using multi algo switch.

with x11 on our farm - the -i value is at its peak using 20.6 or more stable at 20.5 - and the -g values of sorts just crash the miner ...

quark -g 3 -i 22 works though with a lot of cpu validation errors and wild values in hashrate ...

we have been running these values for a few hours now - and in comparison to having the old parameters -r 3 -R 10 - is actually showing LESS overall hashrate on the farm than the old parameters were successfully processing at with a much more stable hashrate and share count ...

this can be seen in the 2 day history on westhash as we are still currently running the 'new' settings and latest v45 under quark ... seen here - https://www.westhash.com/index.jsp?p=miners&a=12&d=2&addr=15umzHXF8NzXA4FywmeFbrDHgL8WcPs3wx ...

if we switch back to the old parameters - we get a steady hashrate on the miner and what seems to be a higher hashrate rate on the pool ...

not really too sure if this is due to the wild fluctuations in the miner hashrate or not - but it seems to be that the steady lower MINER hashrate on the old parameters give a higher POOL hashrate with less errors / issues ...

if that all makes sense ... apologies as im very tired ...

sp - any ideas? ...

edit - we will be changing the miners back to the original quark parameters ( -r 3 -R 10 ) to show the comparison between the old and new performances ... which in turn should show a 'dip' in the hashrate of the pool - which in turn again shows a 'dip' in the payouts ( though with westahsh the payouts are non-conclusive as they are fluctuation prone also ) ...

#crysx
hero member
Activity: 1974
Merit: 502
Vave.com - Crypto Casino
I was initially only using -g with the rest, but -i 22 with -g does give some boost.

Yes, it does, even with some validation errors. If you run in benchmark mode, you will see what the hashrate will look like when the bug is fixed. Looks like 25% on the highend cards

I got a boost of 500-700 kh/s on Quark on my 980 with using the -i 22 on the pool.
hero member
Activity: 1974
Merit: 502
Vave.com - Crypto Casino
Just tried it on x11, the -i 22 doesn't work on it, the program crashes giving an error on I guess line 647, it worked on quark though.

Edit: So I decreased the i one to -i 21 and it's working on x13 for now, gotta find some i that works for all when using multi algo switch.
sp_
legendary
Activity: 2926
Merit: 1087
Team Black developer
I was initially only using -g with the rest, but -i 22 with -g does give some boost.

Yes, it does, even with some validation errors. If you run in benchmark mode, you will see what the hashrate will look like when the bug is fixed. Looks like 25% on the highend cards
legendary
Activity: 3164
Merit: 1003
-i 10 -g 4 seems to work with the latest on git.
x11 is 25% faster on my 3 card testrig. gtx970,960,750ti
Do we really need to use these? I just over clock. Or would I get a higher hashrate if I used these and over clocked?  thx

These parameters can be used together with overclocking. Using multiple threads is good because the memory get divided into smaller continious blocks and more
resources on the gpu is being used. This leads to a higher total intensity

-i 22 -g 4 is similar to no g parameter and -i 24 (memory wise)

The -g parameter is currently being tested and developed.
As long as you get "does not validate on the cpu" the hashrate on the pool will be lower than in the miner.
Give me some more days, and I will fix it. (hopefully)

The hashfunctions are working with multiple threads in benchmarkmode.

To get an idea of the speed run ccminer with --benchmark parameter.

This is fixable.

Thx  sp ..your doing a great job...keep up the good work.  Smiley
hero member
Activity: 1974
Merit: 502
Vave.com - Crypto Casino
I was initially only using -g with the rest, but -i 22 with -g does give some boost.
sp_
legendary
Activity: 2926
Merit: 1087
Team Black developer
-i 10 -g 4 seems to work with the latest on git.
x11 is 25% faster on my 3 card testrig. gtx970,960,750ti
Do we really need to use these? I just over clock. Or would I get a higher hashrate if I used these and over clocked?  thx

These parameters can be used together with overclocking. Using multiple threads is good because the memory get divided into smaller continious blocks and more
resources on the gpu is being used. This leads to a higher total intensity

-i 22 -g 4 is similar to no g parameter and -i 24 (memory wise)

The -g parameter is currently being tested and developed.
As long as you get "does not validate on the cpu" the hashrate on the pool will be lower than in the miner.
Give me some more days, and I will fix it. (hopefully)

The hashfunctions are working with multiple threads in benchmarkmode.

To get an idea of the speed run ccminer with --benchmark parameter.

This is fixable.
legendary
Activity: 3164
Merit: 1003
-i 10 -g 4 seems to work with the latest on git.

x11 is 25% faster on my 3 card testrig. gtx970,960,750ti
Do we really need to use these? I just over clock. Or would I get a higher hashrate if I used these and over clocked?  thx
newbie
Activity: 14
Merit: 0
Some longer interval tests...
My 970/750ti test rig (linux, quark algo, 0.1 diff) reports ~27M with -g 3 setting now. It was 19M without -g parameter. But yaamp reports lower hashrate! It is about the half of the hasrate reported by ccminer. (13M vs 27M)

when you build yourself you need to make sure that you have compute5_2  in the makefile. Compute 5.0 will cause invalid hash on compute 5.2 cards for some reason.

nvcc_ARCH  = -gencode=arch=compute_50,code=\"sm_50,compute_50\"
nvcc_ARCH += -gencode=arch=compute_52,code=\"sm_52,compute_52\"

I compiled that way Smiley
You also suggested to lower the priority. I reduced the nice level by 5 (from 0 to +5) but same performance.
legendary
Activity: 1510
Merit: 1003
try with -d 0,0 . is the total hashrate correct?

Nope, it shows higher hashrate then my favorite Release43 but it doesn't confirm by the pool.
sp_
legendary
Activity: 2926
Merit: 1087
Team Black developer
sp_
legendary
Activity: 2926
Merit: 1087
Team Black developer
Some longer interval tests...
My 970/750ti test rig (linux, quark algo, 0.1 diff) reports ~27M with -g 3 setting now. It was 19M without -g parameter. But yaamp reports lower hashrate! It is about the half of the hasrate reported by ccminer. (13M vs 27M)

when you build yourself you need to make sure that you have compute5_2  in the makefile. Compute 5.0 will cause invalid hash on compute 5.2 cards for some reason.

nvcc_ARCH  = -gencode=arch=compute_50,code=\"sm_50,compute_50\"
nvcc_ARCH += -gencode=arch=compute_52,code=\"sm_52,compute_52\"
sr. member
Activity: 292
Merit: 250
sr. member
Activity: 248
Merit: 250
Thanks for your support

You need to remove the changes in the last submit to github:

https://github.com/sp-hash/ccminer/commit/bf20a3a809aee86520958eb1aad3ad2807878eeb

Then it should be stable.

It ran for 6 hours on my testrig without any issues with -g 3 -i 22
Thanks' for your Work!

Ahh i don't know, how to do this ))) .I'm very bad about software, It seems i need cuda kit,ohh it's more then 900mb )).Maybe it's better to wait your release ))) .If i find time,i'll check )))
Jump to: