Bitcoin Forum

Other => Beginners & Help => Topic started by: logdog16 on April 09, 2013, 03:41:00 AM



Title: CUDAminer problem
Post by: logdog16 on April 09, 2013, 03:41:00 AM
Hello, I installed the new version of CUDAminer and went from 127 khash/s to 180 khash/s. The thing is that my pool doesn't seem to be receiving them. I want to just ask the dev, however I am new to the forum and can't post in his thread yet. Can anyone help?

The CUDAminer thread is here: https://bitcointalk.org/index.php?topic=167229.0 (https://bitcointalk.org/index.php?topic=167229.0)


Title: Re: CUDAminer problem
Post by: daagar on April 09, 2013, 04:38:50 AM
I actually registered to post the exact same question. cudaminer claims my lowly gtx660 is getting 178kh/s (seems awful high), but none of that work seems to be going to the pool. I'm using a stratum proxy to connect to eu.wemineltc.com:3333. Despite the great numbers coming out of cudaminer, I don't think it is actually _doing_ anything. My GPU reports no activity via MSI Afterburner. Being a newbie, I'm sure I'm doing something wrong :)

Proxy started with:
mining_proxy.exe -o eu.wemineltc.com -p 3333 -oh localhost -sh localhost -nm

cudaminer started with:
cudaminer -o http://localhost:8332 -l S1x4 --user=myworkername --pass=myworkerpass

(The S1x4 parameter is what resulted after the autotune pass.)


Title: Re: CUDAminer problem
Post by: zyk0 on April 09, 2013, 12:34:21 PM
Newbie w/ some feedback on cudaminer (4/8 release) as well.

It seems the 290x2 660Ti recommendation is for 3GB cards, my 2GB 660ti's wont allocate anywhere close to that blocks*warps.

cpu usage seems high for cuda, which was one of my hopes for cudaminer,
  as rpcminer-cuda gives very low cpu usage compared to cgminer w/ OpenCL for SHA256

Here are some results from some nvidia cards I have in operation right now vs how I had cgminer tuned
9800GT 512MB: 14-16kh/s -l S12x3 , up from 12kh/s
GTX275 896MB: 45-50kh/s -l S30x3 , up from 34kh/s
650Ti 1024MB: 66kh/s -l 88x2 , up from 50kh/s
660Ti 2048MB: 90-100kh/s -l 192x2 , up from 75-85kh/s - probably not tuned optimally in either case.

And of course, typical nvidia display driver crashing on exit, especially on the 600 series cards.


Title: Re: CUDAminer problem
Post by: cbuchner1 on April 09, 2013, 01:00:39 PM
Just a note regarding the 04/08 release.

Don't let the autotuner pick the S1x4 configuration. It's a bad config and autotune shouldn't have used it.

Run with --no-autotune, or manually specify a known good kernel launch configuration with the -l option.

You can also run autotune with the debug (-D) flag, inspect the tables visually and pick a reasonable configuration with high khash values.  S..x4, S..x5, S..x6, S..x7 are bad configurations and must be avoided even when high values appear in the autotune table.  The next release fixes it.

And yes, the 290x2 was tested on a 3GB card. You could try 145x2 instead. ;)

Christian



Title: Re: CUDAminer problem
Post by: daagar on April 09, 2013, 10:46:19 PM
Based on the parent cudaminer thread, sounds like most of the issues are fixed. Will give it a spin tonight! I have another machine with a radeon 6850 in it, so not sure I really want to have two video cards burning the midnight oil but fun to tinker with none-the-less :)


Title: Re: CUDAminer problem
Post by: bugilt on April 09, 2013, 10:50:55 PM
Keep an eye on this thread if you have a Cuda card.

https://bitcointalk.org/index.php?topic=163750.120

I was able to get it running, but can't post there yet to get some tuning advice.


Title: Re: CUDAminer problem
Post by: Lacan82 on April 09, 2013, 11:27:23 PM
There was some bugs on the previous version. Specially with the Autotune feature. It is now fixed as of today. I'm now seeing around 165 on my GTX 570.

Sort note is make sure you've updated to today.



Title: Re: CUDAminer problem
Post by: logdog16 on April 10, 2013, 01:36:46 AM
I'm getting 137 on my 670...


Title: Re: CUDAminer problem
Post by: nst6563 on April 10, 2013, 01:53:27 AM
I'm getting roughly 78kh/s on my gtx560se's.  Over 20kh/s higher than cgminer.


Title: Re: CUDAminer problem
Post by: Lacan82 on April 10, 2013, 01:58:28 AM
You may want to try running -D switch.

You can then skip autotuning and select the base rate yourself with this output.

If you need help feel free to post the -D output for autotuning here.


Title: Re: CUDAminer problem
Post by: colonelmustard on April 10, 2013, 03:09:32 AM
cbuchner1, its good to see you posting on this thread. I was starting to despair about getting to the 4 hour newbie mark.

I've been testing the miner on several different pools. I've been getting anywhere from 50-100% stales, and even invalid shares.

I attach some images here for you to see.

https://i.imgur.com/X6wqWb0.png
https://i.imgur.com/hniLGEd.png

I run a GTX680 card and would also like to know how I can increase performance (newbie user here)

I currently just run the program with the following command in the command prompt:

cudaminer.exe -o http://ltc.kattare.com:9332 -O username.1:password

I really appreciate you taking the time out to answer this. Cheers!


Title: Re: CUDAminer problem
Post by: Lacan82 on April 10, 2013, 03:16:21 AM
cbuchner1, its good to see you posting on this thread. I was starting to despair about getting to the 4 hour newbie mark.

I've been testing the miner on several different pools. I've been getting anywhere from 50-100% stales, and even invalid shares.

I attach some images here for you to see.

https://i.imgur.com/X6wqWb0.png
https://i.imgur.com/hniLGEd.png

I run a GTX680 card and would also like to know how I can increase performance (newbie user here)

I currently just run the program with the following command in the command prompt:

cudaminer.exe -o http://ltc.kattare.com:9332 -O username.1:password

I really appreciate you taking the time out to answer this. Cheers!

Which version are you using? Previous version had high stale/reject rates  the 4-09 version has a very low rate maybe 2%?

If you're not using the newest one..then it would decrease your performance.

Please note the version released today was updated a couple times by Christian.  May want to download it again to make sure you have the newest one


You can also use -D to get the autotuning log and paste it here. It may be selecting an invalid setting for your card.



Title: Re: CUDAminer problem
Post by: colonelmustard on April 10, 2013, 03:41:06 AM

Which version are you using? Previous version had high stale/reject rates  the 4-09 version has a very low rate maybe 2%?

If you're not using the newest one..then it would decrease your performance.

Please note the version released today was updated a couple times by Christian.  May want to download it again to make sure you have the newest one

You can also use -D to get the autotuning log and paste it here. It may be selecting an invalid setting for your card.


Thanks for the quick reply. Didn't realize he had updated the version. Re-downloaded and running. Will keep this thread updated if I continue to run into further errors.

Cheers!


Title: Re: CUDAminer problem
Post by: colonelmustard on April 10, 2013, 03:57:04 AM
Running the newer version now. So far, the stales seem to be lower.

However, the hashrate recorded on the server pool end seems to be about half of the speed I'm at client side.

See here: https://i.imgur.com/wc4TRhm.png

Any reason this may be the case?


Title: Re: CUDAminer problem
Post by: Lacan82 on April 10, 2013, 03:59:11 AM
Running the newer version now. So far, the stales seem to be lower.

However, the hashrate recorded on the server pool end seems to be about half of the speed I'm at client side.

See here: https://i.imgur.com/wc4TRhm.png

Any reason this may be the case?

It is how the server calculates. Let it run for a while it will get close to the hash rate you're seeing on the client.

My client says 165, but the server says 157. latency

the server I am using took about 10 minutes or more before it was reflecting my hash rate close to what I am getting now


Title: Re: CUDAminer problem
Post by: bugilt on April 10, 2013, 04:12:44 AM
What kind of performance would I get from a gtx 560 fermi?

Is it possible to allow the gpu to use system memory?


Title: Re: CUDAminer problem
Post by: colonelmustard on April 10, 2013, 05:55:13 AM

It is how the server calculates. Let it run for a while it will get close to the hash rate you're seeing on the client.

My client says 165, but the server says 157. latency

the server I am using took about 10 minutes or more before it was reflecting my hash rate close to what I am getting now

Yes, I understand that it takes some time for the server hash rate to match or approximate to the client end. I don't think that's the issue with me though.

1.4 hours in, and its still the same. See here: https://i.imgur.com/rmmw9xF.png

Also, I have another rig (a mirror rig which I set up for a friend with a GTX680) which is being tested on another pool with similar results.

With regards to latency, I'm on a fiber connection and my latency to the pool server hovers between 5-8ms.

Stales have gone down somewhat - now hovering between 15-25%, which is better than previously.

Ideas?


Title: Re: CUDAminer problem
Post by: Lacan82 on April 10, 2013, 11:06:39 AM
What kind of performance would I get from a gtx 560 fermi?

Is it possible to allow the gpu to use system memory?

No one has tested at 560 yet. My 570 is getting 165



Title: Re: CUDAminer problem
Post by: crazymaso on April 10, 2013, 11:22:19 AM
Seem to be having similar problems to people above.

I've downloaded the latest version, the autoconfig actually works pretty nice.

I have one issue that I CANNOT work out for the absolute life of me. Either I'm plain stupid, misread something, or something I'm doing is wrong.

So first of all, everything connects fine etc it says it detects my GPU, says it's using my GPU...everything is fine at this point.

However - my GPU is not being used at all to mine. It's 0%, meanwhile my CPU is being used (25%, goes higher if I use the computer obviously). So the problem I have is the miner is using my CPU instead of my GPU.

This happened with another couple of programs I tested as well. Using GUIMiner for BTC uses GPU fine though.

Is this happening to anyone else?


Title: Re: CUDAminer problem
Post by: Lacan82 on April 10, 2013, 11:30:42 AM
Seem to be having similar problems to people above.

I've downloaded the latest version, the autoconfig actually works pretty nice.

I have one issue that I CANNOT work out for the absolute life of me. Either I'm plain stupid, misread something, or something I'm doing is wrong.

So first of all, everything connects fine etc it says it detects my GPU, says it's using my GPU...everything is fine at this point.

However - my GPU is not being used at all to mine. It's 0%, meanwhile my CPU is being used (25%, goes higher if I use the computer obviously). So the problem I have is the miner is using my CPU instead of my GPU.

This happened with another couple of programs I tested as well. Using GUIMiner for BTC uses GPU fine though.

Is this happening to anyone else?

update graphic drivers, also what commands are you using to launch?


Title: Re: CUDAminer problem
Post by: crazymaso on April 10, 2013, 11:33:35 AM
Updating now.

At the moment I'm letting the autotune do it's work. Of course I'm entering the commands so it connects etc.

Should I try manual config?

I tried using GUIMiner scrypt by Taco, but same thing happens - just CPU Usage only.

If you have suggestions please let me know. I'll post back how I go after I update drivers.


Title: Re: CUDAminer problem
Post by: crazymaso on April 10, 2013, 12:15:44 PM
UPDATE:

Updating GPU actually worked. GPU Usage is being used as it should be, but CPU usage is still way too high. It's always at 25%, but higher when it utilizes another core. It makes the computer pretty laggy - it's a new i5 core by the way (about 2 weeks old).

Going to play around with manual config.

Anyone give me some pointers?

Thanks


Title: Re: CUDAminer problem
Post by: colonelmustard on April 10, 2013, 12:20:15 PM
UPDATE:

Updating GPU actually worked. GPU Usage is being used as it should be, but CPU usage is still way too high. It's always at 25%, but higher when it utilizes another core. It makes the computer pretty laggy - it's a new i5 core by the way (about 2 weeks old).

Going to play around with manual config.

Anyone give me some pointers?

Thanks

Interestingly, I checked on this as well. I have an i7-3770k as well as a 680gtx. I too am getting a ~24-28% on CPU usage. So this is not an isolated incident, nor is it chipset (i5, i7) related, nor is it driver related (i am running whql 3.14)

Anyone else have any ideas?


Title: Re: CUDAminer problem
Post by: crazymaso on April 10, 2013, 12:37:42 PM
UPDATE:

Updating GPU actually worked. GPU Usage is being used as it should be, but CPU usage is still way too high. It's always at 25%, but higher when it utilizes another core. It makes the computer pretty laggy - it's a new i5 core by the way (about 2 weeks old).

Going to play around with manual config.

Anyone give me some pointers?

Thanks

Interestingly, I checked on this as well. I have an i7-3770k as well as a 680gtx. I too am getting a ~24-28% on CPU usage. So this is not an isolated incident, nor is it chipset (i5, i7) related, nor is it driver related (i am running whql 3.14)

Anyone else have any ideas?

After playing around with the settings, I can't seem to find an option that you can edit CPU threads or optimisation. If this isn't an isolated incident, I'm assuming it's coded and programmed this way?


Title: Re: CUDAminer problem
Post by: colonelmustard on April 10, 2013, 03:38:48 PM
Speaking of which, how can I get out of "newbie" mode. Already messaged in the appropriate thread, but still no word. Bleargh.


Title: Re: CUDAminer problem
Post by: TheBigYak on April 10, 2013, 03:55:51 PM
Speaking of which, how can I get out of "newbie" mode. Already messaged in the appropriate thread, but still no word. Bleargh.

Got to get to 5 posts and then you'll be auto-promoted when the next cycle runs (typically every 15 minutes I believe)


Title: Re: CUDAminer problem
Post by: colonelmustard on April 11, 2013, 05:22:35 AM
Got to get to 5 posts and then you'll be auto-promoted when the next cycle runs (typically every 15 minutes I believe)

Hey man, already have twice as many posts, and still no word.

Out of curiosity, whats the most efficient miner for a crossfire-radeon system (for litecoin)?


Title: Re: CUDAminer problem
Post by: zyk0 on April 11, 2013, 08:22:31 PM
Tried out the 4/10 release of cudaminer
Performance has definately improved on my 600 series cards, but CPU usage is way up.
but my GTX 275s went down 10% (from 45 to 40 kh/s)
Perhaps another prefix for the old kernel w/ smaller memory moves would be in order.


Title: Re: CUDAminer problem
Post by: logdog16 on April 12, 2013, 04:19:18 AM
I am now getting 170 on my GTX 670


Title: Re: CUDAminer problem
Post by: nivnambian on April 16, 2013, 08:25:23 AM
First off, absolutely great job with this cudaminer development!

For interest sake, these are some of the results i have seen:
GPU: gtx 460 (OC to 920Mhz with MSI AfterBurner)

GUIMiner: ~65kh/s
Cudaminer 9-4-2013 (56x2): ~95kh/s
Cudaminer 10-4-2013 (56x2): ~124kh/s
Cudaminer 14-4-2013 (14x8): ~127-133kh/s

Virtually a 100% improvement is truly incredible.

One thing I have noticed though, and would just like to check whether its normal or not, is that with 14-4-2013 my gpu seems to run at anywhere between 92 - 100%, giving me an average speed of ~127kh/s (changing between interactive modes does not change this). However, if i open, say, my browser while mining, then my gpu usage is consistently at 100%. This seems expected, but what is not expected is that my hash rate all of a sudden jumps to ~133kh/s!

Is this normal behaviour? Is cudaminer running faster because the gpu is being forced to run at max with the browser open? If so, would it not make sense to simply make cudaminer consistently use 100% of the gpu (assuming of course that my PC is not just crazy and likes to do wierd things :) )

I only ask because i have not yet anyone else report this, and maybe I am seeing something that does not matter.

Thanks again, for all the amazing work.


Title: Re: CUDAminer problem
Post by: Lacan82 on April 16, 2013, 11:09:38 AM
First off, absolutely great job with this cudaminer development!

For interest sake, these are some of the results i have seen:
GPU: gtx 460 (OC to 920Mhz with MSI AfterBurner)

GUIMiner: ~65kh/s
Cudaminer 9-4-2013 (56x2): ~95kh/s
Cudaminer 10-4-2013 (56x2): ~124kh/s
Cudaminer 14-4-2013 (14x8): ~127-133kh/s

Virtually a 100% improvement is truly incredible.

One thing I have noticed though, and would just like to check whether its normal or not, is that with 14-4-2013 my gpu seems to run at anywhere between 92 - 100%, giving me an average speed of ~127kh/s (changing between interactive modes does not change this). However, if i open, say, my browser while mining, then my gpu usage is consistently at 100%. This seems expected, but what is not expected is that my hash rate all of a sudden jumps to ~133kh/s!

Is this normal behaviour? Is cudaminer running faster because the gpu is being forced to run at max with the browser open? If so, would it not make sense to simply make cudaminer consistently use 100% of the gpu (assuming of course that my PC is not just crazy and likes to do wierd things :) )

I only ask because i have not yet anyone else report this, and maybe I am seeing something that does not matter.

Thanks again, for all the amazing work.

He set it up to cudaminer checks for valid data. meaning a little higher CPU load to do this. It allows you to know if it actually working or not.


Title: Re: CUDAminer problem
Post by: Lacan82 on April 16, 2013, 12:38:20 PM
In case any one can use this info:

Two Msi 660Ti (stock OC)
cudaminer 2013.04.09

autotune always finds 147x2 best, so I set it myself:
cudaminer --no-autotune -l 147x2 --device 0 -t 1 -o localhost:8332 -O username:password
cudaminer --no-autotune -l 147x2 --device 1 -t 1 -o localhost:8332 -O username:password

One mines 24x7, other - only when I don't mind the desktop lag :)
I get around 128-135kH/s from each, which is about 20 more than anything else. Only problem is cudaminer crashes nvidia driver everytime I quit it.

P.s. I mine on coinotron and use a proxy with this:
mining_proxy -pa scrypt -o coinotron.com -p 3334
It took me ages to find one that works for LTC here: https://github.com/CryptoManiac/stratum-mining-proxy
Maybe now someone will google this and be happy :)

I would fiddle with the -m 1 command with autotuning

I did this and was able to get another 10K out of my card







Title: Re: CUDAminer problem
Post by: Lacan82 on April 20, 2013, 08:52:40 PM


I would fiddle with the -m 1 command with autotuning

I did this and was able to get another 10K out of my card


-m ? cudaminer doesn't seem to have such a command, or did I miss something?

an updated version of cudaminer :)


Title: Re: CUDAminer problem
Post by: Lacan82 on April 21, 2013, 02:34:37 PM

an updated version of cudaminer :)

Great haven't noticed an update.. THANKS! I got 130 to 150-160 just by updating, also now I can quit without a driver crash :).
-m 1 (or -m 0) make no difference.

try -i 0 as well


Title: Re: CUDAminer problem
Post by: Rayce185 on August 08, 2013, 11:28:14 AM
Hello guys!
I'm new here and just got into Bitcoin Mining today...
The card I'm running with is a 660ti.

I tried out 50Miner and the rpcminer-mod. Both of them worked and I received shares from them, but compared to CUDAminer the speed wasn't the same, running around 110kH/s.
CUDAminer runs with up to 180, but I'm not receiving any shares at all, they all show as invalid =/

the current command line contains " -i 1 -C 0 -l 145x2 ". I'm running the newest version, the most recent drivers and turning off the firewall didn't help either... any help? =(

https://i.imgur.com/VGuY6EW.png
https://i.imgur.com/4ZxX41d.png


Thanks in advance!


Title: Re: CUDAminer problem
Post by: Lacan82 on August 08, 2013, 10:16:14 PM
Hello guys!
I'm new here and just got into Bitcoin Mining today...
The card I'm running with is a 660ti.

I tried out 50Miner and the rpcminer-mod. Both of them worked and I received shares from them, but compared to CUDAminer the speed wasn't the same, running around 110kH/s.
CUDAminer runs with up to 180, but I'm not receiving any shares at all, they all show as invalid =/

the current command line contains " -i 1 -C 0 -l 145x2 ". I'm running the newest version, the most recent drivers and turning off the firewall didn't help either... any help? =(

https://i.imgur.com/VGuY6EW.png
https://i.imgur.com/4ZxX41d.png


Thanks in advance!

Cudaminer is scrypt based...Only works with Scrypt based coins like litecoin.  Bitcoin uses SHA256