gpt4 book ai didi

performance - 衡量 ec2 实例之间 tcp 性能的正确方法

转载 作者:行者123 更新时间:2023-11-28 21:06:55 25 4
gpt4 key购买 nike

我使用 qperf 工具测量 AWS EC2 实例之间的延迟。首先,我测试了两个 c5xlarge 实例之间的 tcp 延迟,我得到了 30 微秒的延迟。后来我终止了这些实例并在新的两个 c5xlarge 实例中尝试测试。在那里我得到了 65 微秒的延迟。造成这种结果偏差的原因可能是什么?

注意:在我创建测试实例的 VPC 中还有一些其他实例。

执行此类测试的正确方法是什么?

最佳答案

VPC 中的实例数量不会影响此指标。所有网络都是虚拟的。首先,确保实例位于同一可用区。

然后,您可以尝试使用 Placement Group使用 Cluster 选项:

Packs instances close together inside an Availability Zone. This strategy enables workloads to achieve the low-latency network performance necessary for tightly-coupled node-to-node communication that is typical of HPC applications.

关于performance - 衡量 ec2 实例之间 tcp 性能的正确方法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56936034/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com