Bitcoin Forum
April 24, 2024, 08:16:22 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: GUIDE: Five easy things to screw-up and overlook in heavy duty mining.  (Read 2127 times)
FalconFour (OP)
Full Member
***
Offline Offline

Activity: 176
Merit: 100



View Profile WWW
September 13, 2011, 03:27:26 PM
 #1

I originally posted this as a reply to a topic of a guy wondering why his 1500-watt PSU was overloading (rather, "why the computer just shuts off") with his quad-GPU rig. I figure it could be very useful to anyone running a serious mining operation, so I'm making this into a proper post...

For one thing, sucking up 1500 watts is about the equivalent of running a hair dryer constantly... or one of those box room heaters... or something obscenely power-hungry like that. I mean, we're talking like, "dude, you'd better check your power cord to the wall outlet and make sure it's a couple gauges heavier than normal" kind of crap. I'll bet you it gets warm, if not hot. So in light of that topic of conversation, you really need to make sure you've run the ELECTRIC BILL analysis on this kind of completely ludicrous rig... it's going to cost you almost triple-digits on your power bill, so you'd better be CERTAIN you're going to make that back in Bitcoin. Not to mention, if you use it indoors and you need to run air conditioning in that area, it's going to cost about 1.5x that amount in electricity to remove the heat produced by the PC. It's no joking matter. It's summer here and I run my mining rig literally, outside on the porch (2nd floor = great anti-theft), to offset the cooling problem. And I'm still barely breaking even on the power bill, if that much.

That said, your GPUs are stupidly over-powered. Knock them back to pure stock and you should be fine. You also need to make sure:

1) Your CPU usage is ZERO PERCENT while running miners. Any indication of CPU load is typically a rat's nest of API version, driver version, miner settings, etc., that results in any amount of CPU usage caused by a GPU miner. This was a long struggle for me to find the best way to solve. Basically it boils down to one thing: start with low aggression settings, and test each setting for 10-20 seconds to see which one starts causing CPU usage while you're seeing a "Mhash/sec" reading (actually running, that is). If it causes CPU usage, knock the aggression down to the last one you saw 0 at. And drivers, evidently there are some issues with Catalyst 11.7 and 11.8 (the latest), so you ought to move to either 11.6 (browse AMD's archive list), or find the 11.9 beta at guru3d.

2) Always keep your eyes on each GPU's temperature. With that many GPUs, god knows how you fit them in the case. Fans don't move air when they're in a vacuum, so be sure you either have a handful of fans COORDINATED to push air from the front of the case through the back (pulling air in is always easier than pushing it out, it seems), or just leave your case side off and direct a blower fan at it or something. But I can tell you one thing: those GPUs were NEVER designed to operate at full-capacity, right next to each other, for an extended period of time. You've got to make sure you stay on top of their "health" to make sure they stay working properly.

3) Clocks. First of all, don't "just" overclock. Mining is a very unusual situation to put a GPU in, so it doesn't need the same uber-high clock speeds that 3D rendering usually requires. For example, on my 6770, setting the memory clock (default at 1200, I think) to 300MHz actually puts the GPU in some sort of timing mode that essentially super-charges its mining speed, but drops about 10 C off its running temperature. Maybe it shuts down some unused clock modules or something. Whatever it does, it lets me run the thing at 950MHz/300Mhz (core/mem) when its default is more like 850/1200, and bangs out an extra 30 Mhash/sec while keeping the GPU core cooler. Find the right settings, search around, and don't just "move the slider up". And FFS, put the voltage back to stock, that's a freakin' sweet way to nuke your cards in no time...

4) Clients and settings. There's a HUUUUGGEEE difference that can be made between one client and another, and between one parameter and another. For example, my GPU goes from 211Mhash/sec to 160Mhash/sec when I just remove "worksize=128"; the kernel (currently using a modified phatk posted here somewhere, but very similar to the phatk2 provided with Phoenix) defaults to a worksize of 256 and my GPU only has a 128-bit memory bus (it doesn't know that). Performance goes through the floor. You may mess your pants when you see some 300-odd Mhash/sec, but what you don't know is that it could be straining itself with some bad settings and you could be seeing 400 if you played around a bit. "BFI_INT" is pretty much a necessity. Play with "VECTORS"/"VECTORS2"/"VECTORS4" in combination with different "WORKSIZE=" (64, 128, 256) values - the "vectors" values mesh with the given "worksize" to produce each sort of work "chunk", and finding the right combination is key to a smooth-running system.

5) You don't need a new power supply, just quit sucking power out of the wall like it's going out of style! Run the numbers - consider that 1500 watts continuous is what you're drawing (since we already know we're blowing past that as it is), run that as kilowatt-hours (kWh), which is approximately 1.5kW (long form, "1.5 kWh per hour"), and run that out to running 24/7 for a month. 732 hours in an average month, so we're talking... 1,098 kWh for your rig each month. And we plug price into it at about my average power rate, which is $0.15/kWh, and... *click click*... yeah, that'll run you $164.70/month in power to the box alone. Remember what I said about air-conditioning; when you factor in the $247.05 for cooling the house from the heat generated by the rig, that's $411.75 a month. 'Ya sweating yet?

I dunno, maybe I tldr'd here, spent 20 minutes writing this crap for one guy's rig, but dude, seriously, 2000 bucks? I was sweating spending 100 on my 6770 and had to split it with a friend Wink If it helps you any, there's an address in the sig that could help me buy a compliment to my single 6770!

edit: Oh, and if you want to know how much your miner is REALLY costing you, down to the cent... it's called a "KILL A WATT". Get one!! http://amzn.com/B000RGF29Q (no, I don't make anything off this link, just convenience - go Google instead if you want.)

Any inaccuracies, explain them and I'd be more than happy to edit this. But I hope this brings a few common problems to light; I spent a huge chunk of time trying to squeeze extra performance out of my rig while watching the Kill-A-Watt meter, running the numbers, etc. Now I hope I can pass this on to someone else that can use it Smiley

feed the bird: 187CXEVzakbzcANsyhpAAoF2k6KJsc55P1 (BTC) / LiRzzXnwamFCHoNnWqEkZk9HknRmjNT7nU (LTC)
"Governments are good at cutting off the heads of a centrally controlled networks like Napster, but pure P2P networks like Gnutella and Tor seem to be holding their own." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713989782
Hero Member
*
Offline Offline

Posts: 1713989782

View Profile Personal Message (Offline)

Ignore
1713989782
Reply with quote  #2

1713989782
Report to moderator
1713989782
Hero Member
*
Offline Offline

Posts: 1713989782

View Profile Personal Message (Offline)

Ignore
1713989782
Reply with quote  #2

1713989782
Report to moderator
Valalvax
Sr. Member
****
Offline Offline

Activity: 437
Merit: 250


View Profile
September 13, 2011, 04:18:05 PM
 #2

You get 400 MH/s out of your 6770?
* Valalvax looks at his 5830 churning out 300

OUT!

ok, all kidding aside, looks like what I need to do is def download the 11.6 drivers, then look at miners other than CGMiner
FalconFour (OP)
Full Member
***
Offline Offline

Activity: 176
Merit: 100



View Profile WWW
September 13, 2011, 04:23:14 PM
 #3

wat no, lol.
"For example, my GPU goes from 211Mhash/sec to 160Mhash/sec..."
"You may mess your pants when you see some 300-odd Mhash/sec, but what you don't know is that it could be straining itself with some bad settings and you could be seeing 400 if you played around a bit."

No, my 6770 churns out 213Mhash/sec at the currently best combo I've found, 11.9 beta, 950 core/300 mem, with:
C:\Users\Falcon\Desktop\phoenix-orig\phoenix.exe -u http://***:***@**.**:8332/ -v -q 2 -k phatkmod VECTORS2 DEVICE=0 AGGRESSION=9 WORKSIZE=128 BFI_INT=true FASTLOOP=false

(where phatkmod is: https://bitcointalk.org/index.php?topic=25860.0 )

feed the bird: 187CXEVzakbzcANsyhpAAoF2k6KJsc55P1 (BTC) / LiRzzXnwamFCHoNnWqEkZk9HknRmjNT7nU (LTC)
Starlightbreaker
Legendary
*
Offline Offline

Activity: 1764
Merit: 1006



View Profile
September 13, 2011, 04:24:28 PM
 #4

And FFS, put the voltage back to stock, that's a freakin' sweet way to nuke your cards in no time...

when done right, voltage modification can help.
only a few of my cards are running with stock volts.

deslok
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250


It's all about the game, and how you play it


View Profile
September 13, 2011, 04:30:23 PM
 #5

Voltage modification has to be done with caution but as long as you don't crank it all the way to the top first try you shouldnt be cooking anything before the safeties try and stop you

"If we don't hang together, by Heavens we shall hang separately." - Benjamin Franklin

If you found that funny or something i said useful i always appreciate spare change
1PczDQHfEj3dJgp6wN3CXPft1bGB23TzTM
FalconFour (OP)
Full Member
***
Offline Offline

Activity: 176
Merit: 100



View Profile WWW
September 13, 2011, 04:55:48 PM
 #6

Very true. I'm considering playing with a voltage tweak on my 6770 during the winter (when it's not relying on being cooled by summer 95-100F outside air), but mine's also a single-card setup. Multi-card setups... well... unless you've got a *really* powerful power supply, custom cooling, and excellent airflow (or may I recommend... water cooling?), it's really just begging for a toasting. Especially the +0.1V boost this guy was talking about - far as I gather, these chips only operate in the 1.0-1.5V range (absolute minimum to "wtf? nuke!" there), so a 0.1v boost is like a 20% over-volt! I'd expect playing around with 0.05 (10%) at the most, since that usually overcomes the 10-15% power consumption boost these things can usually handle with their cooling.

I'm really curious for input on the CPU usage/"aggression" correlation, though. Has anyone else tested this? In all the threads I've browsed around here, I haven't seen anyone besides myself mentioning this relationship - just "unexplained" high CPU usage with people on a constant wild-goose chase of drivers, APIs, miners, etc... I couldn't really be stumbling on something unique here, could I?

feed the bird: 187CXEVzakbzcANsyhpAAoF2k6KJsc55P1 (BTC) / LiRzzXnwamFCHoNnWqEkZk9HknRmjNT7nU (LTC)
Starlightbreaker
Legendary
*
Offline Offline

Activity: 1764
Merit: 1006



View Profile
September 13, 2011, 05:15:58 PM
 #7

if you have proper cooling, 0.1v overvolt will be okay.
your power consumption, on the other hand, will nearly double.

Fjordbit
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500

firstbits.com/1kznfw


View Profile WWW
September 16, 2011, 02:14:51 PM
 #8

yeah, that'll run you $164.70/month in power to the box alone. Remember what I said about air-conditioning; when you factor in the $247.05 for cooling the house from the heat generated by the rig, that's $411.75 a month. 'Ya sweating yet?

It's generally not thermodynamically possible to cost more in cooling than it is to cost in mining. Essentially the cost is related to the power used. The power used from the cards represents a certain amount of Watt-hours. The cooling system would generally have less Watt-hours than this depending on the efficiency of your cooling system. A typical heat pump central air system should be able to give in the 80-90% range and a standard window unit would be around 80% as well. As an example, I have a window unit to supplement my central air that cools 10000 btus using 450 watts. Using the factor 3.41 btus per Wh, we see that to cool 10000/3.41 = 2932 watts of energy takes 450 watts, so only 15.4% of the mining cost can go to cooling. This also makes a very basic assumption that all the energy used on the mining rig is converted to heat, which is clearly not true but I have no real way to measure it.

So given this and using a conservative 20% for your cooling factor, the cooling on $164.70 should be no more than $32.94.
Phil21
Full Member
***
Offline Offline

Activity: 155
Merit: 100


View Profile
September 16, 2011, 10:49:28 PM
 #9

This also makes a very basic assumption that all the energy used on the mining rig is converted to heat, which is clearly not true but I have no real way to measure it.

What is it converted to?  Ignoring LED's and fans of course.
cicada
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
September 16, 2011, 11:09:52 PM
 #10

What is it converted to?  Ignoring LED's and fans of course.

Bitcoins, silly!

Team Epic!

All your bitcoin are belong to 19mScWkZxACv215AN1wosNNQ54pCQi3iB7
Grinder
Legendary
*
Offline Offline

Activity: 1284
Merit: 1001


View Profile
September 16, 2011, 11:22:20 PM
 #11

What is it converted to?  Ignoring LED's and fans of course.
Except for tiny amounts escaping as radiation through windows or as sound and vibrations, energy put into LEDs and fans ends up as heat as well.
Transisto
Donator
Legendary
*
Offline Offline

Activity: 1731
Merit: 1008



View Profile WWW
September 17, 2011, 01:12:39 AM
Last edit: September 18, 2011, 05:28:56 AM by Transisto
 #12

Quote
You don't need a new power supply, just quit sucking power out of the wall like it's going out of style!
I just read that whole paragraph and didn't understand a shit.

I did run out the numbers that's why I'm fucking buying GOLD PSU to save money 3 year from now.
Is that what you meant ?
Phil21
Full Member
***
Offline Offline

Activity: 155
Merit: 100


View Profile
September 18, 2011, 05:28:13 AM
 #13

What is it converted to?  Ignoring LED's and fans of course.
Except for tiny amounts escaping as radiation through windows or as sound and vibrations, energy put into LEDs and fans ends up as heat as well.

And here I was trying to proactively head off someone being pedantic Wink
stryker
Sr. Member
****
Offline Offline

Activity: 518
Merit: 250



View Profile
September 18, 2011, 12:14:19 PM
 #14

pay close attention to how your PSU distributes its wattage.  I blew up a 850watt psu cos I thought 800watts on the molexes thats cool.... when in fact only about 600 watts was on the molex connectors for the GPUs to use, the rest was motherboard and 5v.
iopq
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


View Profile
September 18, 2011, 09:32:38 PM
 #15

And FFS, put the voltage back to stock, that's a freakin' sweet way to nuke your cards in no time...

when done right, voltage modification can help.
only a few of my cards are running with stock volts.
not worth it at $5 per bitcoin imo
Transisto
Donator
Legendary
*
Offline Offline

Activity: 1731
Merit: 1008



View Profile WWW
September 19, 2011, 08:58:09 PM
Last edit: September 19, 2011, 09:26:25 PM by Transisto
 #16

My take on AC cooling gpu is that if you manage to direct the very cold air in the fan intake without much lost you can save energy by having the fan spin much slower for the same cooling.

AC cooling just one end of the room, does little to fix the problem of having ~30 fan consuming ~200W at stirring their own shit. (30*0.5mA)
Starlightbreaker
Legendary
*
Offline Offline

Activity: 1764
Merit: 1006



View Profile
September 20, 2011, 07:42:39 PM
 #17

And FFS, put the voltage back to stock, that's a freakin' sweet way to nuke your cards in no time...

when done right, voltage modification can help.
only a few of my cards are running with stock volts.
not worth it at $5 per bitcoin imo
undervolt not worth it?

lol, whatever.

FalconFour (OP)
Full Member
***
Offline Offline

Activity: 176
Merit: 100



View Profile WWW
September 27, 2011, 04:47:03 AM
 #18

Since you didn't address the post by another member earlier in the thread I thought I would expand upon your wrong numbers here.

All AC units have > 100% efficiency (aka  coefficient of performance of >1 ).  The best units are roughly 500% efficient. 

In the AC world that efficiency is measured by a term called SEER.   SEER is the average efficiency over the cooling season.  The lowest (i.e. most inefficient) units that can be sold in the US today are SEER 13. That means on average it takes 1 kWh to remove 13 BTU of heat.  1 BTU = 3.41214 kWh.  So SEER 13 = 1 watt of AC energy removes 3.81 watts of thermal energy.

Say a hypotheitcal PC draws 1000W from the wall and runs for 1 hour.   The directly electrical cost would be 1 kWh.  The cooling cost would be (1 / 3.81) = 0.263 kWh. 

The the cooling costs are roughly 26% more (not 150% more) than the direct energy consumption.
I love you... and unlike the usual forum troll that mucks these boards, I must say: "I now know this". Yep, internet history here, a guy will admit he's wrong. God, I love real numbers and facts. You're awesome.

OK, so... since I'm a little too stoned to dial in those numbers and recrunch the figures (which would still be damn high), could you be bothered to run 'em and see if they put a happy face on your calculator?

feed the bird: 187CXEVzakbzcANsyhpAAoF2k6KJsc55P1 (BTC) / LiRzzXnwamFCHoNnWqEkZk9HknRmjNT7nU (LTC)
cablepair
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
September 27, 2011, 12:52:20 PM
 #19

Since you guys are discussing this I will let you in on how I was able to have four GPU's tight in together in a case without using pcie risers or special cables and I get very good temps, the highest temp is 64 degrees Celsius.



There are 11 GPU's mining in my small office. A 12.5k BTU window air conditioner takes care of the cooling. Because winter is coming I modified the Air Conditioner (some air conditioners like mine will shut off when its cold out site) by taking the sensor and putting in on a long wire and having the A/C sensor actually sit inside one of my GPU's that way it always thinks its hot. Plus I made a thick plastic cover that partially covers the air conditioner to trap in some of the heat on the outside . I use this on cold days because the air conditioner will freeze itself and stop working if it's too cold out side. The plastic cover keeps some of the air around the outside of the A/C and keeps it from freezing.

Now as you can see in this picture I have a desk immediately in front of the a/c you can only see one of my rigs on the desk but there are two there, both have a fan that blows the cool a/c air a crossed the gpus and they both have a powerful sucker/blower fan attached to the back where the gpu video connections are on the back of the PC case. These fans suck the air from the gpu's and blows it away, this keeps cool air constantly flowing a crossed the gpu's and hot air constantly exhausting.

Pages: [1]
  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!