Do higher mining difficulty levels mean more energy use?

9 replies 159 views
3r1c777Full Member
Posts: 177 · Reputation: 674
#1Dec 4, 2024, 02:00 PM
I've been thinking about why Bitcoin mining uses so much energy. I haven't seen a mining rig in person, but I've read some articles and watched videos discussing this power usage. Lately, I've been wondering about a few things. From what I gather, mining difficulty adjusts every 2016 blocks, which is roughly every two weeks, with the average block time sitting at around 10 minutes. But I'm kinda unsure if the computational power of mining hardware, like ASICs, is designed to scale up when the difficulty increases. So my guess is that as the difficulty goes up, these machines might need to consume more energy to keep up. On the other hand, I think just running these mining rigs for long periods also eats up power, but there might be extra tasks that make the machines work harder and use even more energy. I'm not entirely confident in my thoughts, so I'm looking for more insights on this: does higher mining difficulty lead to increased power consumption? Also, is it possible to mine more or fewer than 2016 blocks at a specific difficulty? I'm totally up for corrections since I'm still learning here. Feel free to share your views, and maybe do some of your own research after reading this.
3 Reply Quote Share
HyperRavenFull Member
Posts: 175 · Reputation: 633
#2Dec 6, 2024, 04:11 PM
This depends, but you might've understood it wrongly. Difficulty increases because the network solves the block faster, which is generally due to an increase to the hashrate. This increase on hashrate can be several factors: less efficient machines being replaced, more machines coming online but it is usually the latter. Having more ASICs directly means a higher energy consumption. Rather than saying that mining difficulty leading to higher power consumption, the more ASICs machines would have a higher power consumption and hashrates, for which the higher hashrates means that the network solves more blocks in a given 2016 window and thereby experiencing an increase in difficulty. ASIC chips will likely stay at the same chip frequency throughout their entire life. They're usually not specifically over or underclocked periodically, but done once at the start to ensure that it is stable. No, difficulty readjustment is triggered when the network has mined 2016 blocks since the last. It is not a function of time. It is meant to maintain the block intervals at 10 minutes.
1 Reply Quote Share
ape_2018Senior Member
Posts: 412 · Reputation: 1728
#3Dec 6, 2024, 05:51 PM
Power consumption and network hashrate (and increased difficulty as a result of this increase in hashrate and power consumption, rather than the other way round) are only related in the short term -- i.e. in cases where an increase of hashrate is caused by additional machines going online, rather than less efficient ones being replaced as explained by ranochigo. Mid- to long-term power consumption depends on the budget miners have available, that is: How many bitcoins miners can expect to receive (block subsidy, transaction fees) multiplied by the exchange rate for which they can expect to sell (since electricity is still billed in fiat terms). So power consumption is more closely related to Bitcoin's exchange rate, rather than its hashrate and difficulty.
1 Reply Quote Share
paul2017Senior Member
Posts: 218 · Reputation: 1426
#4Dec 6, 2024, 10:43 PM
A mining device uses a fixed amount of energy, so the amount of energy the device consumes does not vary with the difficulty. It is interesting to me that, in theory, the power consumption of mining is directly dependent on the price of a bitcoin and the price of energy, and it is independent of the efficiency of the mining equipment. This is because, due to the economics of mining, the cost of mining a block approaches the revenue from mining the block, which is currently 3.125 times the value of a bitcoin. That will change over time as the subsidy approaches 0 and the revenue from mining a block is increasingly determined by the value of the transaction fees. Eventually, the cost of mining will approach the economic value of transacting in Bitcoin, which is about as close as you can get to ideal.
1 Reply Quote Share
maxi_bearFull Member
Posts: 161 · Reputation: 536
#5Dec 7, 2024, 04:20 AM
Bitcoin mining is something you can example with the ceteris paribus principle when it comes to the macro scale. If the total difficulty increases but we are to assume that nothing else changed then yes, it probably means that more mining machines were switched on and hence more power has to be consumed for them to stay on. However the reality isn't as easy. It's likely that many miners replace their old machines with more efficient ones for the same or even more hash. So this could mean that consumption stays the same of even gets lower in theory. But in reality an increase in difficulty must also mean an increase in power consumption because the increase in efficiency isn't as fast and chip sizes are already very small. Which hinders further advances in efficiency. It's just that an increase in difficulty doesn't mean also a 1:1 increase in power consumption. This means that while there's correlation, the covariance isn't 100%. Maybe though an increase in difficulty means a more than 1:1 increase in power consumption these days because also newer mining farms require ever increasing in size cooling and monitoring facilities.
2 Reply Quote Share
chris.altHero Member
Posts: 458 · Reputation: 2287
#6Dec 7, 2024, 05:30 AM
We can always ask the question: how much incidence in difficulty increase has energy consumption, and how much has hardware efficiency progress? As already others wrote these two are the main "reasons" for a hashrate (and thus difficulty) increase. We can set up a small calculation how much incidence has each of both factors, if we know two variables: the hardware price per hash and the difficulty. This is still very simplified but should give us a rough result for the order of magnitude we're talking about. The price per hash would be a rough measure for "hardware efficiency" and is governed by the same rules than Moore's Law. Unfortunately most "hash price charts" instead of offering a calculation based on hardware costs use the formula "miner income / hashrate", and while this is a valid approach for a rough approximation, it does also take into account energy consumption so it doesn't help to answer this question. Instead, like in a discussion we had in another thread, we can use the available Antminer hardware generations as a base for our calculations. According to these calculations, the hashrate per USD has increased 8 times since 2018 (and thus the price per hash decreased to 0.125 times), i.e. in the last 6 years. If we break down this to the value per year, then we get a 40% yearly increase. Thus, if difficulty increased 40% per year, probably all of the increase is driven by hardware efficiency progress. If it increased less, then the energy consumption is going back, and if it increases more than 40%, the energy consumption is going up. How much increased difficulty in the last years? Let's see (source: Coinwarz): - 2018: 1.93 to 5.58T (189%) - 2019: 5.58 to 13.48T (148%) - 2020: 13.48 to 18.59T (38%) - 2021: 18.59 to 24.30T (31%) - 2022: 24.30 to 34.24T (41%) - 2023: 34.24 to 72.39T (111%) We see thus clearly that in some years it's extremely likely the energy consumption went up because difficulty went up for much more than 40% (2018, 2019, 2023), while in other years probably miners retired equipment (2021, the reason was the China mining ban) and thus energy consumption went down. In 2020 and 2022 the increase was close to the 40% I estimated for hardware efficiency alone.
0 Reply Quote Share
stack51Hero Member
Posts: 541 · Reputation: 3218
#7Dec 7, 2024, 07:02 AM
do you mean in theory or practice? in practice, it's a simple yes, there are no ifs and maybes, we have 14 years' worth of data that proves power consumption and difficulty go hand in hand, it will probably be the case for many years to come, in fact, it would only get worse since efficiency improvement is only going to go down. It's more like 20%, refer to the code below. Also, price per th is irrelevant here, it has nothing to do with the power consumption unless I am missing a point. Glad you made the effort to compile it, we can use it with the average yearly gear efficiency improvement which is 21% The above isn't exactly yearly, but it's almost that, so it's pretty solid. So the best year we had a 27% efficiency improvement, while the lowest difficulty increase we had was 31%, so certainly, power consumption increased. Obviously, the missing factor here is how much of the new gear is more efficient vs not, but it's safe to assume that a lot of it is not the most efficient. so in 2018, if we did have a 189% gear efficiency improvement it doesn't mean the power increased by 0%, because that would only be possible if the entire new hashrate came from S15 and not people adding old gears. Anyway, now that the majority of mining is done in the U.S under publically listed companies, you can dig the sec fillings and other available sources to see, Marathon Digital, Bitfarms, Riot, CleanSpark, Iris Energy, Core Scientific and etc, all of them have been increasing their power consumption, despite increasing their overall gear efficiency.
0 Reply Quote Share
l3o2018Member
Posts: 33 · Reputation: 132
#8Dec 8, 2024, 12:16 AM
this means that the reward decrease as the difficulty increase longer time for a miner to mine, the power consumption for a month will be almost the same, but for example the reward is $100 from the previous month today you might get $80, and for example you electric bill is $100 from the last month for sure this moth is still the same.
1 Reply Quote Share
3r1c777Full Member
Posts: 177 · Reputation: 674
#9Dec 9, 2024, 10:57 AM
In practice, as in real life situations. I got the explanation though.
2 Reply Quote Share
chris.altHero Member
Posts: 458 · Reputation: 2287
#10Dec 9, 2024, 04:23 PM
It would be a serviceable approximation if we assumed that mining hardware had always the same value for the formula "energy consumed / price", i.e. a similarly "dimensioned" miner would consume the same amount of energy. But of course your approach is much better with the watts per hash being available. Judging from your numbers it seems that thus mining hardware with a comparable price tend to consume more energy over time, as the price per hash reduction is almost doubling the energy consumption per hash reduction. I've recently had a discussion in another thread which seems to confirm that (power supplies tend to be increasingly more powerful). So thanks for recompiling these values
2 Reply Quote Share

Related topics