我有一个谷歌计算引擎实例在us-central1-b运行与1vCPU和3.75GB内存的Centos 7。
根据https://cloud.google.com/compute/docs/networks-and-firewalls上的“Egress吞吐量上限”一节,我的上网速度应该接近2Gb(“每个核心都需要2 Gbits /第二(Gbps)的峰值性能上限“)。
我已经安装了speedtest-cli(pip install speedtest-cli)并且在一天中的不同时间执行了许多testing。 我的最大下载量是500Mb,最大上传量是72Mb。
我真的不希望在这个小虚拟机上获得2Gb,但我预计它会更接近1Gbps和更多的同步连接。
我有没有错过一些解释WAN速度更好的文档? 我没有正确理解引用的文档? 我的系统是否configuration错误导致这些asynchronous速度非常慢?
感谢您的任何反馈。
而且,这个系统上没有其他的stream量。 这只是一个testing框。
根据文档 ,“所有大写字母表示同一个区域中两个VM实例之间的最大可能性能,都使用内部IP地址”。 我使用“iperf”[1] [2](sudo yum install iperf)validation了在同一区域运行两个运行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
我使用4个vCPUvalidation了运行实例,并获得了7.67 Gbits / sec的带宽,非常接近文档中定义的8 Gbps。 我build议你去validation一下。
而且,由于谷歌无法控制互联网stream量中涉及的ISPnetworking和其他因素(例如:路由等),因此Google无法保证ISPnetworking上来自虚拟机的出口networkingstream量的出口吞吐量。
[2] https://www.linode.com/docs/networking/diagnostics/diagnosing-network-speed-with-iperf