3.3. 磁盘延迟对 etcd 的影响


etcd 集群对磁盘延迟非常敏感。要了解 control plane 环境中 etcd 遇到的磁盘延迟,请运行 fio 测试或套件。

确保最终报告根据 etcd 对磁盘进行分类,如下例所示:

...
99th percentile of fsync is 5865472 ns
99th percentile of the fsync is within the recommended threshold: - 20 ms, the disk can be used to host etcd
Copy to Clipboard Toggle word wrap

当使用高延迟磁盘时,会出现一个信息说明磁盘不建议用于 etcd,如下例所示:

...
99th percentile of fsync is 15865472 ns
99th percentile of the fsync is greater than the recommended value which is 20 ms, faster disks are recommended to host etcd for better performance
Copy to Clipboard Toggle word wrap

当使用涵盖不满足推荐延迟的 etcd 磁盘的多个数据中心的集群部署时,它会增加服务影响失败的机会,并显著减少 control plane 可保持的网络延迟。

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat