google-cloud-platform - gcp 实例可以与单个网络接口(interface)一起使用的最大带宽是多少?

标签 google-cloud-platform google-compute-engine bandwidth

  • 我正在使用 n 个并行进程将数据上传到 Google 云存储桶,导出数据速率约为 16Gbps。
  • 对于仅使用 n 个并行进程从 gcp 存储桶下载数据,入口流量约为 26Gbps。
  • 但是当我以相同的编号同时执行上传和下载时。在进程中,入口速率降低到 ~7Gbps,导出速率降低到 ~11/12Gbps。
  • 使用不同的存储桶进行上传和下载。实例和存储桶在同一个区域。
    使用 Windows Server 2012 r2 操作系统,配置为 n1-standard-32(32 个 vCPU,120 GB 内存)。
    上传和下载 api 在 C# REST api 中使用 httprequests。
    GCP 文档未提及任何带宽上限:https://cloud.google.com/vpc/docs/quota#per_instance .
  • 适配器的 LinkSpeed 为 100 Gbps
  • 如果仅上传和仅下载占用全部带宽,那么我假设同时执行两者应将每个扩展至 ~16Gbps。
  • 每个 gcp 实例的总流量是否有上限?
    gcp 实例可以与单个网络接口(interface)一起使用的最大带宽是多少?
  • 最佳答案

    GCP does not cap the ingress or egress traffic - 但这一切都取决于机器可以处理什么以及可以占用多少网络(取决于网络条件)。

    您链接到的文档说没有上限,但它说的是

    egress and ingress bandwidth depends on machine type



    它还指出(在“Notes”列中的“Maximum ingress data rate”下,您应该只为一台机器计划 10Gbps:

    For purposes of capacity planning, you should assume that each VM instance can handle no more than 10 Gbps of external Internet traffic.



    您可以查找max bandwidth for various machine types在文档中。您有 N1 32cpu,其限制为 32Gbps(

    32 Gbps for Skylake or later CPU platforms. 16 Gbps for all other platforms



    考虑到您确实有效地达到了大约 26 Gbps,我会说这是非常好的结果——此外,在非理想的网络条件下。

    There's more :

    Network bandwidth is up to the specified limit. Actual performance depends on factors such as network congestion or protocol overhead.



    取决于测量方法 - 在我看来,您几乎达到了单个 GCP VM 的任意带宽限制。

    如果我是你,我会坚持这个数字并做出相应的计划。如果您想要更快的速度,那么您可以编写 GCP 支持并询问。

    关于google-cloud-platform - gcp 实例可以与单个网络接口(interface)一起使用的最大带宽是多少?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59137224/

    相关文章:

    api - 使用 API 网关保护云功能

    google-cloud-platform - 如何按小时监控 Google Cloud Platform (GCP) 成本?

    google-compute-engine - 谷歌计算引擎 : How can I disable the firewall of VM instance?

    django - 从 Django/Python3 部署到 Google Compute Engine 管理的虚拟机

    linux - gcloud 会显示图像系列选项吗?

    c# - 如何在Web应用程序中显示互联网连接速度?

    google-cloud-storage - 为 Google Cloud Storage 存储分区启用网络服务器访问日志

    java - 如何使用 Java 在 GCP 上创建云机器学习引擎作业?

    android - Firebase 数据库带宽计算

    networking - 为什么大多数电脑游戏不超过 16v16?