{"id":315861,"date":"2020-12-31T15:00:48","date_gmt":"2020-12-31T15:00:48","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=315861"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=315861","title":{"rendered":"ARM \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u2014 \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438 \u0431\u043e\u043b\u0435\u0435 \u0434\u0435\u0448\u0451\u0432\u044b\u0435"},"content":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<p>\u0412 \u044d\u0442\u043e\u043c \u0433\u043e\u0434\u0443 Apple \u043f\u043e\u0442\u0440\u044f\u0441\u043b\u0430 \u0440\u044b\u043d\u043e\u043a \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u044b\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u0432 \u0447\u0438\u043f\u043e\u043c Apple M1 \u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438 \u043d\u0430 \u043d\u0451\u043c. \u041f\u043e\u0445\u043e\u0436\u0435\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0435 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e \u0432 \u043c\u0438\u0440\u0435 \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u0432 \u043f\u0440\u043e\u0448\u043b\u043e\u043c \u0433\u043e\u0434\u0443. AWS \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u043b\u0438 \u043d\u043e\u0432\u044b\u0439 \u0442\u0438\u043f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 ARM \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430\u0445 Graviton2. \u041f\u043e \u0437\u0430\u044f\u0432\u043b\u0435\u043d\u0438\u044f\u043c Amazon, \u0441\u043e\u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043a \u0446\u0435\u043d\u0435 \u0443 \u043d\u043e\u0432\u044b\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u0432 \u043d\u0430 40% \u0432\u044b\u0448\u0435, \u0447\u0435\u043c \u0443 \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432 \u043d\u0430 x86. \u0415\u0449\u0451 \u043e\u0434\u043d\u043e \u043d\u0435\u0434\u0430\u0432\u043d\u0435\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 &#8212; \u0441\u0435\u0440\u0432\u0435\u0440\u0430 Amazon RDS (\u043e\u0431\u043b\u0430\u0447\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445) \u043d\u0430 Graviton2. \u042f \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u043e\u0432 \u0438 \u043d\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u044b\u0439 \u0442\u0435\u0441\u0442 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0431\u044d\u043a\u0435\u043d\u0434 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u043b\u0438 \u0445\u043e\u0440\u043e\u0448\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 ARM \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430\u0445 \u0438 \u0443\u0437\u043d\u0430\u0442\u044c \u043a\u0430\u043a\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438 \u043c\u043e\u0433\u0443\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c.<\/p>\n<h2>\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c<\/h2>\n<p>\u042f \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043b \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0442\u0438\u043f\u043e\u0432 t4g.small (ARM) \u0438 t3.small (x86) \u043d\u0430 AWS. \u041d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438 \u0446\u0435\u043d\u0430 \u0437\u0430 1 \u0447\u0430\u0441 \u043d\u0430 x86 \u0441\u0435\u0440\u0432\u0435\u0440 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 $0.0208, \u0430 \u043d\u0430 ARM \u0441\u0435\u0440\u0432\u0435\u0440 &#8212; $0.0168. \u0421\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 ARM \u043d\u0430 20% \u0434\u0435\u0448\u0435\u0432\u043b\u0435.<\/p>\n<p>\u0421\u043f\u0435\u0440\u0432\u0430 \u044f \u043f\u0440\u043e\u0432\u0451\u043b \u043d\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u044b\u0439 \u0442\u0435\u0441\u0442 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 wrk, \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0432 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445 \u0441\u0432\u0435\u0436\u0443\u044e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 recap.dev<\/p>\n<p>\u042d\u0442\u043e \u0448\u0430\u0431\u043b\u043e\u043d docker-compose \u0441 4 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u043c\u0438. \u0412\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440, \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0449\u0438\u0439 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044e\u0449\u0438\u0439 \u0438\u0445 \u0432 RabbitMQ \u0438 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0444\u043e\u043d\u043e\u0432\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044e\u0449\u0438\u0439 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0433\u0440\u0443\u043f\u043f\u0430\u043c\u0438 \u043f\u043e 1000 \u0432 PostgreSQL.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f71\/b6f\/fd5\/f71b6ffd5ff40abcfe56216594fb73eb\" width=\"800\" height=\"300\"><figcaption><\/figcaption><\/figure>\n<p>\u042f \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043b wrk \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 t3.2xlarge, \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0435\u043c\u0441\u044f \u0432 \u0442\u043e\u043c \u0436\u0435 \u0440\u0435\u0433\u0438\u043e\u043d\u0435, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre><code>wrk -t24 -c1000 -d300s -s .\/post.lua &lt;hostname&gt;<\/code><\/pre>\n<p>\u041e\u043d\u0430 \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u043e \u043f\u043e\u0441\u044b\u043b\u0430\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 5 \u043c\u0438\u043d\u0443\u0442, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f 24 \u043f\u043e\u0442\u043e\u043a\u0430 \u0438 1000 HTTP \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0439.<\/p>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0434\u043b\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 t4g.small (ARM):<\/p>\n<pre><code>  24 threads and 1000 connections   Thread Stats   Avg      Stdev     Max   +\/- Stdev     Latency   473.53ms   53.06ms   1.96s    81.33%     Req\/Sec   115.83     96.65   494.00     71.32%   620751 requests in 5.00m, 85.84MB read   Socket errors: connect 0, read 0, write 0, timeout 225 Requests\/sec:   2068.48 Transfer\/sec:    292.90KB<\/code><\/pre>\n<p>\u0414\u043b\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 t3.small (x86):<\/p>\n<pre><code> 24 threads and 1000 connections   Thread Stats   Avg      Stdev     Max   +\/- Stdev     Latency   600.28ms   70.23ms   2.00s    72.53%     Req\/Sec    92.77     82.25   404.00     70.26%   488218 requests in 5.00m, 67.51MB read   Socket errors: connect 0, read 0, write 0, timeout 348 Requests\/sec:   1626.87 Transfer\/sec:    230.37KB<\/code><\/pre>\n<p>\u0421\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 ARM \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u043b \u043d\u0430 27% \u0431\u043e\u043b\u044c\u0448\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443 \u0432 \u0441\u0440\u0435\u0434\u043d\u0435\u043c \u043d\u0430 26% \u0431\u044b\u0441\u0442\u0440\u0435\u0435.<\/p>\n<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/417\/1f9\/dcf\/4171f9dcf7332d8497c1abcb387b2158\" width=\"800\" height=\"400\"><figcaption><\/figcaption><\/figure>\n<p>\u0417\u0430\u0442\u0435\u043c \u044f \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u043e\u0432 \u0438\u0437 <a href=\"https:\/\/www.phoronix-test-suite.com\/\" rel=\"noopener noreferrer nofollow\">\u043d\u0430\u0431\u043e\u0440\u0430 \u0442\u0435\u0441\u0442\u043e\u0432 Phoronix<\/a>.<\/p>\n<p>\u0412 \u0442\u0435\u0441\u0442\u0435 <a href=\"https:\/\/openbenchmarking.org\/test\/pts\/compress-7zip\" rel=\"noopener noreferrer nofollow\">pts\/compress-7zip-1.7.1<\/a>&nbsp;t4g.small (ARM) \u0432\u044b\u0434\u0430\u043b 6833 MIPS, \u0430 \u0441\u0435\u0440\u0432\u0435\u0440 t3.small (x86) &#8212; 5029 MIPS. ARM \u0441\u0435\u0440\u0432\u0435\u0440 \u0431\u044b\u043b \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u0435\u0435 \u043d\u0430 35%.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b04\/6f4\/80a\/b046f480ac13fd235cd45932b7e65149\" width=\"800\" height=\"400\"><figcaption><\/figcaption><\/figure>\n<p>\u0421\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 ARM \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0435 \u0442\u0430\u043a\u0436\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043b \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a <a href=\"https:\/\/openbenchmarking.org\/test\/pts\/c-ray\" rel=\"noopener noreferrer nofollow\">pts\/c-ray<\/a> \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0431\u043e\u043b\u0435\u0435 \u0447\u0435\u043c \u0432 2 \u0440\u0430\u0437\u0430. 958 \u0441\u0435\u043a\u0443\u043d\u0434 \u0443\u0448\u043b\u043e \u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 x86 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0435 \u043f\u0440\u043e\u0442\u0438\u0432 458 \u0441\u0435\u043a\u0443\u043d\u0434 \u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0441 ARM \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u043c.<\/p>\n<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/310\/270\/822\/3102708227cc4654012743e11ffc676e\" width=\"800\" height=\"400\"><figcaption><\/figcaption><\/figure>\n<p>\u042f \u0442\u0430\u043a\u0436\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u0441\u0442\u043e\u0432 <a href=\"https:\/\/openbenchmarking.org\/test\/pts\/ramspeed-1.4.3\" rel=\"noopener noreferrer nofollow\">pts\/ramspeed<\/a>, \u0438\u0437\u043c\u0435\u0440\u044f\u044e\u0449\u0438\u0445 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u043d\u0443\u044e \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u041e\u0417\u0423 \u043f\u0440\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439.<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p><strong>\u0422\u0438\u043f \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u0430<\/strong><\/p>\n<\/td>\n<td data-colwidth=\"245\" width=\"245\">\n<p><strong>t4g.small (ARM)<\/strong><\/p>\n<\/td>\n<td>\n<p><strong>t3.small (x86)<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Add\/Integer    <\/p>\n<\/td>\n<td data-colwidth=\"245\" width=\"245\">\n<p>50000 \u041c\u0411\/c    <\/p>\n<\/td>\n<td>\n<p>13008 \u041c\u0411\/c  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Copy\/Integer    <\/p>\n<\/td>\n<td data-colwidth=\"245\" width=\"245\">\n<p>58650 \u041c\u0411\/c  <\/p>\n<\/td>\n<td>\n<p>11772 \u041c\u0411\/c  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Scale\/Integer    <\/p>\n<\/td>\n<td data-colwidth=\"245\" width=\"245\">\n<p>31753 \u041c\u0411\/c  <\/p>\n<\/td>\n<td>\n<p>11989 \u041c\u0411\/c  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Triad\/Integer    <\/p>\n<\/td>\n<td data-colwidth=\"245\" width=\"245\">\n<p>36869 \u041c\u0411\/c  <\/p>\n<\/td>\n<td>\n<p>12818 \u041c\u0411\/c  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Average\/Integer    <\/p>\n<\/td>\n<td data-colwidth=\"245\" width=\"245\">\n<p>44280 \u041c\u0411\/c  <\/p>\n<\/td>\n<td>\n<p>12314 \u041c\u0411\/c  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Add\/Floating Point    <\/p>\n<\/td>\n<td data-colwidth=\"245\" width=\"245\">\n<p>49775 \u041c\u0411\/c  <\/p>\n<\/td>\n<td>\n<p>12750 \u041c\u0411\/c  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Copy\/Floating Point    <\/p>\n<\/td>\n<td data-colwidth=\"245\" width=\"245\">\n<p>58749 \u041c\u0411\/c  <\/p>\n<\/td>\n<td>\n<p>11694 \u041c\u0411\/c  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Scale\/Floating Point    <\/p>\n<\/td>\n<td data-colwidth=\"245\" width=\"245\">\n<p>58721 \u041c\u0411\/c  <\/p>\n<\/td>\n<td>\n<p>11765 \u041c\u0411\/c  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Triad\/Floating Point    <\/p>\n<\/td>\n<td data-colwidth=\"245\" width=\"245\">\n<p>49667 \u041c\u0411\/c  <\/p>\n<\/td>\n<td>\n<p>12809 \u041c\u0411\/c  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Average\/Floating Point    <\/p>\n<\/td>\n<td data-colwidth=\"245\" width=\"245\">\n<p>54716 \u041c\u0411\/c  <\/p>\n<\/td>\n<td>\n<p>12260 \u041c\u0411\/c  <\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a31\/8b8\/e6a\/a318b8e6a7cd83a44ed97c12c8e160f5\" width=\"800\" height=\"400\"><figcaption><\/figcaption><\/figure>\n<p>\u0412\u043a\u0440\u0430\u0442\u0446\u0435, \u041e\u0417\u0423 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 t4g.small \u0441 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u043c Graviton2 \u0431\u044b\u043b\u0430 \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u043e\u0442 3 \u0434\u043e 5 \u0440\u0430\u0437.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c, \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043d\u0430 ARM \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u044d\u0442\u043e \u043e\u0434\u043d\u0438 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430. \u0411\u043e\u043b\u044c\u0448\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0437\u0430 \u043c\u0435\u043d\u044c\u0448\u0438\u0435 \u0434\u0435\u043d\u044c\u0433\u0438.<\/p>\n<h2>\u0421\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c<\/h2>\n<p>\u0411\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u043e, \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u0432 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0435 \u0441 \u043e\u0434\u043d\u043e\u0439 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u0432 \u043d\u0430 \u0434\u0440\u0443\u0433\u0443\u044e \u044d\u0442\u043e \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f.<\/p>\n<p>\u041d\u0435\u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u041f\u041e \u0443\u0436\u0435 \u043f\u0435\u0440\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0434\u043b\u044f ARM \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u0432. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, Docker \u0431\u044b\u043b \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0430\u0445 .rpm \u0438 .deb, \u043a\u0430\u043a \u0438 \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043e\u0431\u0440\u0430\u0437\u043e\u0432 (\u0434\u0430, \u043e\u0431\u0440\u0430\u0437\u044b Docker \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u043f\u0435\u0440\u0435\u0441\u0431\u043e\u0440\u043a\u0438 \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440). \u041e\u0434\u043d\u0430\u043a\u043e, docker-compose \u043d\u0435 \u0431\u044b\u043b \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d \u0434\u043b\u044f ARM \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u0432, \u0447\u0442\u043e \u0432\u044b\u043b\u0438\u043b\u043e\u0441\u044c \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0447\u0430\u0441\u043e\u0432 \u0441\u0431\u043e\u0440\u043a\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439 \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430. \u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u0441\u044f \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c, \u043a\u043e\u0433\u0434\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 ARM \u0441\u0442\u0430\u043d\u0443\u0442 \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u044b. \u0421\u0435\u0439\u0447\u0430\u0441, \u043e\u0434\u043d\u0430\u043a\u043e, \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445, \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043d\u0430 ARM \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u043d\u0435\u0441\u0442\u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u0437\u0430\u0442\u0440\u0430\u0442, \u0447\u0435\u043c \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432. <\/p>\n<p>\u0417\u0430\u0442\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 Amazon RDS \u043d\u0430 Graviton2 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u043d\u0438\u043a\u0430\u043a\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432\u0441\u0435 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u043d\u0430 ARM \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430\u0445 \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c\u044e.<\/p>\n<p>\u0412\u0432\u0438\u0434\u0443 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432 ARM \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u0432 \u043c\u044b \u0442\u0430\u043a\u0436\u0435 \u0441\u043e\u0431\u0440\u0430\u043b\u0438 Docker \u043e\u0431\u0440\u0430\u0437\u044b recap.dev \u0434\u043b\u044f \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440 arm\/v7 \u0438 arm64.<\/p>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/535792\/\"> https:\/\/habr.com\/ru\/post\/535792\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<p>\u0412 \u044d\u0442\u043e\u043c \u0433\u043e\u0434\u0443 Apple \u043f\u043e\u0442\u0440\u044f\u0441\u043b\u0430 \u0440\u044b\u043d\u043e\u043a \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u044b\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u0432 \u0447\u0438\u043f\u043e\u043c Apple M1 \u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438 \u043d\u0430 \u043d\u0451\u043c. \u041f\u043e\u0445\u043e\u0436\u0435\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0435 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e \u0432 \u043c\u0438\u0440\u0435 \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u0432 \u043f\u0440\u043e\u0448\u043b\u043e\u043c \u0433\u043e\u0434\u0443. AWS \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u043b\u0438 \u043d\u043e\u0432\u044b\u0439 \u0442\u0438\u043f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 ARM \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430\u0445 Graviton2. \u041f\u043e \u0437\u0430\u044f\u0432\u043b\u0435\u043d\u0438\u044f\u043c Amazon, \u0441\u043e\u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043a \u0446\u0435\u043d\u0435 \u0443 \u043d\u043e\u0432\u044b\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u0432 \u043d\u0430 40% \u0432\u044b\u0448\u0435, \u0447\u0435\u043c \u0443 \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432 \u043d\u0430 x86. \u0415\u0449\u0451 \u043e\u0434\u043d\u043e \u043d\u0435\u0434\u0430\u0432\u043d\u0435\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 &#8212; \u0441\u0435\u0440\u0432\u0435\u0440\u0430 Amazon RDS (\u043e\u0431\u043b\u0430\u0447\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445) \u043d\u0430 Graviton2. \u042f \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u043e\u0432 \u0438 \u043d\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u044b\u0439 \u0442\u0435\u0441\u0442 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0431\u044d\u043a\u0435\u043d\u0434 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u043b\u0438 \u0445\u043e\u0440\u043e\u0448\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 ARM \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430\u0445 \u0438 \u0443\u0437\u043d\u0430\u0442\u044c \u043a\u0430\u043a\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438 \u043c\u043e\u0433\u0443\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c.<\/p>\n<h2>\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c<\/h2>\n<p>\u042f \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043b \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0442\u0438\u043f\u043e\u0432 t4g.small (ARM) \u0438 t3.small (x86) \u043d\u0430 AWS. \u041d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438 \u0446\u0435\u043d\u0430 \u0437\u0430 1 \u0447\u0430\u0441 \u043d\u0430 x86 \u0441\u0435\u0440\u0432\u0435\u0440 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 $0.0208, \u0430 \u043d\u0430 ARM \u0441\u0435\u0440\u0432\u0435\u0440 &#8212; $0.0168. \u0421\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 ARM \u043d\u0430 20% \u0434\u0435\u0448\u0435\u0432\u043b\u0435.<\/p>\n<p>\u0421\u043f\u0435\u0440\u0432\u0430 \u044f \u043f\u0440\u043e\u0432\u0451\u043b \u043d\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u044b\u0439 \u0442\u0435\u0441\u0442 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 wrk, \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0432 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445 \u0441\u0432\u0435\u0436\u0443\u044e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 recap.dev<\/p>\n<p>\u042d\u0442\u043e \u0448\u0430\u0431\u043b\u043e\u043d docker-compose \u0441 4 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u043c\u0438. \u0412\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440, \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0449\u0438\u0439 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044e\u0449\u0438\u0439 \u0438\u0445 \u0432 RabbitMQ \u0438 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0444\u043e\u043d\u043e\u0432\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044e\u0449\u0438\u0439 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0433\u0440\u0443\u043f\u043f\u0430\u043c\u0438 \u043f\u043e 1000 \u0432 PostgreSQL.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u042f \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043b wrk \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 t3.2xlarge, \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0435\u043c\u0441\u044f \u0432 \u0442\u043e\u043c \u0436\u0435 \u0440\u0435\u0433\u0438\u043e\u043d\u0435, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre><code>wrk -t24 -c1000 -d300s -s .\/post.lua &lt;hostname&gt;<\/code><\/pre>\n<p>\u041e\u043d\u0430 \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u043e \u043f\u043e\u0441\u044b\u043b\u0430\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 5 \u043c\u0438\u043d\u0443\u0442, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f 24 \u043f\u043e\u0442\u043e\u043a\u0430 \u0438 1000 HTTP \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0439.<\/p>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0434\u043b\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 t4g.small (ARM):<\/p>\n<pre><code>  24 threads and 1000 connections   Thread Stats   Avg      Stdev     Max   +\/- Stdev     Latency   473.53ms   53.06ms   1.96s    81.33%     Req\/Sec   115.83     96.65   494.00     71.32%   620751 requests in 5.00m, 85.84MB read   Socket errors: connect 0, read 0, write 0, timeout 225 Requests\/sec:   2068.48 Transfer\/sec:    292.90KB<\/code><\/pre>\n<p>\u0414\u043b\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 t3.small (x86):<\/p>\n<pre><code> 24 threads and 1000 connections   Thread Stats   Avg      Stdev     Max   +\/- Stdev     Latency   600.28ms   70.23ms   2.00s    72.53%     Req\/Sec    92.77     82.25   404.00     70.26%   488218 requests in 5.00m, 67.51MB read   Socket errors: connect 0, read 0, write 0, timeout 348 Requests\/sec:   1626.87 Transfer\/sec:    230.37KB<\/code><\/pre>\n<p>\u0421\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 ARM \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u043b \u043d\u0430 27% \u0431\u043e\u043b\u044c\u0448\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443 \u0432 \u0441\u0440\u0435\u0434\u043d\u0435\u043c \u043d\u0430 26% \u0431\u044b\u0441\u0442\u0440\u0435\u0435.<\/p>\n<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0417\u0430\u0442\u0435\u043c \u044f \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u043e\u0432 \u0438\u0437 <a href=\"https:\/\/www.phoronix-test-suite.com\/\" rel=\"noopener noreferrer nofollow\">\u043d\u0430\u0431\u043e\u0440\u0430 \u0442\u0435\u0441\u0442\u043e\u0432 Phoronix<\/a>.<\/p>\n<p>\u0412 \u0442\u0435\u0441\u0442\u0435 <a href=\"https:\/\/openbenchmarking.org\/test\/pts\/compress-7zip\" rel=\"noopener noreferrer nofollow\">pts\/compress-7zip-1.7.1<\/a>&nbsp;t4g.small (ARM) \u0432\u044b\u0434\u0430\u043b 6833 MIPS, \u0430 \u0441\u0435\u0440\u0432\u0435\u0440 t3.small (x86) &#8212; 5029 MIPS. ARM \u0441\u0435\u0440\u0432\u0435\u0440 \u0431\u044b\u043b \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u0435\u0435 \u043d\u0430 35%.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0421\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 ARM \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0435 \u0442\u0430\u043a\u0436\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043b \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a <a href=\"https:\/\/openbenchmarking.org\/test\/pts\/c-ray\" rel=\"noopener noreferrer nofollow\">pts\/c-ray<\/a> \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0431\u043e\u043b\u0435\u0435 \u0447\u0435\u043c \u0432 2 \u0440\u0430\u0437\u0430. 958 \u0441\u0435\u043a\u0443\u043d\u0434 \u0443\u0448\u043b\u043e \u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 x86 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0435 \u043f\u0440\u043e\u0442\u0438\u0432 458 \u0441\u0435\u043a\u0443\u043d\u0434 \u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0441 ARM \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u043c.<\/p>\n<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u042f \u0442\u0430\u043a\u0436\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u0441\u0442\u043e\u0432 <a href=\"https:\/\/openbenchmarking.org\/test\/pts\/ramspeed-1.4.3\" rel=\"noopener noreferrer nofollow\">pts\/ramspeed<\/a>, \u0438\u0437\u043c\u0435\u0440\u044f\u044e\u0449\u0438\u0445 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u043d\u0443\u044e \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u041e\u0417\u0423 \u043f\u0440\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439.<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p><strong>\u0422\u0438\u043f \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u0430<\/strong><\/p>\n<\/td>\n<td data-colwidth=\"245\" width=\"245\">\n<p><strong>t4g.small (ARM)<\/strong><\/p>\n<\/td>\n<td>\n<p><strong>t3.small (x86)<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Add\/Integer    <\/p>\n<\/td>\n<td data-colwidth=\"245\" width=\"245\">\n<p>50000 \u041c\u0411\/c    <\/p>\n<\/td>\n<td>\n<p>13008 \u041c\u0411\/c  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Copy\/Integer    <\/p>\n<\/td>\n<td data-colwidth=\"245\" width=\"245\">\n<p>58650 \u041c\u0411\/c  <\/p>\n<\/td>\n<td>\n<p>11772 \u041c\u0411\/c  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Scale\/Integer    <\/p>\n<\/td>\n<td data-colwidth=\"245\" width=\"245\">\n<p>31753 \u041c\u0411\/c  <\/p>\n<\/td>\n<td>\n<p>11989 \u041c\u0411\/c  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Triad\/Integer    <\/p>\n<\/td>\n<td data-colwidth=\"245\" width=\"245\">\n<p>36869 \u041c\u0411\/c  <\/p>\n<\/td>\n<td>\n<p>12818 \u041c\u0411\/c  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Average\/Integer    <\/p>\n<\/td>\n<td data-colwidth=\"245\" width=\"245\">\n<p>44280 \u041c\u0411\/c  <\/p>\n<\/td>\n<td>\n<p>12314 \u041c\u0411\/c  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Add\/Floating Point    <\/p>\n<\/td>\n<td data-colwidth=\"245\" width=\"245\">\n<p>49775 \u041c\u0411\/c  <\/p>\n<\/td>\n<td>\n<p>12750 \u041c\u0411\/c  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Copy\/Floating Point    <\/p>\n<\/td>\n<td data-colwidth=\"245\" width=\"245\">\n<p>58749 \u041c\u0411\/c  <\/p>\n<\/td>\n<td>\n<p>11694 \u041c\u0411\/c  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Scale\/Floating Point    <\/p>\n<\/td>\n<td data-colwidth=\"245\" width=\"245\">\n<p>58721 \u041c\u0411\/c  <\/p>\n<\/td>\n<td>\n<p>11765 \u041c\u0411\/c  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Triad\/Floating Point    <\/p>\n<\/td>\n<td data-colwidth=\"245\" width=\"245\">\n<p>49667 \u041c\u0411\/c  <\/p>\n<\/td>\n<td>\n<p>12809 \u041c\u0411\/c  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Average\/Floating Point    <\/p>\n<\/td>\n<td data-colwidth=\"245\" width=\"245\">\n<p>54716 \u041c\u0411\/c  <\/p>\n<\/td>\n<td>\n<p>12260 \u041c\u0411\/c  <\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0412\u043a\u0440\u0430\u0442\u0446\u0435, \u041e\u0417\u0423 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 t4g.small \u0441 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u043c Graviton2 \u0431\u044b\u043b\u0430 \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u043e\u0442 3 \u0434\u043e 5 \u0440\u0430\u0437.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c, \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043d\u0430 ARM \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u044d\u0442\u043e \u043e\u0434\u043d\u0438 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430. \u0411\u043e\u043b\u044c\u0448\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0437\u0430 \u043c\u0435\u043d\u044c\u0448\u0438\u0435 \u0434\u0435\u043d\u044c\u0433\u0438.<\/p>\n<h2>\u0421\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c<\/h2>\n<p>\u0411\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u043e, \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u0432 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0435 \u0441 \u043e\u0434\u043d\u043e\u0439 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u0432 \u043d\u0430 \u0434\u0440\u0443\u0433\u0443\u044e \u044d\u0442\u043e \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f.<\/p>\n<p>\u041d\u0435\u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u041f\u041e \u0443\u0436\u0435 \u043f\u0435\u0440\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0434\u043b\u044f ARM \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u0432. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, Docker \u0431\u044b\u043b \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0430\u0445 .rpm \u0438 .deb, \u043a\u0430\u043a \u0438 \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043e\u0431\u0440\u0430\u0437\u043e\u0432 (\u0434\u0430, \u043e\u0431\u0440\u0430\u0437\u044b Docker \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u043f\u0435\u0440\u0435\u0441\u0431\u043e\u0440\u043a\u0438 \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440). \u041e\u0434\u043d\u0430\u043a\u043e, docker-compose \u043d\u0435 \u0431\u044b\u043b \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d \u0434\u043b\u044f ARM \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u0432, \u0447\u0442\u043e \u0432\u044b\u043b\u0438\u043b\u043e\u0441\u044c \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0447\u0430\u0441\u043e\u0432 \u0441\u0431\u043e\u0440\u043a\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439 \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430. \u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u0441\u044f \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c, \u043a\u043e\u0433\u0434\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 ARM \u0441\u0442\u0430\u043d\u0443\u0442 \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u044b. \u0421\u0435\u0439\u0447\u0430\u0441, \u043e\u0434\u043d\u0430\u043a\u043e, \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445, \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043d\u0430 ARM \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u043d\u0435\u0441\u0442\u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u0437\u0430\u0442\u0440\u0430\u0442, \u0447\u0435\u043c \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432. <\/p>\n<p>\u0417\u0430\u0442\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 Amazon RDS \u043d\u0430 Graviton2 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u043d\u0438\u043a\u0430\u043a\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432\u0441\u0435 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u043d\u0430 ARM \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430\u0445 \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c\u044e.<\/p>\n<p>\u0412\u0432\u0438\u0434\u0443 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432 ARM \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u0432 \u043c\u044b \u0442\u0430\u043a\u0436\u0435 \u0441\u043e\u0431\u0440\u0430\u043b\u0438 Docker \u043e\u0431\u0440\u0430\u0437\u044b recap.dev \u0434\u043b\u044f \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440 arm\/v7 \u0438 arm64.<\/p>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/535792\/\"> https:\/\/habr.com\/ru\/post\/535792\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-315861","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/315861","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=315861"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/315861\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=315861"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=315861"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=315861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}