Bitcoin Forum

Bitcoin => Mining => Topic started by: djex on April 18, 2011, 06:45:03 PM



Title: Mining with 5850, boost performance?
Post by: djex on April 18, 2011, 06:45:03 PM
I got a HD 5850 and currently I am getting 248~ Mhash/s with Stream 2.1 running on Windows 7 using poclbm. Is there anything I can do to get more out my card or is this the max this card will go? I know there is the overclocking option but CCC and MSI After Burner sucks for going anything over the set maximum factory clock. I tried ATI tools but for some reason it didn't want to load the driver. Will riva tuner work?

What are some recommendations?

Also will switching to Ubuntu 10.10 have any difference?


Title: Re: Mining with 5850, boost performance?
Post by: yomi on April 18, 2011, 08:53:41 PM
Try to add these params to poclbm:

-v -w 128

If you just use the machine for mining, you can add also -f 1

Personally I also use a 5850 for mining in ubuntu 10.10. In ubuntu you can use the aticonfig command to change the clock of the card. I think Windows allows more possibilities for over/underclocking the card and the memory clock.

I get 270 Mhashes/sec in ubuntu with the params I mentioned, I can get over 300 Mhashes/sec changing the clock with aticonfig, but temp increases too much so normally I keep it at the stock 765 Mhz clock.

Good luck!


Title: Re: Mining with 5850, boost performance?
Post by: rezin777 on April 18, 2011, 09:17:55 PM
You may need to flash your BIOS to increase the overclocking potential. Afterburner will go as far as you want it to if the BIOS permits.


Title: Re: Mining with 5850, boost performance?
Post by: koin on April 19, 2011, 12:49:32 AM
http://www.sapphiretech.com/ssc/TriXX/


Title: Re: Mining with 5850, boost performance?
Post by: djex on April 19, 2011, 01:12:54 AM
Thanks yomi the -f 1 got me an extra 2Mhash. I was already using the -v -w 128. Going to give Ubuntu a try.

What is a safe temperature for a card that is mining?


Title: Re: Mining with 5850, boost performance?
Post by: Elanzer on April 19, 2011, 01:56:23 AM
Safe is more or less below 85'c for 24/7 mining.

Using MSI Afterburner you can unlock frequencies fully by editing the cfg file in the afterburner folder (should find this on google quick), so it will let you set your core clocks anywhere up to stupidly high amounts (ie: 1.3ghz). Pretty much any 40nm ATI card can expect atleast 900mhz core.


Title: Re: Mining with 5850, boost performance?
Post by: grndzero on April 19, 2011, 04:50:03 AM
Currently running at slightly below 70C at 70% fan speed and the case open.


Title: Re: Mining with 5850, boost performance?
Post by: djex on April 19, 2011, 05:27:44 AM
Currently running at slightly below 70C at 70% fan speed and the case open.

How did you get your core to 900 Mhz in Ubuntu? I can't go above 775 Mhz on my core with aticonfig. Are you using a custom program?


Title: Re: Mining with 5850, boost performance?
Post by: yomi on April 19, 2011, 05:49:28 AM
Currently running at slightly below 70C at 70% fan speed and the case open.

How did you get your core to 900 Mhz in Ubuntu? I can't go above 775 Mhz on my core with aticonfig. Are you using a custom program?

In Ubuntu when I run
Code:
DISPLAY=:0 sudo aticonfig --odgc --adapter=all
I get this:
Code:
Adapter 0 - ATI Radeon HD 5800 Series 
                            Core (MHz)    Memory (MHz)
           Current Clocks :    790           1000
             Current Peak :    790           1000
  Configurable Peak Range : [765-918]     [1000-1200]
                 GPU load :    99%

Which means you can change the core clock in the 765-918 range and the memory clock in the 1000-1200 range.

So to change the core clock for instance to 800 Mhz:

Code:
DISPLAY=:0 sudo aticonfig --odsc=800,1000





Title: Re: Mining with 5850, boost performance?
Post by: gigabytecoin on April 19, 2011, 07:05:12 AM
http://www.sapphiretech.com/ssc/TriXX/

Does this bear any weight at all? Never heard of trixx, seems to be a sapphire dependent technology. Have you noticed an increased hash rate?


Title: Re: Mining with 5850, boost performance?
Post by: grndzero on April 19, 2011, 09:43:32 AM
Currently running at slightly below 70C at 70% fan speed and the case open.

How did you get your core to 900 Mhz in Ubuntu? I can't go above 775 Mhz on my core with aticonfig. Are you using a custom program?

The 5850 BIOS would lock up on mine at 875.
I actually flashed the BIOS to 5870 to get 900 Mhz from http://www.techpowerup.com/vgabios/61848/ATI.HD5870.1024.091112.html
(My cards are Reference, not DirectCU. Not sure if it matters for the the BIOS)

This is my script for setting the clocks:

export DISPLAY=:0.0
aticonfig --od-enable
aticonfig --odsc 900,1000 --adapter=all

And for fans:

export DISPLAY=:0.0
aticonfig --pplib-cmd "set fanspeed 0 70" (second number is fan speed percentage)
(if using a second card then do)
export DISPLAY=:0.1
aticonfig --pplib-cmd "set fanspeed 0 70"


Title: Re: Mining with 5850, boost performance?
Post by: bitcoindaddy on April 19, 2011, 02:23:17 PM
Any reason why you chose 70 percent fan and not 100 percent? Does that add wear-and-tear?

My BIOS allows me to go up to 918 on by Gigabyte 5850, but I'm more interested in lowering the memory clock and haven't been able to do it under Ubuntu.  It won't let me go below 1000.  Oddly, under windows, I can lower the memory clock to 500 with Afterburner. Why can't I do it with aticonfig under Ubuntu?


Title: Re: Mining with 5850, boost performance?
Post by: Raulo on April 19, 2011, 02:48:07 PM
but I'm more interested in lowering the memory clock and haven't been able to do it under Ubuntu.  It won't let me go below 1000.  Oddly, under windows, I

Did you try this tool?
http://sourceforge.net/projects/amdovdrvctrl/

I was able to lower the memory clock below the limits. After using the program, you can then change the clock by aticonfig.


Title: Re: Mining with 5850, boost performance?
Post by: Grinder on April 19, 2011, 03:51:14 PM
I was able to lower the memory clock below the limits. After using the program, you can then change the clock by aticonfig.
Which card do you have? I've tried it on two different 5850 and a 5970 with no success.


Title: Re: Mining with 5850, boost performance?
Post by: djex on April 19, 2011, 03:57:30 PM
The 5850 BIOS would lock up on mine at 875.
I actually flashed the BIOS to 5870 to get 900 Mhz from http://www.techpowerup.com/vgabios/61848/ATI.HD5870.1024.091112.html
(My cards are Reference, not DirectCU. Not sure if it matters for the the BIOS)

This is my script for setting the clocks:

export DISPLAY=:0.0
aticonfig --od-enable
aticonfig --odsc 900,1000 --adapter=all

And for fans:

export DISPLAY=:0.0
aticonfig --pplib-cmd "set fanspeed 0 70" (second number is fan speed percentage)
(if using a second card then do)
export DISPLAY=:0.1
aticonfig --pplib-cmd "set fanspeed 0 70"

I have a XFX 5850 and it will only go to 775MHz core. Looks like I would have to reflash BIOS. Was hoping I wouldn't have to. If I flash the 5870 BIOS to my card are there any benefits other than giving me a higher clock setting? Like say if I wanted to use the card for gaming or something a few months from now. Would it effect it's performance at all?


Title: Re: Mining with 5850, boost performance?
Post by: Raulo on April 19, 2011, 04:35:01 PM
Which card do you have? I've tried it on two different 5850 and a 5970 with no success.

Standard 5850 with 725 MHz core and 1000 memory stock clocks. Before using this program, the available memclocks were 900-1300. Now, they are 300-1300. What kind of "no success" did you have? Any error message? You must set clockspeed for Level 2 not lower than for Level 1.


Title: Re: Mining with 5850, boost performance?
Post by: Grinder on April 19, 2011, 09:00:12 PM
What kind of "no success" did you have? Any error message? You must set clockspeed for Level 2 not lower than for Level 1.
If I set a GPU speed above the ones allowed by AMD (ie 775 for 5850), the program just hangs when it's supposed to set the speed. I have only tried batch mode as I don't have a full X installation.


Title: Re: Mining with 5850, boost performance?
Post by: Raulo on April 19, 2011, 09:10:47 PM
If I set a GPU speed above the ones allowed by AMD (ie 775 for 5850), the program just hangs when it's supposed to set the speed. I have only tried batch mode as I don't have a full X installation.

This is different because I could set GPU frequency up to 900 with aticonfig. There must be some BIOS variances.

I used the following config:

Code:
<?xml version="1.0" encoding="utf-8"?>
<OVERDRIVE_PROFILE>
  <PERFORMANCE_LEVEL level="2" gpu="85000" mem="30000" voltage="1088"/>
  <PERFORMANCE_LEVEL level="1" gpu="55000" mem="30000" voltage="1038"/>
  <PERFORMANCE_LEVEL level="0" gpu="15700" mem="30000" voltage="1000"/>
  <FAN_SETTING percentage="AUTO"/>
  <FAN_CTRL enabled="yes"/>
  <FAN_CTRL_CURVE type="0"/>
  <FAN_CTRL_POINT nr="0" temperature="2000" percentage="0"/>
  <FAN_CTRL_POINT nr="1" temperature="4000" percentage="2500"/>
  <FAN_CTRL_POINT nr="2" temperature="6000" percentage="5000"/>
  <FAN_CTRL_POINT nr="3" temperature="8000" percentage="7500"/>
  <FAN_CTRL_POINT nr="4" temperature="10000" percentage="10000"/>
  <MONITOR_SAMPLE_TIME interval="10"/>
  <COLOR_PROFILE enabled="no" longitude="-13.000000" latitude="52.000000" color_temp_day="130000" color_temp_night="68000" transition="30"/>
</OVERDRIVE_PROFILE>

I ran it without -b mode, just
Code:
export DISPLAY=:0
./AMDOverdriveCtrl ConfigFile

I could then Ctrl-C the program and the frequencies were set.  It works even via ssh session. However, if you have no X screen, you will not see if there is an error message so if you want to diagnose the problem, I'm afraid you'll need console access. I couldn't first run a different version of this config in the remote mode and only after I logged in console, I saw an error message complaining about lower frequency at level 2 than level 1.


Title: Re: Mining with 5850, boost performance?
Post by: grndzero on April 20, 2011, 12:05:57 AM
Any reason why you chose 70 percent fan and not 100 percent? Does that add wear-and-tear?

My BIOS allows me to go up to 918 on by Gigabyte 5850, but I'm more interested in lowering the memory clock and haven't been able to do it under Ubuntu.  It won't let me go below 1000.  Oddly, under windows, I can lower the memory clock to 500 with Afterburner. Why can't I do it with aticonfig under Ubuntu?


Because 100% from 2 cards and an open case are very loud! At the settings I'm at the cards both hover around 70C more than a safe temp.

I don't think you can mix high power and low power states in linux (at least yet). I never saw any has speed changes or temp changes from my cards when tweaking the memory speed within the boundaries that linux would let me.

EDIT: I have seen Raulo's link before. I haven't tried it yet.


Title: Re: Mining with 5850, boost performance?
Post by: grndzero on April 20, 2011, 12:13:47 AM
The 5850 BIOS would lock up on mine at 875.
I actually flashed the BIOS to 5870 to get 900 Mhz from http://www.techpowerup.com/vgabios/61848/ATI.HD5870.1024.091112.html
(My cards are Reference, not DirectCU. Not sure if it matters for the the BIOS)

This is my script for setting the clocks:

export DISPLAY=:0.0
aticonfig --od-enable
aticonfig --odsc 900,1000 --adapter=all

And for fans:

export DISPLAY=:0.0
aticonfig --pplib-cmd "set fanspeed 0 70" (second number is fan speed percentage)
(if using a second card then do)
export DISPLAY=:0.1
aticonfig --pplib-cmd "set fanspeed 0 70"

I have a XFX 5850 and it will only go to 775MHz core. Looks like I would have to reflash BIOS. Was hoping I wouldn't have to. If I flash the 5870 BIOS to my card are there any benefits other than giving me a higher clock setting? Like say if I wanted to use the card for gaming or something a few months from now. Would it effect it's performance at all?

As far as I can tell the only thing the 5870 BIOS does is up the voltage to get higher clock speeds, but creates some extra heat. The only real difference between the 50 and the 70 is the number of stream processors, most of the time it's the same logic board. I read quite a few articles before doing this and the reviews were positive, except for the people who bricked their card. I don't think you should notice any major differences in Windows, but I haven't tried it personally.

If you are going to flash the BIOS then make sure you have another video card accessible that you can use as a primary in case the flash goes bad. I had a few BIOS's from techpowerup that either didn't get along with the card or didn't get along with Linux and I had to save them with an extra card once or twice.


Title: Re: Mining with 5850, boost performance?
Post by: rezin777 on April 20, 2011, 12:40:26 AM
I have a XFX 5850 and it will only go to 775MHz core. Looks like I would have to reflash BIOS. Was hoping I wouldn't have to. If I flash the 5870 BIOS to my card are there any benefits other than giving me a higher clock setting? Like say if I wanted to use the card for gaming or something a few months from now. Would it effect it's performance at all?

Take care to make sure the BIOS you are flashing is compatible with your card. Many XFX are not reference boards and have different voltage regulators on the board.

It might be safer to use RBE to get the BIOS from your card and edit the overclocking limits yourself, then flash the edited BIOS back onto the card.


Title: Re: Mining with 5850, boost performance?
Post by: djex on April 20, 2011, 03:56:10 AM
I have a XFX 5850 and it will only go to 775MHz core. Looks like I would have to reflash BIOS. Was hoping I wouldn't have to. If I flash the 5870 BIOS to my card are there any benefits other than giving me a higher clock setting? Like say if I wanted to use the card for gaming or something a few months from now. Would it effect it's performance at all?

Take care to make sure the BIOS you are flashing is compatible with your card. Many XFX are not reference boards and have different voltage regulators on the board.

It might be safer to use RBE to get the BIOS from your card and edit the overclocking limits yourself, then flash the edited BIOS back onto the card.

Yeah did some searching looks like I don't have a reference model.... sigh. Oh well I am able to overclock in Windows with MSI Afterbuner (unlocked) to 900MHz core 1000MHz memory, I wish there was a way to do it in Ubuntu though. I get about ~299Mhash/s with it at those clocks in Windows using the -f 1 in poclbm. I assume if I were to use Ubuntu I could get 310Mhash/s or more.


Title: Re: Mining with 5850, boost performance?
Post by: grndzero on April 20, 2011, 05:54:14 AM
I have a XFX 5850 and it will only go to 775MHz core. Looks like I would have to reflash BIOS. Was hoping I wouldn't have to. If I flash the 5870 BIOS to my card are there any benefits other than giving me a higher clock setting? Like say if I wanted to use the card for gaming or something a few months from now. Would it effect it's performance at all?

Take care to make sure the BIOS you are flashing is compatible with your card. Many XFX are not reference boards and have different voltage regulators on the board.

It might be safer to use RBE to get the BIOS from your card and edit the overclocking limits yourself, then flash the edited BIOS back onto the card.

Yeah did some searching looks like I don't have a reference model.... sigh. Oh well I am able to overclock in Windows with MSI Afterbuner (unlocked) to 900MHz core 1000MHz memory, I wish there was a way to do it in Ubuntu though. I get about ~299Mhash/s with it at those clocks in Windows using the -f 1 in poclbm. I assume if I were to use Ubuntu I could get 310Mhash/s or more.

It doesn't have to be a Reference card specifically. There are all kinds of BIOS mods: http://www.techpowerup.com/vgabios/index.php?page=1&architecture=ATI&manufacturer=&model=HD+5870&interface=PCI-E&memSize=1024

My performance scaled pretty linearly. I get ~317 at 900, ~300Mh/s at 875, ~275 at 850, and ~250 at 825. I'm using -f 0 -v -w 128.

I'm not worried about the power tweaking too much.. I set mine up, got it working, and it's sitting in the corner doing it's thing. I hardly connect to it, just watch my balance on the pool site. I shut down a lot of unneeded services and can administer it and stop/restart any processes I need to from a remote connection.


Title: Re: Mining with 5850, boost performance?
Post by: NiLO on April 20, 2011, 12:22:38 PM
Quote

It doesn't have to be a Reference card specifically. There are all kinds of BIOS mods: http://www.techpowerup.com/vgabios/index.php?page=1&architecture=ATI&manufacturer=&model=HD+5870&interface=PCI-E&memSize=1024

My performance scaled pretty linearly. I get ~317 at 900, ~300Mh/s at 875, ~275 at 850, and ~250 at 825. I'm using -f 0 -v -w 128.

I'm not worried about the power tweaking too much.. I set mine up, got it working, and it's sitting in the corner doing it's thing. I hardly connect to it, just watch my balance on the pool site. I shut down a lot of unneeded services and can administer it and stop/restart any processes I need to from a remote connection.


Using the standard voltage as much as I can is 820 MHz and 250 Mh / s with the temperature at 70 ° C
What voltage do you use on 900 mhz? And what temperature is it?


Title: Re: Mining with 5850, boost performance?
Post by: djex on April 20, 2011, 04:21:12 PM
Using the standard voltage as much as I can is 820 MHz and 250 Mh / s with the temperature at 70 ° C
What voltage do you use on 900 mhz? And what temperature is it?

What are you running on? I can get 250Mh/s with a core clock of 765MHz on my 5850 with a steady voltage. You should be able to get ~270Mh/s with a clock of 820MHz.


Title: Re: Mining with 5850, boost performance?
Post by: NiLO on April 20, 2011, 10:36:13 PM
Using the standard voltage as much as I can is 820 MHz and 250 Mh / s with the temperature at 70 ° C
What voltage do you use on 900 mhz? And what temperature is it?

What are you running on? I can get 250Mh/s with a core clock of 765MHz on my 5850 with a steady voltage. You should be able to get ~270Mh/s with a clock of 820MHz.

Well I'm using:
Windows 7 x64
2.3 SDK
11.3 ATI drivers
poclbm -w 128 -a 1 -f 120


Title: Re: Mining with 5850, boost performance?
Post by: grndzero on April 20, 2011, 10:43:50 PM
Using the standard voltage as much as I can is 820 MHz and 250 Mh / s with the temperature at 70 ° C
What voltage do you use on 900 mhz? And what temperature is it?

Not sure since I didn't tweak the BIOS myself. The one I'm on says VID1, but I think it's 1.163v.

My temps are around 70 C with the fans at 70% and the case open.


Title: Re: Mining with 5850, boost performance?
Post by: NiLO on April 20, 2011, 11:05:21 PM
Using the standard voltage as much as I can is 820 MHz and 250 Mh / s with the temperature at 70 ° C
What voltage do you use on 900 mhz? And what temperature is it?

What are you running on? I can get 250Mh/s with a core clock of 765MHz on my 5850 with a steady voltage. You should be able to get ~270Mh/s with a clock of 820MHz.

ooh now I saw what was wrong, was missing the tag -v
its 267 Mh/s here

Using the standard voltage as much as I can is 820 MHz and 250 Mh / s with the temperature at 70 ° C
What voltage do you use on 900 mhz? And what temperature is it?


Not sure since I didn't tweak the BIOS myself. The one I'm on says VID1, but I think it's 1.163v.

My temps are around 70 C with the fans at 70% and the case open.

I tested this voltage and it worked, but the fan is almost 80% and 74°C too noisy and hot


Title: Re: Mining with 5850, boost performance?
Post by: grndzero on April 20, 2011, 11:09:21 PM
I tested this voltage and it worked, but the fan is almost 80% and 74°C too noisy and hot

YMMV. My cooler runs most of the day, so ambient air temperature probably helps a bit.

74 C is not that bad. Everything I read before starting said that 80 C was the boundary that most of the serious gamers didn't want to cross. Obviously cooler is better in the long run when running 24/7 but supposedly the internal cutoff of these cards is in the 110-120 C range.



Title: Re: Mining with 5850, boost performance?
Post by: NiLO on April 21, 2011, 06:41:43 AM
I tested this voltage and it worked, but the fan is almost 80% and 74°C too noisy and hot

YMMV. My cooler runs most of the day, so ambient air temperature probably helps a bit.

74 C is not that bad. Everything I read before starting said that 80 C was the boundary that most of the serious gamers didn't want to cross. Obviously cooler is better in the long run when running 24/7 but supposedly the internal cutoff of these cards is in the 110-120 C range.



Hum understood. Exactly, in my case I am using almost 24/7 so low temperatures are important


Title: Re: Mining with 5850, boost performance?
Post by: djex on April 22, 2011, 05:44:58 PM
Well I'm using:
Windows 7 x64
2.3 SDK
11.3 ATI drivers
poclbm -w 128 -a 1 -f 120

Why not SDK 2.1? Unless I don't know something about SDK 2.3 , SDK 2.1 is suppose to be recommended for optimal hash rate. Also if you just use the computer for mining why not use -f 0?