AWS Lambda vCPU/memory ratio table

1

When Lambda maximum memory size was 3GB, we had official information that below 1.8GB it has 1 vCPU and above 1.8GB it has 2 vCPUs. So we were able to share some multi-threading optimization tips with the customers.

Now with support of up to 10GB of RAM and up to 6 vCPUs, do we have any official information on the number of vCPUs based on the memory size?

AWS
已提問 3 年前檢視次數 8732 次
1 個回答
0
已接受的答案

The details can be found here.

Also more details was shared in the What's New in Serverless re:Invent session.

AWS
專家
已回答 3 年前
  • the link to re:Invent session is broken.

  • Mentioned above details can be found here: https://youtu.be/aW5EtKHTMuQ?t=339

    What's interesting is that for the nodejs16.x internally process detects different CPU configurations, we get:

    128-3008 MB - 2 Allocated cores 3009-5307 - 3 Allocated Cores

    And rest of the numbers are as in the presentation

    I wonder whether it's a quirk of Node.js CPU cores detection, or AWS does something different for Node.js specifically

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南