gpt4 book ai didi

google-cloud-platform - 升级网络规范以在 GCP 计算引擎实例上实现更快的网络连接?

转载 作者:行者123 更新时间:2023-12-04 10:14:37 25 4
gpt4 key购买 nike

我有一个计算引擎实例正在运行,我运行了一些 bigquery 查询,现在将结果集下载到计算引擎实例以进行进一步的工作和探索。 ETA 是 5 小时,并且实例每小时花费几美元,因此我有兴趣为更好的网络功能支付更多费用并在可能的情况下减少传输时间。



是否可以在计算引擎实例上选择更高的网络规范,如果可以,如何选择? (即 cli 命令/选项是什么,或者,这是如何通过 GCP 控制台实现的)

最佳答案

不幸的是,无法通过 Cloud Console 或 SDK 在 GCE 虚拟机上选择更高的网络规范,但您可以在文档中找到一些有用的信息。

首先看一下文档Machine typesNetwork bandwidth :

Google Cloud accounts for bandwidth at the VM level, not per network interface (NIC) or IP address. Neither adding more IP addresses to a NIC with alias IP ranges or creating a VM with multiple NICs will increase either inbound or outbound bandwidth.





Inbound bandwidth Google Cloud handles inbound traffic to a VM differently depending on whether the packet's destination is an internal IP address or an external IP address.

  • To an internal IP address Google Cloud places no restriction on traffic inbound to an associated internal IP address. A VM is allowed to receive as much internal traffic as its machine type, operating system, and other network conditions and resources permit.

  • To an external IP address Google Cloud limits inbound traffic sent to a VM's associated external IP address to whichever of the following rates that would be exceeded first:

    • 1,800,000 packets per second
    • 20Gb/s

Note: Depending on the machine type of your VM and other factors, actual inbound traffic might be less than 20Gb/s. Bandwidth from the internet, for example, is not covered by any SLA and is subject to network conditions.



另一方面, outbound bandwidth取决于 VM 的机器类型。

之后,看看文章 5 steps to better GCP network performance

另外,我建议您选择合适的 storage使您的 GCE VM 达到预期的网络带宽:

Block storage resources have different performance characteristics. Consider your storage size and performance requirements to help you determine the correct block storage type for your instances.

关于google-cloud-platform - 升级网络规范以在 GCP 计算引擎实例上实现更快的网络连接?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61140492/

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