Cannot write buffer for DAG - mining Ethereum (Ethash) on video cards with 4Gb video memory in 2020

ethash 4gb miningEthereum, a popular cryptocurrency for miners, uses the Dagger-Hashimoto mining algorithm or simply ETHash, for which a special file must be loaded into the memory of the video card - DAG file. He, in turn, tends to increase in size after a certain period of time, called epochs. As of July 22, 2020, there is an epoch 350 on the Ethereum network, and the DAG file size for this epoch is 3.73Gb. In 2015, when the Ethereum cryptocurrency had just appeared, at the zero epoch the DAG file was exactly 1Gb, so in 2015 video cards with 2Gb video memory could mine this cryptocurrency, but already in 2016 miners with such video cards began to receive the message "Creating one big buffer for the DAG" symbolizing the lack of video memory for creating and storing a DAG file in the video memory of video cards with 2Gb. In 2018, the same fate befell the owners of video cards with 3Gb video memory, and in 2020, as you might have guessed, 4Gb video cards AMD RX470, RX480, RX560, RX570, RX580 and Nvidia GTX1050Ti, GTX 1650, GTX 1650 Super will finally leave Ethereum mining.

The DAG file will reach 4Gb size in late 2020 - early 2021, but the lack of 4Gb video memory for mining will come much earlier. In addition to the DAG file, the memory of the video cards stores the data necessary for drawing the OS interface, auxiliary data and the miner buffer, and the more space this data takes, the faster your video card disconnects from Ethereum mining.

At the moment, only miners using windows 10 OS face the lack of VRAM (Not enough VRAM for DAG). this operating system uses the most video memory for its own needs. The cardinal solution to this problem is the transition to Linux OS, for example HiveOS or any other OS based on Linux. You can see an overview of operating systems for mining in this article: Choosing OS for mining cryptocurrencies on video cards

Switching from Windows 10 to Linux will give you the maximum period for mining Ethereum on 4GB video cards, but if you are not yet ready for such changes, you can use some of our tips that will extend the use of Windows in Ethereum mining.

 

  • Connect the monitor (HDMI emulator) to the integrated video card
  • Update the miner to the latest version (use less video memory)
  • Put a video card with more than 4GB video memory in the 0 slot of the motherboard. DAG files are generated on this video card, which requires additional memory.
  • Switch from Claymore miner to Phoenix or NBMiner, because Claymore uses the most VRAM for their needs
  • Use miner command -eres 0 reduces miner buffer in VRAM
  • Using the miner command -lidag 3 reduces the use of VRAM during DAG file creation, but the speed of these files creation decreases.
  • Disable AERO Windows interface, reduce screen resolution and disable all unnecessary programs, which reduces the consumption of video memory by Windows itself
  • Downgrade from Windows 10 to Windows 7 or 8. Older OS versions require less video memory, but hardware compatibility issues may occur.
  • The last chance to stay in Ethereum mining with 4Gb graphics cards is to install HiveOS or a Linux-like operating system.

As we have already reported, even the most drastic measures will not help you mine Ethereum using 4Gb video cards already in December 2020, so you need to be ready to switch to other mining algorithms and, accordingly, other cryptocurrencies, which may not be as profitable as Ethereum in the long term. Or even now, without waiting for the error of lack of memory - cannot write buffer for DAG, replace all your video cards from 4Gb with similar or newer ones with 6Gb or more.