Upgrade to Pro — share decks privately, control downloads, hide ads and more …

20230315_JAWS-UG_朝会_43_LT資料

tsumita
March 14, 2023
290

 20230315_JAWS-UG_朝会_43_LT資料

2023/03/15に行われた JAWS-UG_朝会_43_LT資料

https://jawsug-asa.connpass.com/event/266889/

# p6
※1:Leaping ahead: The power of cloud network innovation
https://d1.awsstatic.com/events/Summits/reinvent2022/NET211-L_Leaping-ahead-The-power-of-cloud-network-innovation.pdf
※2:EC2 インスタンス向けの次世代ネットワークインターフェイス、Elastic Network Adapter (ENA) を導入
https://aws.amazon.com/jp/about-aws/whats-new/2016/06/introducing-elastic-network-adapter-ena-the-next-generation-network-interface-for-ec2-instances/
Powering Amazon EC2: Deep dive on the AWS Nitro System
https://d1.awsstatic.com/events/Summits/reinvent2022/CMP301_Powering-Amazon-EC2-Deep-dive-on-the-AWS-Nitro-System.pdf

#p8
※1: Lower the Time-to-Results for Tightly Coupled HPC Applications on the AWS Cloud with the Elastic Fabric Adapter
https://d1.awsstatic.com/HPC2019/Lower-Time-To-Results-with-EFA-Dec2019.pdf

※2: Elastic Fabric Adapter Supported instance types
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html#efa-instance-types

# p10
※1:Lower the Time-to-Results for Tightly Coupled HPC Applications on the AWS Cloud with the Elastic Fabric Adapter
https://d1.awsstatic.com/HPC2019/Lower-Time-To-Results-with-EFA-Dec2019.pdf

※2: Silicon innovation at AWS
https://d1.awsstatic.com/events/Summits/reinvent2022/CMP201_Silicon-innovation-at-AWS.pdf

# p12
※1: Amazon EC2 向け Elastic Network Adapter (ENA) Express を発表
https://aws.amazon.com/jp/about-aws/whats-new/2022/11/elastic-network-adapter-ena-express-amazon-ec2-instances/

※2: Supported instance types for ENA Express
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ena-express.html#ena-express-supported-instance-types

※3:Amazon EC2 インスタンスのネットワーク帯域幅
https://docs.aws.amazon.com/ja_jp/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html

tsumita

March 14, 2023
Tweet

Transcript

  1. ENAとEFAとENA Expressと
    JAWS-UG朝会 #43
    2023.03.15

    View Slide

  2. ⾃⼰紹介
    積⽥ 優⽣ (Tsumita Yuki)
    Twitter: @tsumita7
    2021 APN AWS Top Engineer
    2021,2022 APN ALL AWS Certifications Engineer
    好きなAWSサービス
    AWS
    Support
    Amazon
    EventBridge
    AWS
    Fargate

    View Slide

  3. 本⽇お話しすること
    • ENA(Elastic Network Adapter)
    • EFA(Elastic Fabric Adapter)
    • SRD(Scalable Reliable Datagram)
    • ENA Express
    • ENA と EFA と ENA Express と

    View Slide

  4. はじめに
    • 本⽇の発表は個⼈的なものであり、所属組織を代表するものではありません。
    • 2023/03/15時点の最新情報をもとに記載しています。

    View Slide

  5. ENA(Elastic Network Adaptor)

    View Slide

  6. ENA(Elastic Network Adaptor)
    ※1︓Leaping ahead: The power of cloud network innovation
    https://d1.awsstatic.com/events/Summits/reinvent2022/NET211-L_Leaping-ahead-The-power-of-cloud-network-innovation.pdf
    ※2︓EC2 インスタンス向けの次世代ネットワークインターフェイス、Elastic Network Adapter (ENA) を導⼊
    https://aws.amazon.com/jp/about-aws/whats-new/2016/06/introducing-elastic-network-adapter-ena-the-next-generation-network-interface-for-ec2-instances/
    Powering Amazon EC2: Deep dive on the AWS Nitro System
    https://d1.awsstatic.com/events/Summits/reinvent2022/CMP301_Powering-Amazon-EC2-Deep-dive-on-the-AWS-Nitro-System.pdf
    • Nitro System(※1)の⼀部として2016年に発表(※2)
    ü 発表当初は最⼤20Gbpsだったが、現在は最⼤200Gbpsまで対応!!
    • 現⾏世代の⼀般的なEC2インスタンスタイプ(Linux)でデフォルト有効

    View Slide

  7. EFA(Elastic Fabric Adapter)

    View Slide

  8. EFA(Elastic Fabric Adapter)
    ※1︓ Lower the Time-to-Results for Tightly Coupled HPC Applications on the AWS Cloud with the Elastic Fabric Adapter
    https://d1.awsstatic.com/HPC2019/Lower-Time-To-Results-with-EFA-Dec2019.pdf
    ※2︓ Elastic Fabric Adapter Supported instance types
    https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html#efa-instance-types
    • ENAのイケていない部分を改善する⽬的(※1)で2019年に発表
    • 利⽤可能なインスタンスタイプは66種類 (※2)
    ü ⼀番お安く使えるのはc5n.9xlarge
    • 主な利⽤⽤途は「HPC」や「機械学習」
    • 同⼀サブネットのEC2間通信で利⽤可能
    • EC2作成時 or EC2停⽌時のみアタッチ可能
    • EFAでは主に以下3つで性能を向上
    ü OSバイパス
    ü デバイスドライバの継続的な開発&適⽤
    ü SRD(Scalable Reliable Datagram)

    View Slide

  9. SRD(Scalable Reliable Datagram)

    View Slide

  10. SRD(Scalable Reliable Datagram)
    ※1︓Lower the Time-to-Results for Tightly Coupled HPC Applications on the AWS Cloud with the Elastic Fabric Adapter
    https://d1.awsstatic.com/HPC2019/Lower-Time-To-Results-with-EFA-Dec2019.pdf
    ※2︓ Silicon innovation at AWS
    https://d1.awsstatic.com/events/Summits/reinvent2022/CMP201_Silicon-innovation-at-AWS.pdf
    • AWSに特化した⾼信頼性・⾼性能・低レイテンシのプロトコル(※1)
    ü 第3世代のNitroチップで実装された
    ü 最新のNitroチップは第5世代(※2)
    • 主な特徴は以下4点
    ü 順序外パケットの配信
    ü ECMP(Equal-cost multi-path routing)
    ü パケットドロップ時の素早いレスポンス
    ü 拡張可能なトランスポートオフロード

    View Slide

  11. ENA Express

    View Slide

  12. ENA Express
    ※1︓ Amazon EC2 向け Elastic Network Adapter (ENA) Express を発表
    https://aws.amazon.com/jp/about-aws/whats-new/2022/11/elastic-network-adapter-ena-express-amazon-ec2-instances/
    ※2︓ Supported instance types for ENA Express
    https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ena-express.html#ena-express-supported-instance-types
    ※3︓Amazon EC2 インスタンスのネットワーク帯域幅
    https://docs.aws.amazon.com/ja_jp/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html
    • TCPおよびUDPを利⽤する従来のアプリでSRDの恩恵を受ける⽬的で2022年に発表(※1)
    • 利⽤可能なインスタンスタイプは16種類 (※2)
    ü ⼀番お安く使えるのはc6gn.16xlarge
    • 利⽤可能インスタンスでENA Expressを有効化するだけで利⽤開始可能。追加費⽤なし
    • 同⼀サブネットのEC2間通信で利⽤可能
    • TCPと⽐較して、p99ネットワークレイテンシーを最⼤50%、p99.9レイテンシーを最⼤85%削減
    • シングルフローで最⼤25Gbpsの帯域が利⽤可能
    ü ENAは5Gbps~10Gbps(※3)

    View Slide

  13. ENA と EFA と ENA Express と

    View Slide

  14. ENA と EFA と ENA Express と
    AWSの下回り
    (特にNitro)は楽しい!!!

    View Slide

  15. ご清聴ありがとうございました
    Thank you for your attention and time.

    View Slide