---
eip: 7870
label: EIP-7870
title: Hardware and Bandwidth Recommendations
status: Living
type: Informational
created: 2025-01-26
official: https://eips.ethereum.org/EIPS/eip-7870
source: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7870.md
canonical: https://eips.huatuo.xyz/zh/eip-7870/
lang: zh
tldr: 一份持续更新的参考，说明以太坊全节点、attester 和本地区块构建者应当具备的硬件和带宽，用作客户端基准测试和升级决策的基线。
tags: [nodes, validators, hardware, bandwidth, informational]
---

# EIP-7870: Hardware and Bandwidth Recommendations

> System recommendations for Validators and Full nodes

**TL;DR:** 一份持续更新的参考，说明以太坊全节点、attester 和本地区块构建者应当具备的硬件和带宽，用作客户端基准测试和升级决策的基线。

## 它解决什么问题？

客户端团队会对自己的软件做基准测试，核心开发者则要决定网络能处理多少 gas、blob 数据或新的密码学。两者都取决于节点运营者实际运行的是什么硬件。没有共同的目标，基准测试的数字就无法比较，协议权衡只能靠猜，家庭质押者也不知道该买什么。

EIP-7870 把这个目标写了下来。它不改变协议，而是衡量未来 EIP 的标尺。

## 它如何运作

它定义了三种角色，每种都假定执行客户端和共识客户端运行在同一台机器上：

| 角色 | 存储 | 内存 | CPU（核心/线程） | PassMark ST / MT | 下行 / 上行 |
| --- | --- | --- | --- | --- | --- |
| 全节点 | 4 TB NVMe | 32 GB | 4c / 8t | 约 1000 / 约 3000 | 50 / 15 Mbps |
| Attester | 4 TB NVMe | 64 GB | 8c / 16t | 约 3500 / 约 25000 | 50 / 25 Mbps |
| 本地区块构建者 | 4 TB NVMe | 64 GB | 8c / 16t | 约 3500 / 约 25000 | 100 / 50 Mbps |

依据要点：

- **存储：** 用 NVMe 而不是 SATA；避免无 DRAM 缓存和 QLC 的硬盘；目标是顺序读写约 500 MB/s、4K 随机读 50k、随机写 15k IOPS，并检查硬盘的写入耐久度（TBW）。截至 2025 年 1 月，2 TB 仍可能够用，但 4 TB 更能面向未来，因为历史过期（[EIP-4444](/eip-4444/)）还没有明确的时间表。
- **内存：** 验证者建议 64 GB，因为某些客户端组合在 16 GB 下出现过故障，而且未来的密码学（如 zk-STARK 验证）可能需要更多内存。
- **带宽：** 区块构建者需要最大的上行带宽，才能及时传播区块和 blob。使用 MEV-Boost 的验证者可以参照 attester 的数字，但当回退到本地构建时，需要构建者级别的带宽。

低于这些规格运行也许可行，但基准测试和决策都以此为前提。

## 示例代码

规范建议使用 `fio` 检查磁盘性能：

```bash
# Sequential read/write
fio --name=seq --filename=test --direct=1 --ioengine=libaio \
    --iodepth=64 --bs=1M --size=4G --rw=readwrite

# Random 4K, 75% reads
fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 \
    --name=test --filename=test --bs=4k --iodepth=64 --size=4G \
    --readwrite=randrw --rwmixread=75

rm test   # clean up the 4 GB test file
```

## 需要注意

- **状态：Living。** 这些数字预计会随着网络的发展而更新，因此购买硬件之前请查看当前版本。
- 这些是建议，不是共识规则。没有任何机制阻止硬件较弱的节点加入。
- 该 EIP 要求未来的协议提案评估其对这些建议的影响。
- PassMark 分数只是近似值；规范把约 3500 单线程 / 约 25000 多线程对应到 2024–2025 年中高端的服务器 CPU。


---

This is an unofficial plain-language summary. Read the full specification: https://eips.ethereum.org/EIPS/eip-7870
