Jef*_*eff 5 google-compute-engine google-cloud-platform
我在 us-central1-b 中有一个谷歌计算引擎实例,运行 Centos 7,1vCPU 和 3.75GB RAM。
根据https://cloud.google.com/compute/docs/networks-and-firewalls上的“出口吞吐量上限”部分,我的互联网速度应该接近 2Gb(“每个核心都受 2 Gbits/峰值性能的第二个 (Gbps) 上限。”)。
我已经安装了 speedtest-cli (pip install speedtest-cli) 并在一天中的不同时间执行了许多测试。我的最大下载为 500Mb,最大上传为 72Mb。
我真的不希望在这个小 VM 上获得 2Gb,但我希望它更接近 1Gbps 和更同步的连接。
我是否在某处错过了一些解释 WAN 速度更好的文档?我没有正确理解引用的文档吗?我的系统是否以某种方式错误配置导致这些非常慢的异步速度?
感谢您的任何反馈。
此外,该系统上没有其他流量;它只是一个测试盒。
小智 5
根据文档,“所有上限都意味着同一区域中两个虚拟机实例之间的最大可能性能,两者都使用内部 IP 地址。” 我使用“iperf”[1][2] (sudo yum install iperf) 验证在同一区域中运行两个运行 Centos 7 的实例,1vCPU 和 3.75GB RAM,并获得 1.64 Gbps。
On the GCE VM machine (with iperf install) in the same zone, run the
command:
iperf -s
On egress test GCE VM machine (with iperf install) run the command
iperf -c xx.xx.xx.xx (where xx.xx.xx.xx is internal IP of the other VM-
instance)
output:
[ID] Interval Transfer Bandwidth
[3] 0.0-10.0 sec 1.91 GBytes 1.64 Gbits/sec
Run Code Online (Sandbox Code Playgroud)
我也用 4 个 vCPU 验证了正在运行的实例,并收到了 7.67 Gbits/sec 的带宽,非常接近文档中定义的 8 Gbps。我建议你验证相同。
此外,由于谷歌无法控制 ISP 网络和其他涉及互联网流量的因素(例如:路由等),谷歌无法保证来自虚拟机通过 ISP 网络的出口网络流量的出口吞吐量。
[2] https://www.linode.com/docs/networking/diagnostics/diagnosing-network-speed-with-iperf
归档时间: |
|
查看次数: |
6695 次 |
最近记录: |