{"id":4627,"date":"2021-11-16T11:05:19","date_gmt":"2021-11-16T02:05:19","guid":{"rendered":"https:\/\/azbase-azbase-dev2.azurewebsites.net\/ja-jp\/events\/azurebase\/?p=4627"},"modified":"2022-09-16T16:33:59","modified_gmt":"2022-09-16T07:33:59","slug":"optimizing-openfoam-performance-and-cost-on-azure-hbv2-vms","status":"publish","type":"post","link":"https:\/\/www.microsoft.com\/ja-jp\/events\/azurebase\/blog\/optimizing-openfoam-performance-and-cost-on-azure-hbv2-vms\/","title":{"rendered":"Azure HBv2 VM \u3067\u306e OpenFOAM \u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3068\u30b3\u30b9\u30c8\u306e\u6700\u9069\u5316"},"content":{"rendered":"
\u5354\u529b\u8005: Jon Shelley\u3001\u30d7\u30ea\u30f3\u30b7\u30d1\u30eb PM \u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3001\u30de\u30a4\u30af\u30ed\u30bd\u30d5\u30c8\u3001Amirreza Rastegari\u3001\u30d7\u30ed\u30b0\u30e9\u30e0 \u30de\u30cd\u30fc\u30b8\u30e3\u30fc 2\u3001\u30de\u30a4\u30af\u30ed\u30bd\u30d5\u30c8\u3001Gaurav Uppal\u3001\u30d7\u30ed\u30b0\u30e9\u30e0 \u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3001\u30de\u30a4\u30af\u30ed\u30bd\u30d5\u30c8<\/p>\n
Azure HBv2<\/a> \u4eee\u60f3\u30de\u30b7\u30f3\u306f\u3001\u3042\u3089\u3086\u308b\u30d1\u30d6\u30ea\u30c3\u30af \u30af\u30e9\u30a6\u30c9 \u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u306e\u4e2d\u3067\u6700\u9ad8\u30ec\u30d9\u30eb\u306e HPC \u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3001\u30b9\u30b1\u30fc\u30e9\u30d3\u30ea\u30c6\u30a3\u3001\u304a\u3088\u3073\u30b3\u30b9\u30c8\u52b9\u7387\u3092\u5b9f\u73fe\u3057\u307e\u3059\u3002AMD EPYCTM<\/a><\/sup> 7V12 \u30d7\u30ed\u30bb\u30c3\u30b5\u3092\u642d\u8f09\u3057\u305f HBv2 VM \u306f\u3001\u30ea\u30fc\u30c0\u30fc\u30b7\u30c3\u30d7 \u30ec\u30d9\u30eb\u306e x86 \u30b3\u30a2\u6570\u3001\u30e1\u30e2\u30ea\u5e2f\u57df\u5e45\u3001\u304a\u3088\u3073 L3 \u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u5099\u3048\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u3059\u3079\u3066\u306e HBv2 VM \u306b\u642d\u8f09\u3055\u308c\u3066\u3044\u308b 200 Gb\/\u79d2\u306e HDR InfiniBand \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u3088\u308a\u3001\u4eee\u60f3\u30de\u30b7\u30f3 \u30b9\u30b1\u30fc\u30eb \u30bb\u30c3\u30c8<\/a>\u3067\u306f 1 \u30b8\u30e7\u30d6\u3042\u305f\u308a 36,000 \u30b3\u30a2\u307e\u3067\u3001\u307e\u305f\u6700\u5927\u898f\u6a21\u306e\u304a\u5ba2\u69d8\u306b\u3064\u3044\u3066\u306f 80,000 \u30b3\u30a2<\/a>\u307e\u3067\u306e MPI \u306e\u30b9\u30b1\u30fc\u30e9\u30d3\u30ea\u30c6\u30a3\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n \u3053\u306e\u8c4a\u5bcc\u306a\u30ea\u30bd\u30fc\u30b9\u306b\u3088\u308a\u304a\u5ba2\u69d8\u306f\u81ea\u5728\u306a\u69cb\u6210\u304c\u53ef\u80fd\u306a\u305f\u3081\u3001HPC \u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u3084\u500b\u3005\u306e\u30e2\u30c7\u30eb\u3092\u6700\u9069\u5316\u3057\u3001\u6700\u9ad8\u30ec\u30d9\u30eb\u306e\u89e3\u6790\u901f\u5ea6\u3068\u7dcf\u30b3\u30b9\u30c8\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n \u3053\u306e\u539f\u7406\u3092\u5b9f\u969b\u306b\u8aac\u660e\u3059\u308b\u305f\u3081\u306b\u3001Azure HPC \u30c1\u30fc\u30e0\u306f HBv2 VM \u4e0a\u3067\u3001\u5e83\u304f\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b CFD \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u3042\u308b OpenFOAM \u3092\u3001\u6a19\u6e96\u7684\u306a\u300cMotorbike\u300d\u30e2\u30c7\u30eb\u3067 2,800 \u4e07\u30bb\u30eb\u306e\u30e1\u30c3\u30b7\u30e5 \u30b5\u30a4\u30ba\u3067\u5b9f\u884c\u3057\u307e\u3057\u305f\u3002\u3053\u306e\u6f14\u7fd2\u3067\u306f\u3001OpenFOAM \u306e\u3088\u3046\u306a\u30e1\u30e2\u30ea\u5e2f\u57df\u5e45\u306e\u5f71\u97ff\u3092\u53d7\u3051\u3084\u3059\u3044\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u306e\u3001VM \u3042\u305f\u308a\u306e\u30b3\u30a2\u6570\u3092\u6291\u3048\u3066\u30b3\u30a2\u3042\u305f\u308a\u306e\u30e1\u30e2\u30ea\u5e2f\u57df\u5e45\u3092\u5897\u3084\u3059\u3053\u3068\u306e\u30e1\u30ea\u30c3\u30c8\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u30e1\u30e2\u30ea\u5e2f\u57df\u5e45\u306e FLOPS \u3068\u30d0\u30a4\u30c8\u6570\u306e\u30d0\u30e9\u30f3\u30b9\u3092\u6539\u5584\u3059\u308b\u3053\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u306b\u3088\u308a\u3001\u540c\u3058\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u30e2\u30c7\u30eb\u3092 Amazon Web Services \u4e0a\u306e\u3042\u3089\u3086\u308b HPC \u4eee\u60f3\u30de\u30b7\u30f3\u88fd\u54c1\u3067\u5b9f\u884c\u3057\u305f\u5834\u5408\u3068\u6bd4\u8f03\u3057\u3066\u3001\u975e\u5e38\u306b\u512a\u308c\u305f\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3001\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u52b9\u7387\u3001\u304a\u3088\u3073\u30b3\u30b9\u30c8\u52b9\u7387\u304c\u5b9f\u73fe\u3055\u308c\u307e\u3059\u3002<\/p>\n HBv2 \u306e\u30c6\u30b9\u30c8\u69cb\u6210<\/span><\/strong> OpenFOAM<\/span><\/strong> \u3053\u308c\u306f\u4e2d\u898f\u6a21\u306e\u30e2\u30c7\u30eb\u3067\u3042\u308b\u305f\u3081\u3001\u3042\u308b\u70b9\u307e\u3067\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3057\u305f\u5f8c\u3001\u305d\u306e\u5f8c\u306f\u7dda\u5f62\u306b\u306f\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3057\u306a\u304f\u306a\u308a\u307e\u3059\u3002\u8a00\u3044\u63db\u3048\u308b\u3068\u3001\u3053\u306e\u3088\u3046\u306a\u30e2\u30c7\u30eb\u3067\u306f\u300c\u30b9\u30a4\u30fc\u30c8 \u30b9\u30dd\u30c3\u30c8\u300d\u307e\u3067\u306f\u8ffd\u52a0\u30b3\u30b9\u30c8\u306a\u3057\u3067\u89e3\u6790\u901f\u5ea6\u304c\u4e0a\u6607\u3057\u7d9a\u3051\u307e\u3059\u304c\u3001\u3053\u306e\u70b9\u3092\u8d85\u3048\u308b\u3068\u89e3\u6790\u901f\u5ea6\u3092\u4e0a\u3052\u308b\u306b\u306f\u30b8\u30e7\u30d6\u3042\u305f\u308a\u306e\u30b3\u30b9\u30c8\u3082\u5897\u52a0\u3057\u307e\u3059\u3002<\/p>\n \u3053\u306e\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u6f14\u7fd2\u3067\u4f7f\u7528\u3057\u305f\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n <\/p>\n \u7d50\u679c<\/span><\/strong> <\/p>\n \u56f3 2 \u306e\u30d3\u30b8\u30cd\u30b9\u4e0a\u306e\u8003\u616e\u4e8b\u9805\u306b\u76ee\u3092\u5411\u3051\u308b\u3068\u3001\u30b8\u30e7\u30d6\u3042\u305f\u308a\u306e\u30b3\u30b9\u30c8\u304c\u30b9\u30b1\u30fc\u30eb\u3068\u3068\u3082\u306b\u5909\u5316\u3059\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002\u3069\u3061\u3089\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u3067\u3082\u540c\u3058\u6570\u306e VM \u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u30b3\u30b9\u30c8\u306e\u5dee\u306f\u3001VM \u30b9\u30b1\u30fc\u30eb\u306e\u7279\u5b9a\u306e\u30ec\u30d9\u30eb\u3067\u3069\u3061\u3089\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u304c\u3088\u308a\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u9ad8\u3044\u304b\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u6f14\u7fd2\u306e\u5927\u534a\u3067\u306f 60 \u30b3\u30a2\/\u30ce\u30fc\u30c9\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u306e\u307b\u3046\u304c\u3001\u30b3\u30b9\u30c8\u52b9\u7387\u304c\u9ad8\u304f\u306a\u308a\u307e\u3059\u304c\u300132 \u53f0\u306e VM \u3067\u306f 30 \u30b3\u30a2\/\u30ce\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u305f\u307b\u3046\u304c\u3001\u30b3\u30b9\u30c8\u52b9\u7387\u304c\u9ad8\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n <\/p>\n \u3053\u306e\u30c7\u30fc\u30bf\u3092\u3001HPC \u306e\u304a\u5ba2\u69d8\u304c\u3001\u5c02\u7528 HPC \u6a5f\u80fd\u306e\u63d0\u4f9b\u306b\u304a\u3051\u308b Azure \u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u306e\u5f37\u307f\u3092\u7406\u89e3\u3059\u308b\u3046\u3048\u3067\u5f79\u7acb\u3064\u8996\u70b9\u3067\u793a\u3059\u305f\u3081\u306b\u3001HBv2 \u306e\u7d50\u679c\u3092\u3001c5n.18xlarge \u4eee\u60f3\u30de\u30b7\u30f3\u3092\u4f7f\u7528\u3057\u305f Amazon Web Services \u3067\u306e\u540c\u3058\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u30e2\u30c7\u30eb\u306e\u7d50\u679c (AWS \u306e\u30e2\u30fc\u30bf\u30fc\u30b9\u30dd\u30fc\u30c4\u5411\u3051\u306e\u6570\u5024\u6d41\u4f53\u529b\u5b66<\/a>\u30ec\u30dd\u30fc\u30c8\u304b\u3089\u5f15\u7528) \u3068\u6bd4\u8f03\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n C5n.18xlarge \u306e\u4ed5\u69d8\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n <\/p>\n
\n\u5404 Azure HBv2 \u4eee\u60f3\u30de\u30b7\u30f3\u306e\u69cb\u6210\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n\n
\nOpenFOAM \u306f\u8907\u96d1\u306a\u30e2\u30c7\u30eb\u304a\u3088\u3073\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u5411\u3051\u306e\u30aa\u30fc\u30d7\u30f3 \u30bd\u30fc\u30b9\u306e CFD \u30bd\u30eb\u30d0\u30fc\u3067\u3059\u3002Motorbike \u30e2\u30c7\u30eb\u3067\u306f\u3001OpenFOAM \u306f\u30d0\u30a4\u30af\u3068\u30e9\u30a4\u30c0\u30fc\u306e\u5468\u56f2\u306e\u5b9a\u5e38\u6c17\u6d41\u3092\u8a08\u7b97\u3057\u307e\u3059\u3002OpenFOAM \u306f\u30e6\u30fc\u30b6\u30fc\u306b\u3088\u308a\u6307\u5b9a\u3055\u308c\u305f\u30d7\u30ed\u30bb\u30b9\u6570\u306b\u5f93\u3063\u3066\u8a08\u7b97\u3092\u8ca0\u8377\u5206\u6563\u3057\u3001\u89e3\u6790\u3059\u308b\u30d7\u30ed\u30bb\u30b9\u3054\u3068\u306b\u30e1\u30c3\u30b7\u30e5\u3092\u5206\u5272\u3057\u307e\u3059\u3002\u89e3\u6790\u306e\u5b8c\u4e86\u5f8c\u3001\u30e1\u30c3\u30b7\u30e5\u3068\u89e3\u304c 1 \u3064\u306e\u9818\u57df\u306b\u518d\u5408\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n\n
\n\u56f3 1 \u306b\u3001\u30e2\u30c7\u30eb\u3092 1 \uff5e 32 \u53f0\u306e VM \u3067\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3057\u305f\u3068\u304d\u306e\u751f\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9 \u30c7\u30fc\u30bf\u3092\u793a\u3057\u307e\u3059\u30021 \uff5e 16 \u53f0\u306e VM \u306e\u5c0f\u30b9\u30b1\u30fc\u30eb\u69cb\u6210\u3067\u306f\u3001\u307b\u3068\u3093\u3069\u306e\u5b9f\u6642\u9593\u306f\u901a\u4fe1\u3067\u306f\u306a\u304f\u8a08\u7b97\u306b\u8cbb\u3084\u3055\u308c\u308b\u305f\u3081\u300160 \u30b3\u30a2\/\u30ce\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u305f\u307b\u3046\u304c (\u9752\u7dda) \u512a\u308c\u305f\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3068\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u52b9\u7387\u304c\u9054\u6210\u3055\u308c\u307e\u3059\u3002\u3057\u304b\u3057\u30b9\u30b1\u30fc\u30eb\u304c\u5927\u304d\u304f\u306a\u308b\u306b\u3064\u308c\u300130 \u30b3\u30a2\/\u30ce\u30fc\u30c9\u306e\u307f\u3092\u4f7f\u7528\u3057\u305f\u307b\u3046\u304c (\u7dd1\u7dda\uff09 \u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u52b9\u7387\u304c\u5411\u4e0a\u3057\u307e\u3059\u300232 \u53f0\u306e VM \u306e\u30d5\u30eb\u30b9\u30b1\u30fc\u30eb\u3067\u306f\u300130 \u30b3\u30a2\/\u30ce\u30fc\u30c9\u306e\u307f\u3092\u4f7f\u7528\u3057\u305f\u307b\u3046\u304c\u3001\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u52b9\u7387\u304c\u9ad8\u3044\u3060\u3051\u3067\u306a\u304f\u3001\u7d76\u5bfe\u7684\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3082\u9ad8\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n