Bitcoin Forum
May 25, 2024, 06:44:38 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: CGMiner 7950 StartMining.bat - What am I missing? Only getting 300KH/s scrypt  (Read 14430 times)
peonminer (OP)
Hero Member
*****
Offline Offline

Activity: 798
Merit: 531


Crypto is King.


View Profile
May 20, 2013, 08:13:36 PM
 #1

CGMiner 2.8.2
AMD 12.8
SDK 2.7

Seasonic Gold 80+ 1250W Modular
Corsair 4GB DDR 3 1666MHZ
ASUS M5A97 R2.0
500 GB Laptop Drive (soon to be replaced by a 60GB SSD OCZ)
Sempron 145 O/C'd to 3.6 GHz stable. MOBO has built in auto O/C features.
MICRO USB EDIMAX WIFI N

.bat looks like

setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
cgminer --scrypt -o http://binarycoins.eu:9333/ -u p -p 1 -I 13 --shaders 1792 -g 1 --gpu-threads 2 --thread-concurrency 7168 --lookup-gap 2 --worksize 256

What am I missing? I can only pull 300KH/s per card. With -I 20 I can pull 670KH/s per card with all HW errors.

I just did a fresh install of windows, turned auto updates off. If that makes any difference. I am having trouble understanding --shaders XXXX and --thread-concurrency XXXX

Cgminer let me set the TC to 25088 before I started giving mem value too high for cgminer. Had to drop it back to 7168. When I changed the value my kh/s went unaffected. Am I missing a command somewhere? Is --aggression the same as intensity? Any other commands I should try? This is mind boggling since I've ran them @600khs each no problem. I was a retard and didn't save my .bat compilation before formatting. Should I try different drivers? Different version of cgminer?

Changed settings again, same results. :/ Why is CGMiner going GIMPY on me?



Suggestions please.

I can't get these cards to act right!  Cry
phrozenspite
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250



View Profile WWW
May 20, 2013, 09:26:27 PM
 #2

try playing around with thread concurrency(the shaders parameter isn't necessary) and it's possible 4 gigs of ram may not be enough for 3 cards

peonminer (OP)
Hero Member
*****
Offline Offline

Activity: 798
Merit: 531


Crypto is King.


View Profile
May 20, 2013, 09:34:06 PM
 #3

I thought the amount of ram was 1GB per card with CGMiner? Reaper has a bug that requires equal MB RAM to GPU RAM, correct? Well, I have an extra stick of 4GB I can try when I get home tonight. Although, my RAM monitor only shows 29% used when CGMiner is running....

Do I need to add -aggression XX argument to .bat? Or anything for that matter?
LostDutchman
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile WWW
May 20, 2013, 09:35:11 PM
 #4

try playing around with thread concurrency(the shaders parameter isn't necessary) and it's possible 4 gigs of ram may not be enough for 3 cards

I use 2gigs per card.

Works well for me.

Corporations For Crypto
Protect Your Assets and Reduce Your Tax Liability With A Kansas Corporation!
We Demand Justice From BFL
peonminer (OP)
Hero Member
*****
Offline Offline

Activity: 798
Merit: 531


Crypto is King.


View Profile
May 20, 2013, 09:44:18 PM
 #5

try playing around with thread concurrency(the shaders parameter isn't necessary) and it's possible 4 gigs of ram may not be enough for 3 cards

I use 2gigs per card.

Works well for me.

Does anyone know the maximum thread concurrency CGMiner will allow? Should I follow the rule of 'Shaders times X = Set Thread Concurrency Value' ?

Also, wouldn't my RAM usage show 100% if CGMiner was using all of it trying to run the 3 cards?
phrozenspite
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250



View Profile WWW
May 21, 2013, 10:28:10 AM
 #6

that is if the ram is populated, i think with GPUs the OS usually reserves addressable space.  Also i forgot to ask, are you using a 32bit or 64 bit os? because a 32 bit one limits you at roughly 3.5 gigs, which includes GPUs, and any background programs/os

erk
Hero Member
*****
Offline Offline

Activity: 826
Merit: 500



View Profile
May 21, 2013, 10:32:36 AM
Last edit: May 21, 2013, 10:44:25 AM by erk
 #7

You can tell when people haven't read the cgminer readme.

thread concurrency overrides shaders no point having both in the startup script.

try

Code:
@echo on
ECHO "cgminer miner startup"
ECHO.
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1

cgminer.exe --scrypt    --auto-fan --gpu-powertune 20 -w 256 -g 2 -I 13 --thread-concurrency 8192 --lookup-gap 2 --queue 0

Keep increasing I from 13 until you start getting HW errors. Don't forget to delete .bin files. I get about 615KH/s from a Gigabyte 7950 with those settings.



Rubberduckie
Legendary
*
Offline Offline

Activity: 1442
Merit: 1000



View Profile
May 21, 2013, 10:36:21 AM
 #8

CGMiner 2.8.2
AMD 12.8
SDK 2.7

Seasonic Gold 80+ 1250W Modular
Corsair 4GB DDR 3 1666MHZ
ASUS M5A97 R2.0
500 GB Laptop Drive (soon to be replaced by a 60GB SSD OCZ)
Sempron 145 O/C'd to 3.6 GHz stable. MOBO has built in auto O/C features.
MICRO USB EDIMAX WIFI N

.bat looks like

setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
cgminer --scrypt -o http://binarycoins.eu:9333/ -u p -p 1 -I 13 --shaders 1792 -g 1 --gpu-threads 2 --thread-concurrency 7168 --lookup-gap 2 --worksize 256

What am I missing? I can only pull 300KH/s per card. With -I 20 I can pull 670KH/s per card with all HW errors.

I just did a fresh install of windows, turned auto updates off. If that makes any difference. I am having trouble understanding --shaders XXXX and --thread-concurrency XXXX

Cgminer let me set the TC to 25088 before I started giving mem value too high for cgminer. Had to drop it back to 7168. When I changed the value my kh/s went unaffected. Am I missing a command somewhere? Is --aggression the same as intensity? Any other commands I should try? This is mind boggling since I've ran them @600khs each no problem. I was a retard and didn't save my .bat compilation before formatting. Should I try different drivers? Different version of cgminer?

Changed settings again, same results. :/ Why is CGMiner going GIMPY on me?



Suggestions please.

I can't get these cards to act right!  Cry

With my 7950's  I leave thread concurrency up to CGMiner, shaders @ 1792 is good though

delete your CGMiner bin along with " --thread-concurrency 7168" in your Bat.file and start CGMiner again

stulowe
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
May 21, 2013, 10:40:12 AM
 #9

Thread concurrency 21792 works best for me on my sapphire 7950 with gpu threads at 1. Intensity 18 holds stable.
erk
Hero Member
*****
Offline Offline

Activity: 826
Merit: 500



View Profile
May 21, 2013, 10:45:57 AM
 #10

Thread concurrency 21792 works best for me on my sapphire 7950 with gpu threads at 1. Intensity 18 holds stable.
Depending on your system cgminer may not start at high thread concurrency, there are a lot of variables, what works on one system doesn't on another.
jerbroch
Newbie
*
Offline Offline

Activity: 39
Merit: 0


View Profile
May 21, 2013, 10:51:48 AM
 #11

CGMiner 2.8.2
AMD 12.8
SDK 2.7

Seasonic Gold 80+ 1250W Modular
Corsair 4GB DDR 3 1666MHZ
ASUS M5A97 R2.0
500 GB Laptop Drive (soon to be replaced by a 60GB SSD OCZ)
Sempron 145 O/C'd to 3.6 GHz stable. MOBO has built in auto O/C features.
MICRO USB EDIMAX WIFI N

.bat looks like

setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
cgminer --scrypt -o http://binarycoins.eu:9333/ -u p -p 1 -I 13 --shaders 1792 -g 1 --gpu-threads 2 --thread-concurrency 7168 --lookup-gap 2 --worksize 256

What am I missing? I can only pull 300KH/s per card. With -I 20 I can pull 670KH/s per card with all HW errors.

I just did a fresh install of windows, turned auto updates off. If that makes any difference. I am having trouble understanding --shaders XXXX and --thread-concurrency XXXX

Cgminer let me set the TC to 25088 before I started giving mem value too high for cgminer. Had to drop it back to 7168. When I changed the value my kh/s went unaffected. Am I missing a command somewhere? Is --aggression the same as intensity? Any other commands I should try? This is mind boggling since I've ran them @600khs each no problem. I was a retard and didn't save my .bat compilation before formatting. Should I try different drivers? Different version of cgminer?

Changed settings again, same results. :/ Why is CGMiner going GIMPY on me?

http://s14.postimg.org/7s0rcze0h/IMG_20130520_145654.jpg

Suggestions please.

I can't get these cards to act right!  Cry

I think you need to put -g 2 instead of -g 1
erk
Hero Member
*****
Offline Offline

Activity: 826
Merit: 500



View Profile
May 21, 2013, 10:59:46 AM
 #12


I think you need to put -g 2 instead of -g 1
only if you run thread concurrency down at 8192.

Hydroponica
Full Member
***
Offline Offline

Activity: 182
Merit: 100


fml


View Profile
May 21, 2013, 11:02:47 AM
 #13

Try a higher intensity. I have my I at 18, for my 7950, and I get around 550 KH/s, with no overclock

FredDag
Sr. Member
****
Offline Offline

Activity: 436
Merit: 250



View Profile
May 21, 2013, 11:04:34 AM
 #14

Hi OP.

I wrote a detailed post on how I fixed the same problem on my setup which is almost the same as yours, only diff is I have 2 7950s & *Mb ram.
https://bitcointalk.org/index.php?topic=205675.msg2152164#msg2152164

I'm not sure which of the changes I made fixed the problem, but what I would try with your setup is this...

Open a new CMD window and run the setx commands. then close that window, you don't need to run that again. The setx commands do not affect the windows they are run in, only windows opened later.
http://www.tomshardware.com/forum/57485-45-setting-environment-variables

setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1

Move the .bat settings to a cgminer.conf file. The one I used is in my post I linked to. Try that.
You will need to specify 3 GPU values where I have used 2.
"thread-concurrency" : "14336,14336,14336"

Reboot & Start CGMiner

You could also try using CGMiner 3.1

Let us know how it goes.
digitalindustry
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000


‘Try to be nice’


View Profile WWW
May 21, 2013, 11:37:28 AM
 #15

Hi OP.

I wrote a detailed post on how I fixed the same problem on my setup which is almost the same as yours, only diff is I have 2 7950s & *Mb ram.
https://bitcointalk.org/index.php?topic=205675.msg2152164#msg2152164

I'm not sure which of the changes I made fixed the problem, but what I would try with your setup is this...

Open a new CMD window and run the setx commands. then close that window, you don't need to run that again. The setx commands do not affect the windows they are run in, only windows opened later.
http://www.tomshardware.com/forum/57485-45-setting-environment-variables

setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1

Move the .bat settings to a cgminer.conf file. The one I used is in my post I linked to. Try that.
You will need to specify 3 GPU values where I have used 2.
"thread-concurrency" : "14336,14336,14336"

Reboot & Start CGMiner

You could also try using CGMiner 3.1

Let us know how it goes.

thread shoud be a 64 multiple of the memory bit memory bus in the 7xxx series 384-bit   384 x 64 = 24576 , but i use 24000 or 21792.

I run 4GB with 4 cards 7950 - no problem I had 8GB pulled 4GB ZERO change .

i'd set you GPU engine to 1060 - then put your I - 19, see what you get?

also google "worksize" and "lookup gap" you should make a conf file.

all cards but the display run about 620k# with 74 Deg - display about 500.

- Twitter @Kolin_Quark
nightminer
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
May 21, 2013, 01:03:06 PM
 #16



https://bitcointalk.org/index.php?topic=117221.0 - Consolidated Litecoin Mining Guide for 5xxx, 6xxx, and 7xxx GPUs

Most importantly


7xxx series cards
Use reaper or cgminer versions 2.11.3 and up (see update below).  Set thread_concurrency to somewhere slightly below 64 * bus_width_of_card_in_bits.  So, for a 7950, that would be 64 * 384 = 24576; ideal values are 21712 or 24000.  Find your bus width here: http://en.wikipedia.org/wiki/Southern_Islands_(GPU_family)

To find the optimum thread_concurrency for your card, you will need to search above and below this estimate ideal value and see what is fastest.


peonminer (OP)
Hero Member
*****
Offline Offline

Activity: 798
Merit: 531


Crypto is King.


View Profile
May 21, 2013, 04:32:20 PM
 #17

Thank you for all of the suggestions. I will try them one by one and report back.
Aggrophobia
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000



View Profile
May 21, 2013, 04:39:26 PM
 #18

-g 1 --gpu-threads 2

one or two but not both Wink
peonminer (OP)
Hero Member
*****
Offline Offline

Activity: 798
Merit: 531


Crypto is King.


View Profile
May 21, 2013, 05:14:28 PM
 #19

Final stats that worked are as follows:

Delete all .bin files associated with preferred version of CGMiner. I chose 3.1.1 due to recommendation and most up to date version.

Clear CGMiner .bat file.

add

cgminer --scrypt -o http://yourpooladdresshere.com:PORT# -u Miner.X -p XXX -I 7

Results were a new .bin file. The number after TC was 22400.

New .bat file.

add

cgminer --scrypt -o http://yourpooladdresshere.com:PORT# -u Miner.X -p XXX -I 13 -g 1 --thread-concurrency 22400

Results were an accepted connection, and correct hash rates in relation to O/C and -I XX command in .bat file.

Thank you for everyone's help. I'm sure this thread will help many more prospectors.  Wink


ohiwastedmylif
Member
**
Offline Offline

Activity: 98
Merit: 10



View Profile
May 21, 2013, 05:49:45 PM
 #20

I think some cards are just not as good as others.

I have the Sapphire 3gb 7950 and the most I can get regularly is 560Kh/s at i-18. People always claim to get over 600 but I have yet to get over 600 using countless settings. I think it is a matter of silicon lottery.

MΣC | MAvSLa1ZYpk3AsDeqj9njfVkaunJRDu2VZ
http://www.megacoin.co.nz/
Pages: [1] 2 »  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!