Bitcoin Forum

Bitcoin => Mining support => Topic started by: redmist on April 07, 2013, 09:00:57 PM



Title: Optimising 5850 Hash Rates
Post by: redmist on April 07, 2013, 09:00:57 PM
So I've got 2 5850's in my first rig, and I'm getting around 580mhash. I'm fairly happy with this but I think I can push a bit more out of it.
Originally I only had one card running and that was getting 370mh, so I reckon I could get it up to around 700mh with two.

These are the settings I have in my batch file:
start /D "C:/Users/MINER/Downloads/cgmine" cgminer.exe -o http://coinotron.com:8322 -u xxxxx -p xxxxx--intensity 10 --worksize 128 --shaders 1440 --thread-concurrency 5670 --gpu-engine 775 --gpu-memclock 775

I've messed around with pretty much every setting. These are the best values I can find, and I must have tried at least 100 different variations now  :-\

If someone could suggest how to improve my hash speed that would be great. Just wanna push it a little bit more.
Cheers guys
-redmist


Title: Re: Optimising 5850 Hash Rates
Post by: crazyates on April 07, 2013, 09:15:58 PM
These are the settings I have in my batch file:
start /D "C:/Users/MINER/Downloads/cgmine" cgminer.exe -o http://coinotron.com:8322 -u xxxxx -p xxxxx--intensity 10 --worksize 128 --shaders 1440 --thread-concurrency 5670 --gpu-engine 775 --gpu-memclock 775

The --shaders and --thread-concurrency options are only good for LTC mining, and do nothing for BTC mining. Also, you want a low mem speed, and high engine (core) speed. Try this:

start /D "C:/Users/MINER/Downloads/cgminer" cgminer.exe -o http://coinotron.com:8322 -u xxxxx -p xxxxx -k phatk -I 8 -w 128 -v 1 --auto-gpu --auto temp --gpu-fan 25-85 --gpu-engine 600-800 --gpu-memclock 300


Title: Re: Optimising 5850 Hash Rates
Post by: panda1 on April 07, 2013, 09:23:43 PM
Extra fans and good airflow would help too.


Title: Re: Optimising 5850 Hash Rates
Post by: redmist on April 08, 2013, 06:25:37 AM
Try this:

start /D "C:/Users/MINER/Downloads/cgminer" cgminer.exe -o http://coinotron.com:8322 -u xxxxx -p xxxxx -k phatk -I 8 -w 128 -v 1 --auto-gpu --auto temp --gpu-fan 25-85 --gpu-engine 600-800 --gpu-memclock 300

Only getting around 430khash now. Seems a bit strange. Any other suggestions?


Title: Re: Optimising 5850 Hash Rates
Post by: redmist on April 08, 2013, 06:49:31 PM
Anyone? Hoping to reach about 700mhash.


Title: Re: Optimising 5850 Hash Rates
Post by: redmist on April 09, 2013, 06:53:54 AM
Actually, if anyone could tell me how to improve my khash that would be great. These are my current settings:
cgminer --scrypt -o http://coinotron.com:8322 -u xxxxx -p xxxxx -d 0 -d 1 --shaders 1440,1440 --intensity 15,15 --worksize 256,256 -g 1 --thread-concurrency 5670,5670 --gpu-engine 775,725 --gpu-memclock 400,400 --temp-target 70 --gpu-fan 50-80

I'm getting around 585 khash. Want to push it up to 700.
Thanks guys.


Title: Re: Optimising 5850 Hash Rates
Post by: crazyates on April 09, 2013, 02:38:28 PM
I'm getting around 580mhash.
Originally I only had one card running and that was getting 370mh, so I reckon I could get it up to around 700mh with two.
Only getting around 430khash now. Seems a bit strange. Any other suggestions?
Anyone? Hoping to reach about 700mhash.
Actually, if anyone could tell me how to improve my khash that would be great. These are my current settings:

I'm getting around 585 khash. Want to push it up to 700.

OK hold up. You're being very sloppy with your labeling, so I don't know if you're trying to mine BTC or LTC. I see signs of both in your posts. If you're mining bitcoins, you would use the arguments I gave you. If you're mining LTC, then you would use different options, specifically the --scrypt --shaders --thread-concurrency and --lookup-gap, but really needs to be custom tuned as found HERE (https://bitcointalk.org/index.php?topic=28402.msg1635964#msg1635964).


Title: Re: Optimising 5850 Hash Rates
Post by: redmist on April 09, 2013, 03:15:06 PM
OK hold up. You're being very sloppy with your labeling, so I don't know if you're trying to mine BTC or LTC. I see signs of both in your posts. If you're mining bitcoins, you would use the arguments I gave you. If you're mining LTC, then you would use different options, specifically the --scrypt --shaders --thread-concurrency and --lookup-gap, but really needs to be custom tuned as found HERE (https://bitcointalk.org/index.php?topic=28402.msg1635964#msg1635964).

My apologies. Didn't realize I was getting so mixed up with them :D
Originally I was talking about mining PPcoin so I should have clarified.
Now I'm guessing I'd be better off mining Litecoin, so I'm trying to figure out the best settings for that now. Again, should have clarified, sorry :)

I've had a look through that thread before, but I can't seem to get the best hash rates. What you mentioned about improving bitcoin mining worked by the way. Restarted my pc, and I'm now getting a 30mhash improvement. Thanks!

For litecoin, the settings I posted today get me around 570khash. However trying various things like overclocking the core from 725 to 900 didn't work at all for some reason. I've tried changing the setting one by one, and 570 is the best I can get.


Title: Re: Optimising 5850 Hash Rates
Post by: crazyates on April 09, 2013, 04:04:41 PM
My apologies. Didn't realize I was getting so mixed up with them :D
Originally I was talking about mining PPcoin so I should have clarified.
Now I'm guessing I'd be better off mining Litecoin, so I'm trying to figure out the best settings for that now. Again, should have clarified, sorry :)

I've had a look through that thread before, but I can't seem to get the best hash rates. What you mentioned about improving bitcoin mining worked by the way. Restarted my pc, and I'm now getting a 30mhash improvement. Thanks!

For litecoin, the settings I posted today get me around 570khash. However trying various things like overclocking the core from 725 to 900 didn't work at all for some reason. I've tried changing the setting one by one, and 570 is the best I can get.
Remember to delete any .bin files in the CGMiner folder whenever you change any settings. BTC mining is a little more straightforward in saying "Here are the settings you want". There are a couple of variables, but they're all manageable, and predictable.

LTC mining, OTOH, is not predictable. 2 GPUs in 2 computers can be running at the exact same settings, and get different hashrates.


Title: Re: Optimising 5850 Hash Rates
Post by: redmist on April 10, 2013, 06:31:16 AM
Remember to delete any .bin files in the CGMiner folder whenever you change any settings. BTC mining is a little more straightforward in saying "Here are the settings you want". There are a couple of variables, but they're all manageable, and predictable.

LTC mining, OTOH, is not predictable. 2 GPUs in 2 computers can be running at the exact same settings, and get different hashrates.

Deleted the bin files, stopped getting a few annoying errors now thanks! Hasn't done much for speed, but I guess I've got to go through the whole process of trial and error again, but whilst deleting the bin files at the same time.


Title: Re: Optimising 5850 Hash Rates
Post by: grue on April 10, 2013, 02:14:12 PM
Your gpu core clock is way too low, you can usually overclock above 900 mhz without voltage adjustments
Your mem clock is too low. scrypt mining is memory intensive, unlike sha256. my 5850s can get 1200+ mhz memory without any voltage adjustments.


Title: Re: Optimising 5850 Hash Rates
Post by: redmist on April 10, 2013, 08:09:25 PM
Your gpu core clock is way too low, you can usually overclock above 900 mhz without voltage adjustments
Your mem clock is too low. scrypt mining is memory intensive, unlike sha256. my 5850s can get 1200+ mhz memory without any voltage adjustments.
Yeah I know the core clock is too low, but as I said earlier, I was increasing it and the hash rate wasn't increasing at all, so I left it down. Didn't realise you had to delete bin files, so I'm gonna go through the whole process again.


Title: Re: Optimising 5850 Hash Rates
Post by: grue on April 10, 2013, 10:13:52 PM
Your gpu core clock is way too low, you can usually overclock above 900 mhz without voltage adjustments
Your mem clock is too low. scrypt mining is memory intensive, unlike sha256. my 5850s can get 1200+ mhz memory without any voltage adjustments.
Yeah I know the core clock is too low, but as I said earlier, I was increasing it and the hash rate wasn't increasing at all, so I left it down. Didn't realise you had to delete bin files, so I'm gonna go through the whole process again.
my configs: 900 core, 1250 mem, thread-concurrency 7200 and i get 350-360 kh/s per card


Title: Re: Optimising 5850 Hash Rates
Post by: redmist on April 11, 2013, 07:02:43 AM
my configs: 900 core, 1250 mem, thread-concurrency 7200 and i get 350-360 kh/s per card
Ok great!
Will be sure to try this, thanks. I'll post what hash rate I get later.


Title: Re: Optimising 5850 Hash Rates
Post by: redmist on April 11, 2013, 11:12:02 AM
Just a quick question. I have three cards in my rig at the moment. Just a bit confused on why I can't alter the fan speeds on them.
I put the argument: --temp-target 75 --gpu-fan 50-90
And the temperature on one of them is 78, and fan speed is only at 38%. I've tried restarting my pc and deleting the bin files, but the fan speed just isn't rising to keep my target temperature. Can anyone suggest why this is happening? And what I can do to increase my fan speed?
By the way, MSI Afterburner doesn't work for me for some reason. Don't know why but it just doesn't detect my graphics cards. So obvisouly I can't change the fan speed that way.


Title: Re: Optimising 5850 Hash Rates
Post by: qiuness on April 11, 2013, 09:38:29 PM
same here, set the fan argument and it's not taking


Title: Re: Optimising 5850 Hash Rates
Post by: crazyates on April 12, 2013, 02:52:22 AM
I put the argument: --temp-target 75 --gpu-fan 50-90
Did you add the --auto-fan ?


Title: Re: Optimising 5850 Hash Rates
Post by: redmist on April 12, 2013, 06:01:30 AM
Did you add the --auto-fan ?
Yep I've tried adding --auto-fan as well. But all three of the card's fans seem to have a mind of their own. 1 is at 45%, the other 50%, and the other 33%. Kind of annoying because its like 8C in my garage so I need to figure out how to increase fan speed before summer, otherwise I'll be hitting 90C :(


Title: Re: Optimising 5850 Hash Rates
Post by: gog1 on April 27, 2013, 04:26:30 PM
I find that on my 5850, if I've thread-concurrency > 4000, hashrate would plummet.  The memory on my card could not run much faster than stock either.  Stuck with only bitcoin mining on my cards.


Title: Re: Optimising 5850 Hash Rates
Post by: pekv2 on April 27, 2013, 04:40:56 PM
I was getting bored, glad someone needs help lol. I have nothing to do. :)

For litecoin mining, use cgminer.conf. [edit] I am also using 13.5 beta 2 amd driver http://support.amd.com/us/gpudownload/windows/Pages/radeonaiw_vista64.aspx [/edit]

Here is my cgminer.conf file but, add your pool username password etc, if you don't want to use a backup pool, remove the pool2 section.

Also, this config will overclock your 5850's to 944core and 1180memory. With a 75% fan speed. So, keep a close eye on your temps.
For 5k series cards you always want to overclock your cards at a certain ratio between core and memory. Explained here https://bitcointalk.org/index.php?topic=117221.0
Quote
Mining Litecoin

The major factor which impacts hash rate/hardware errors is the thread_concurrency.  The second most important factor for some cards is the ratio of core speed to memory speed.  Typically optimum values of thread_concurrency are a multiple of 64 and vary per card and per card family (see below).  The (core speed/memory speed) quotient should be 0.8 or less for 5xxx/6xxx cards and 0.7 or less for most 7xxx cards.  Some evidence suggests that different 7xxx cards may have different ideal core:memory clock ratios, too.

944core 1180memory is .8

This config hashes my 5850's @ 400.9 khash/s each, making both hash at 800.18khash/s.

Code:
{
"pools" : [
{
"url" : "pool1:port",
"user" : "username.x",
"pass" : "password"
},
{
"url" : "pool2:port",
"user" : "username.x",
"pass" : "password"
}
]
,
"intensity" : "19,19",
"thread-concurrency" : "5760,5760",
"vectors" : "1,1",
"worksize" : "256,256",
"kernel" : "scrypt,scrypt",
"gpu-fan" : "0-75,0-75",
"gpu-vddc" : "1.088,1.088",
"gpu-engine" : "0-944,0-944",
"gpu-memclock" : "1180,1180",
"gpu-memdiff" : "0,0",
"gpu-powertune" : "0,0",
"temp-cutoff" : "0,0",
"temp-overheat" : "95,95",
"temp-target" : "90,90",
"api-port" : "4028",
"expiry" : "120",
"gpu-dyninterval" : "7",
"gpu-threads" : "1",
"log" : "5",
"queue" : "1",
"retry-pause" : "5",
"scan-time" : "60",
"scrypt" : true,
"temp-hysteresis" : "3",
"shares" : "0",
"kernel-path" : "/usr/local/bin"
}


Title: Re: Optimising 5850 Hash Rates
Post by: gog1 on April 27, 2013, 05:00:07 PM
with intensity at 19, don't you get a high count of hw?  I see hw goes up when intensity > 12.


Title: Re: Optimising 5850 Hash Rates
Post by: pekv2 on April 27, 2013, 06:01:42 PM
with intensity at 19, don't you get a high count of hw?  I see hw goes up when intensity > 12.

mm not really. One card, card 1 gets hw errrors but not many, card 0 gets none.

Code:
 [P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 GPU 0:  70.5C 3406RPM | 399.0K/400.4Kh/s | A:6920 R:77 HW:0 U: 4.99/m I:19
 GPU 1:  71.5C 3311RPM | 400.5K/400.1Kh/s | A:6859 R:83 HW:1 U: 4.95/m I:19


Title: Re: Optimising 5850 Hash Rates
Post by: grue on April 27, 2013, 07:40:52 PM
keep in mind that setting -I too high will increase desktop lag, (may) increase number of stales, and (may) decrease hashrate.

https://github.com/ckolivas/cgminer/blob/master/SCRYPT-README
Code:
The
reason this is crucial is that too high an intensity can actually be
disastrous with scrypt because it CAN run out of ram. High intensities
start writing over the same ram and it is highly dependent on the GPU, but they
can start actually DECREASING your hashrate, or even worse, start producing
garbage with HW errors skyrocketing.

I run at -I 15 and I get no HW errors.


Title: Re: Optimising 5850 Hash Rates
Post by: pekv2 on April 27, 2013, 08:45:57 PM
Yes, I don't get any desktop lag, as I use my intel graphics hd 2000 as my dedicated source for desktop.


Title: Re: Optimising 5850 Hash Rates
Post by: gog1 on April 27, 2013, 09:57:17 PM
with intensity at 19, don't you get a high count of hw?  I see hw goes up when intensity > 12.

mm not really. One card, card 1 gets hw errrors but not many, card 0 gets none.

Code:
 [P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 GPU 0:  70.5C 3406RPM | 399.0K/400.4Kh/s | A:6920 R:77 HW:0 U: 4.99/m I:19
 GPU 1:  71.5C 3311RPM | 400.5K/400.1Kh/s | A:6859 R:83 HW:1 U: 4.95/m I:19

I'm jealous, my junky ATI 5850's that I pick up for cheap a couple of months ago - I can only OC the RAM by 60 MHz, core 140 MHz; have hw errors when intensity > 12.  I tried driver 12.6, 12.8, 13.x, not much difference.  Overvolt helps a little but runs very hot.  Currently stuck doing bitcoin mining.

Which driver is the best for litecoin mining?


Title: Re: Optimising 5850 Hash Rates
Post by: pekv2 on April 28, 2013, 12:23:17 AM
Depending on the card I suppose. But I liked 13.2 Beta 7 a lot, and when I switched over to 13.5 beta 2, I didn't notice any hash rate difference between the two for my 5850's.