go-opera icon indicating copy to clipboard operation
go-opera copied to clipboard

EVM processing takes a long time when gas usage is high

Open yzhou61 opened this issue 2 years ago • 2 comments

Describe the bug If a block consumes a high amount of gas (> 5m), the EVM processing time of the block increases dramatically.

To Reproduce Steps to reproduce the behavior:

  1. Run the node on mainnet
  2. Wait for a block that consumes more than 10M gas.
  3. Observe the EVM processing time (the "t" variable in the "New block" print on the console)

Expected behavior I would expect the processing time of a block should be somewhat linear to the gas used.

Desktop (please complete the following information):

  • OS: Linux
  • Version v1.1.0-rc.4

yzhou61 avatar May 03 '22 01:05 yzhou61

Please use 1.1.1-rc.2 and try again. We're going to have several other improvements in next releases in near future.

quan8 avatar Aug 13 '22 19:08 quan8

Using v1.1.1-rc2, the problem seems to have gotten worse. Now I'm seeing the node getting seemingly "stuck" for much longer, especially when the gas usage is above 10M in a block.

My hardware should not be the limiting factor. I have Ryzen 5950x with 128G memory, NVME drive.

yzhou61 avatar Sep 16 '22 01:09 yzhou61