Blockchain Geth(go ethereum)在挖掘期间使用100%的CPU,即使指定了一个线程

Blockchain Geth(go ethereum)在挖掘期间使用100%的CPU,即使指定了一个线程,blockchain,ethereum,go-ethereum,mining,geth,Blockchain,Ethereum,Go Ethereum,Mining,Geth,复制步骤: 使用参数运行geth --mine--minerthreads“1” 或 --mine--minerthreads 1 预期行为: 仅使用1个线程 实际行为: 所有CPU线程(8)都使用100%负载 系统信息: Geth版本:1.9.6 OS&Version:Linux(Ubuntu18.04)它只限制挖掘线程,但您的geth节点也在与其他节点同步,这可能会占用大量CPU资源

复制步骤:

使用参数运行geth
--mine--minerthreads“1”
--mine--minerthreads 1

预期行为:

仅使用1个线程

实际行为:

所有CPU线程(8)都使用100%负载

系统信息:

Geth版本:1.9.6
OS&Version:Linux(Ubuntu18.04)

它只限制挖掘线程,但您的geth节点也在与其他节点同步,这可能会占用大量CPU资源