# Is there a Carnot engine equivalent for computing?

**URL:** <https://boards.straightdope.com/t/is-there-a-carnot-engine-equivalent-for-computing/915694>\
**Category:** Factual Questions\
**Created:** [July 18, 2020, 7:14pm UTC](https://boards.straightdope.com/t/is-there-a-carnot-engine-equivalent-for-computing/915694 "2020-07-18T19:14:58Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![am77494](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@am77494](https://boards.straightdope.com/u/am77494)\
**Post date:** [July 18, 2020, 7:14pm UTC](https://boards.straightdope.com/t/is-there-a-carnot-engine-equivalent-for-computing/915694/1 "2020-07-18T19:14:58Z")

</div>

So for engines (gasoline, jet planes, gas turbines, coal power plants, etc etc) there is the simple Carnot engine efficiency which is the limit of efficiency.

For solar cells, there is the Shockley–Queisser limit.

Since engines and computers both generate entropy, they should both have limits on their efficiency (?)

Is there any such limit for computing? either traditional or Quantum ?

I am not sure how the limit would be defined, but it will involve entropy in one way or the other.

---

<div class="post-metadata">

**Author:** ![Trinopus](https://avatars.discourse-cdn.com/v4/letter/t/2bfe46/32.png) [@Trinopus](https://boards.straightdope.com/u/Trinopus)\
**Post date:** [July 18, 2020, 7:50pm UTC](https://boards.straightdope.com/t/is-there-a-carnot-engine-equivalent-for-computing/915694/2 "2020-07-18T19:50:21Z")

</div>

The flip-flop? The half-adder? The AND gate?

---

<div class="post-metadata">

**Author:** ![k9bfriender](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/k9bfriender/32/3283_2.png) [@k9bfriender](https://boards.straightdope.com/u/k9bfriender)\
**Post date:** [July 18, 2020, 7:53pm UTC](https://boards.straightdope.com/t/is-there-a-carnot-engine-equivalent-for-computing/915694/3 "2020-07-18T19:53:07Z")

</div>

> **[Landauer's principle](https://en.wikipedia.org/wiki/Landauer%27s_principle)**
>
> Pages for logged out editors learn more
> 
> Landauer's principle is a physical principle pertaining to the lower theoretical limit of energy consumption of computation. It holds that "any logically irreversible manipulation of information, such as the erasure of a bit or the merging of two computation paths, must be accompanied by a corresponding entropy increase in non-information-bearing degrees of freedom of the information-processing apparatus or its environment".
> Another way of phrasing...

---

<div class="post-metadata">

**Author:** ![leahcim](https://avatars.discourse-cdn.com/v4/letter/l/b4bc9f/32.png) [@leahcim](https://boards.straightdope.com/u/leahcim)\
**Post date:** [July 18, 2020, 8:19pm UTC](https://boards.straightdope.com/t/is-there-a-carnot-engine-equivalent-for-computing/915694/4 "2020-07-18T20:19:56Z")

</div>

There is the concept of [Reversible Computing](https://en.wikipedia.org/wiki/Reversible_computing) that doesn’t fall prey to Landauer’s principle, so there is no mandatory minimum increase in entropy implied just by the computation itself. This is _kind_ of analogous to the theoretical properties caused by Carnot cycle’s reversibility.

---

<div class="post-metadata">

**Author:** ![k9bfriender](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/k9bfriender/32/3283_2.png) [@k9bfriender](https://boards.straightdope.com/u/k9bfriender)\
**Post date:** [July 18, 2020, 9:02pm UTC](https://boards.straightdope.com/t/is-there-a-carnot-engine-equivalent-for-computing/915694/5 "2020-07-18T21:02:01Z")

</div>

That’s odd, I didn’t even notice that it erased my commentary. I didn’t mean to just dump a link and run.

I had mentioned reversible computing in that…

Anyway, reversible computing is not _useful_ computing, at least I don’t see how it can be.

---

<div class="post-metadata">

**Author:** ![leahcim](https://avatars.discourse-cdn.com/v4/letter/l/b4bc9f/32.png) [@leahcim](https://boards.straightdope.com/u/leahcim)\
**Post date:** [July 18, 2020, 10:17pm UTC](https://boards.straightdope.com/t/is-there-a-carnot-engine-equivalent-for-computing/915694/6 "2020-07-18T22:17:09Z")

</div>

> [@k9bfriender](#):
>
> Anyway, reversible computing is not _useful_ computing, at least I don’t see how it can be.

Reversible computing is no less useful than ordinary computing. You can turn any computation into a reversible computation just by adding more outputs containing information required to reverse the calculation (e.g. you can replace a non-reversible XOR gate with a reversible controlled not gate, which has two outputs, only one of which you care about).

(In particular, quantum computing _must_ use reversible computations because the rules of quantum mechanics are reversible.)

---

<div class="post-metadata">

**Author:** ![Hari\_Seldon](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/hari_seldon/32/5173_2.png) [@Hari\_Seldon](https://boards.straightdope.com/u/Hari_Seldon)\
**Post date:** [July 18, 2020, 11:52pm UTC](https://boards.straightdope.com/t/is-there-a-carnot-engine-equivalent-for-computing/915694/7 "2020-07-18T23:52:51Z")

</div>

In fact there is no lower limit to the amount of energy required for a computation; it just goes slower and slower. One implication of this is that since the amount of free energy in the universe can never actually hit 0, computation–and therefore life in some form will always be possible. It will just be very slow (by our standards, but not by theirs).

In fact I have speculated that there was so much free energy in the first second after the big bang that entire ecosystems could have risen and fallen in that time and we would look like entropy death to them

---

<div class="post-metadata">

**Author:** ![am77494](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@am77494](https://boards.straightdope.com/u/am77494)\
**Post date:** [July 19, 2020, 12:55am UTC](https://boards.straightdope.com/t/is-there-a-carnot-engine-equivalent-for-computing/915694/8 "2020-07-19T00:55:22Z")

</div>

Thank you for the replies. I am trying to establish something that the layman like me can understand.

Pick any GPU in commercial production today, for baseline, and what will the most thermodynamically efficient Comparable system look like in terms of efficiency ? Will it be 50% better or 200% better ?

For example: “ The A13 SoC has a new GPU that keeps the 4-core design introduced with A12. But is now 20% faster and a whopping 40% more efficient when delivering the same performance as A12’s GPU.” from [Apple iPhone 11 review: Performance and benchmarks](https://m.gsmarena.com/apple_iphone_11-review-1993p5.php)

So if suppose we had the thermodynamically best GPU; lets call it the T\_GPU, how much more efficient % wise it will be than the A12 GPU ? (The A13 is 40% more efficient )

---

<div class="post-metadata">

**Author:** ![MikeS](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@MikeS](https://boards.straightdope.com/u/MikeS)\
**Post date:** [July 19, 2020, 1:33pm UTC](https://boards.straightdope.com/t/is-there-a-carnot-engine-equivalent-for-computing/915694/9 "2020-07-19T13:33:44Z")

</div>

It’s hard to find precise numbers, but you might be interested in [Koomey’s Law,](https://en.m.wikipedia.org/wiki/Koomey%27s_law) which is essentially Moore’s Law for computational efficiency. A simplistic extrapolation predicts that conventional chips will reach the Landauer limit by 2048. However, since Koomey’s Law says that efficiency doubles every 1-2 years, that means we’re a long way from the Landauer limit right now.

---

<div class="post-metadata">

**Author:** ![peccavi](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/peccavi/32/388_2.png) [@peccavi](https://boards.straightdope.com/u/peccavi)\
**Post date:** [July 19, 2020, 3:15pm UTC](https://boards.straightdope.com/t/is-there-a-carnot-engine-equivalent-for-computing/915694/10 "2020-07-19T15:15:47Z")

</div>

> [@am77494](#):
>
> Pick any GPU in commercial production today, for baseline, and what will the most thermodynamically efficient Comparable system look like in terms of efficiency ? Will it be 50% better or 200% better ?

I think you may be able to see, from the replies, that the comparison you want to do is not going to be useful to the layman, mainly because the percentages are going to be such huge numbers. So, to make up an example, you are going to be able to say that GPU A is 2,000,000,000% of theoretical efficiency and GPU B is 3,500,000,000% of theoretical efficiency (an in truth, there are going to be so many zeros, you’re going to be forced to use scientific notation, which will just confuse most people).

Even if you can educate the lay population on scientific notation, you’re going to be faced with the plain fact that when it comes to comparing the compute efficiency of GPUs, the answer is always going to start with “It depends…”

Power efficiency of any particular computer is going to depend on the tasks being run. GPUs can be very inefficient at a lot of things CPUs are efficient at (which is why your home computer isn’t just GPU processing).

There are benchmark suites, such as LINPACK, which measures efficiency for floating point operations and is the standard applied to “the fastest computer in the world”, which give a rough measurement, but benchmarks don’t fully match real-world use, so actual performance in use can be drastically better or worse. There are benchmark suites aimed at GPU performance. They suffer from the same problem as LINPACK. GPU architectures will make families better or worse at certain tasks than other GPU families. So the benchmark may favor one over the other, but when contemplating which GPU to use, the answer will still be “It depends, what are you going to use it for?”

And finally, to put a last nail in the coffin, GPU “efficiency” will have a big dependence on the overall system it is embedded in. The overall OS, interconnect, storage, etc. will further affect what users experience as far as power efficiency.

---

<div class="post-metadata">

**Author:** ![am77494](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@am77494](https://boards.straightdope.com/u/am77494)\
**Post date:** [July 19, 2020, 3:26pm UTC](https://boards.straightdope.com/t/is-there-a-carnot-engine-equivalent-for-computing/915694/11 "2020-07-19T15:26:58Z")

</div>

> [@peccavi](#):
>
> I think you may be able to see, from the replies, that the comparison you want to do is not going to be useful to the layman, mainly because the percentages are going to be such huge numbers

Huge numbers are fine. An order of magnitude expressed in exponent notation is fine too. Do you have such a number ?

---

<div class="post-metadata">

**Author:** ![RaftPeople](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@RaftPeople](https://boards.straightdope.com/u/RaftPeople)\
**Post date:** [July 19, 2020, 4:27pm UTC](https://boards.straightdope.com/t/is-there-a-carnot-engine-equivalent-for-computing/915694/12 "2020-07-19T16:27:28Z")

</div>

> [@Hari\_Seldon](#):
>
> In fact there is no lower limit to the amount of energy required for a computation; it just goes slower and slower.

Is this correct?

Computation is based on physical systems and pretty much anything can represent some bits and a computation. Some of those systems could be very fast and very low energy, but they may be too difficult for us to manufacture today.

Basically speed and energy variables/limits for computations are different for different physical systems.

---

<div class="post-metadata">

**Author:** ![RaftPeople](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@RaftPeople](https://boards.straightdope.com/u/RaftPeople)\
**Post date:** [July 19, 2020, 4:35pm UTC](https://boards.straightdope.com/t/is-there-a-carnot-engine-equivalent-for-computing/915694/13 "2020-07-19T16:35:30Z")

</div>

> [@am77494](#):
>
> commercial production today, for baseline, and what will the most thermodynamically efficient Comparable system look like in terms of efficiency ? Will it be 50% better or 200% better ?

When you say comparable, you mean that externally/functionally it can perform the same set of computations, but internally it can be constructed in a completely different manner?

Is it required to use silicon?

If silicon, are we allowed to spend enough money to make the chip 100x larger (to optimize various computations)?

A key factor is that the market would never support a company going down a valid tangent for efficiency due to resulting cost.

---

<div class="post-metadata">

**Author:** ![am77494](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@am77494](https://boards.straightdope.com/u/am77494)\
**Post date:** [July 19, 2020, 4:49pm UTC](https://boards.straightdope.com/t/is-there-a-carnot-engine-equivalent-for-computing/915694/14 "2020-07-19T16:49:07Z")

</div>

I don’t know how the most thermodynamically efficient computer will be made or what it will be made of.

I am asking if there is a limit to the efficiency achievable, thermodynamically, to any commercially Available GPU ? If there is such a limit, where does the current efficiency stand percentage wise to such a limit ?

Looks like you are saying, that such a limit does not exist or exists only if you define manufacturing and performance methods. Am I understanding this correctly ?

---

<div class="post-metadata">

**Author:** ![RaftPeople](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@RaftPeople](https://boards.straightdope.com/u/RaftPeople)\
**Post date:** [July 19, 2020, 4:52pm UTC](https://boards.straightdope.com/t/is-there-a-carnot-engine-equivalent-for-computing/915694/15 "2020-07-19T16:52:07Z")

</div>

Correct.

For example: memristors can be used to create circuits that avoid the energy required to move data between memory and logic circuits. That’s a significant savings, but research is still in process.

---

<div class="post-metadata">

**Author:** ![RaftPeople](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@RaftPeople](https://boards.straightdope.com/u/RaftPeople)\
**Post date:** [July 19, 2020, 4:54pm UTC](https://boards.straightdope.com/t/is-there-a-carnot-engine-equivalent-for-computing/915694/16 "2020-07-19T16:54:52Z")

</div>

> [@am77494](#):
>
> I am asking if there is a limit to the efficiency achievable, thermodynamically, to any commercially Available GPU ? If there is such a limit, where does the current efficiency stand percentage wise to such a limit ?

The problem with “commercially available” is that you are just talking about what is available today. Every new iterative advancement changes the the way the overall entire problem is being solved and typically increases efficiency. Having said that, if you restrict it to silicon and current style of transistors then it’s probably easier to show a physical limit.

---

<div class="post-metadata">

**Author:** ![Hari\_Seldon](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/hari_seldon/32/5173_2.png) [@Hari\_Seldon](https://boards.straightdope.com/u/Hari_Seldon)\
**Post date:** [July 19, 2020, 4:55pm UTC](https://boards.straightdope.com/t/is-there-a-carnot-engine-equivalent-for-computing/915694/17 "2020-07-19T16:55:35Z")

</div>

> [@RaftPeople](#):
>
> Is this correct?
> 
> Computation is based on physical systems and pretty much anything can represent some bits and a computation. Some of those systems could be very fast and very low energy, but they may be too difficult for us to manufacture today.
> 
> Basically speed and energy variables/limits for computations are different for different physical systems.

This is a theorem based on purely thermodynamic considerations. Also these computations are required to never erase anything (or be reversible). Since both speed and efficiency are increasing, we clearly are nowhere near the theoretical limits.

---

<div class="post-metadata">

**Author:** ![am77494](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@am77494](https://boards.straightdope.com/u/am77494)\
**Post date:** [July 19, 2020, 4:59pm UTC](https://boards.straightdope.com/t/is-there-a-carnot-engine-equivalent-for-computing/915694/18 "2020-07-19T16:59:19Z")

</div>

> [@Hari\_Seldon](#):
>
> …we clearly are nowhere near the theoretical limits.

Agreed and understood. How far are we from the theoretical limits; is what I’m trying to understand. Is the theoretical limit, order of magnitude wise, 10 or 100 or 10^10 when compared to the current efficiency ?

---

<div class="post-metadata">

**Author:** ![RaftPeople](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@RaftPeople](https://boards.straightdope.com/u/RaftPeople)\
**Post date:** [July 19, 2020, 5:04pm UTC](https://boards.straightdope.com/t/is-there-a-carnot-engine-equivalent-for-computing/915694/19 "2020-07-19T17:04:29Z")

</div>

> [@Hari\_Seldon](#):
>
> This is a theorem based on purely thermodynamic considerations. Also these computations are required to never erase anything (or be reversible). Since both speed and efficiency are increasing, we clearly are nowhere near the theoretical limits.

Ok, I was wondering if that is what you meant.

---

<div class="post-metadata">

**Author:** ![RaftPeople](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@RaftPeople](https://boards.straightdope.com/u/RaftPeople)\
**Post date:** [July 19, 2020, 5:06pm UTC](https://boards.straightdope.com/t/is-there-a-carnot-engine-equivalent-for-computing/915694/20 "2020-07-19T17:06:03Z")

</div>

> [@am77494](#):
>
> Agreed and understood. How far are we from the theoretical limits; is what I’m trying to understand. Is the theoretical limit, order of magnitude wise, 10 or 100 or 10^10 when compared to the current efficiency ?

I can’t provide the answer, but I can tell you it’s not based on our current style of computing (e.g. silicon transistors as they look today).

[Next page](https://boards.straightdope.com/t/is-there-a-carnot-engine-equivalent-for-computing/915694.md?page=2)
