
現在,我正在將家裡筆記型電腦中的資料同步到連接到 m5.large 的 EBS 磁碟區。我看到的寫入延遲非常高(>15 秒)。
我的 EC2 執行個體經過 EBS 最佳化,讀取延遲看起來很正常。 EBS 磁碟區為 300 GB 和 gp2 (SSD) 磁碟區。我的此配置的基準 IOPS 應該是 900 IOPS,但我現在還遠遠沒有達到這個數字。最重要的是,我的突發信用餘額接近 100%。
誰能解釋為什麼我會看到如此糟糕的表現?
答案1
m5 和 c5 執行個體相對較新,並使用新方法來對應 EBS 磁碟區 (NVMe)。它一直受到問題的困擾,包括 CloudWatch 中磁碟延遲的錯誤報告。我目前不建議將 m5/c5 實例用於生產工作負載。
https://www.reddit.com/r/aws/comments/80gghp/known_issue_c5m5_series_ebs_cloudwatch_latency/
https://forums.aws.amazon.com/thread.jspa?messageID=829464&tstart=0
https://forums.aws.amazon.com/thread.jspa?threadID=269860&tstart=50
https://forums.aws.amazon.com/thread.jspa?threadID=275052&tstart=100
https://forums.aws.amazon.com/thread.jspa?threadID=273272&tstart=150