3

Nvidia limited some of their GPUs with LHR to decrease the performance of Ethereum mining. What in detail is LHR doing? It seems to limit non sequential memory operations (which is actually not what hash algorithms do since they only use registers.)

1 Answer 1

2

This is mostly speculative, since Nvidia didn't go into details about the implementation details. All I could find was this quote:

RTX 3060 software drivers are designed to detect specific attributes of the Ethereum cryptocurrency mining algorithm, and limit the hash rate, or cryptocurrency mining efficiency, by around 50 percent.

However following Occam's razor - the simplest solution will probably constitute an mechanism to detect SHA3 (Ethereum's chosen hash function) loops (Either by some kind of code analysis or dynamically during execution of said code) and actively limit GPU processing capabilities.

Although technically, depending on implementation approach, this may not be limited to Ethereum mining, this seems desirable as Nvidia makes an effort at preventing crypto-mining altogether.

If you want to further investigate this matter, you can start by reviewing the solutions made by miners to circumvent that limitation. For example, by reading the source code of NBMiner which claims to have reached 68% utilization.

According to certain sources the limitation may be (at least partially) software based (and not hardware based). If that's the case, one might also reverse engineer the drivers provided by Nvidia in order to gain more understanding of the mechanisms used to implement LHR.

1
  • No, it cannot affect specifically the hash algorithm. It is said to limit arbitrary memory accesses. The hash calculation is done purely in the ALU. Ethereum is doing a lot of memory reads and writes since it is doing hashes of previously stored hashes. There are two versions of LHR. I link to the latest version. Nov 1, 2021 at 17:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.