{"id":179259,"date":"2013-05-10T16:09:03","date_gmt":"2013-05-10T12:09:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=179259"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=179259","title":{"rendered":"<span class=\"post_title\">AWS: \u041d\u043e\u0432\u044b\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 EBS \u0438 \u0442\u0435\u0441\u0442\u044b \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u041f\u0440\u0438\u0432\u0435\u0442! <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/de2\/8d5\/cd3\/de28d5cd30892edd8b0d669b656dfede.png\" alt=\"image\" align=\"right\"\/><\/p>\n<p>  \u0412 \u043a\u043e\u043d\u0446\u0435 \u043f\u0440\u043e\u0448\u043b\u043e\u0433\u043e \u0433\u043e\u0434\u0430 \u044f \u043f\u0440\u043e\u0432\u0451\u043b \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0442\u0435\u0441\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0434\u0438\u0441\u043a\u043e\u0432 \u043d\u0430 \u0410\u043c\u0430\u0437\u043e\u043d\u0435 \u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u043f\u043e \u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0432\u043e\u0434\u0443 <a href=\"http:\/\/habrahabr.ru\/company\/epam_systems\/blog\/163777\/\">\u0441\u0442\u0430\u0442\u044c\u044e<\/a>. \u0421\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0434\u0430\u0432\u043d\u043e Amazon Web Services <a href=\"http:\/\/aws.amazon.com\/about-aws\/whats-new\/2013\/05\/07\/announcing-4000-iops-per-piops-volume-and-marketplace-support\/\">\u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u043b\u0438<\/a> \u043d\u043e\u0432\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0432 EBS \u0441 \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c IOPS \u2014 <b>4000<\/b>. \u042f \u0440\u0435\u0448\u0438\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u043e\u0432\u043e\u0441\u0442\u044c, \u0430 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0442\u0435\u0441\u0442\u044b \u0441 \u044d\u0442\u0438\u043c\u0438 \u0434\u0438\u0441\u043a\u0430\u043c\u0438 \u0438 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e\u0431 \u044d\u0442\u043e\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0443. <br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/e86\/dd6\/371\/e86dd6371f61ce57373832586d2e0e18.png\" alt=\"image\"\/><br \/>  <a name=\"habracut\"><\/a><br \/>  \u0414\u043b\u044f \u0442\u0435\u0441\u0442\u043e\u0432 \u044f \u0432\u044b\u0431\u0440\u0430\u043b \u0442\u0438\u043f \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u0430 <i>m1.xlarge \u0441 EBS \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0435\u0439<\/i>. \u0421 \u043f\u0440\u0438\u0430\u0442\u0442\u0430\u0447\u0435\u043d\u044b\u043c 400 \u0433\u0438\u0433\u0430\u0431\u0430\u0439\u0442\u043d\u044b\u043c \u0434\u0438\u0441\u043a\u043e\u043c \u0441 4000 \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 IOPS. <\/p>\n<p>  \u041a\u0430\u043a \u0438 \u0432 \u043f\u0440\u043e\u0448\u043b\u044b\u0439 \u0440\u0430\u0437 \u044f \u043f\u0440\u043e\u0432\u0451\u043b \u0442\u0435\u0441\u0442\u044b:  <\/p>\n<pre><code class=\"bash\"># hdparm -tT \/dev\/xcdX <\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"bash\"># dd if=\/dev\/zero of=tempfile bs=5M count=1024 conv=fdatasync,notrunc # echo 3 &gt; \/proc\/sys\/vm\/drop_caches # dd if=tempfile of=\/dev\/null bs=5M count=1024 <\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"bash\"># sysbench --num-threads=16 --test=fileio --file-total-size=5G --file-test-mode=rndrw prepare # sysbench --num-threads=16 --test=fileio --file-total-size=5G --file-test-mode=rndrw run <\/code><\/pre>\n<p>  \u0412\u043e\u0442 \u0438\u0445 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">hdparm<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\"># hdparm -tT  \/dev\/xvdf  \/dev\/xvdf:  Timing cached reads:   11776 MB in  1.99 seconds = 5931.57 MB\/sec  Timing buffered disk reads:  170 MB in  3.02 seconds =  56.22 MB\/sec   \/dev\/xvdf:  Timing cached reads:   11804 MB in  1.98 seconds = 5947.40 MB\/sec  Timing buffered disk reads:  170 MB in  3.01 seconds =  56.53 MB\/sec   \/dev\/xvdf:  Timing cached reads:   11750 MB in  1.99 seconds = 5918.83 MB\/sec  Timing buffered disk reads:  170 MB in  3.02 seconds =  56.24 MB\/sec <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">dd<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\"># dd if=\/dev\/zero of=tempfile bs=5M count=1024 conv=fdatasync,notrunc 1024+0 records in 1024+0 records out 5368709120 bytes (5.4 GB) copied, 114.568 s, 46.9 MB\/s # echo 3 &gt; \/proc\/sys\/vm\/drop_caches # dd if=tempfile of=\/dev\/null bs=5M count=1024 1024+0 records in 1024+0 records out 5368709120 bytes (5.4 GB) copied, 99.2359 s, 54.1 MB\/s <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">sysbench<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\"># sysbench --num-threads=16 --test=fileio --file-total-size=5G --file-test-mode=rndrw prepare sysbench 0.5:  multi-threaded system evaluation benchmark  128 files, 40960Kb each, 5120Mb total Creating files for the test... Extra file open flags: 0 Creating file test_file.0 Creating file test_file.1 Creating file test_file.2 Creating file test_file.3 Creating file test_file.4 Creating file test_file.5 Creating file test_file.6 Creating file test_file.7 Creating file test_file.8 Creating file test_file.9 Creating file test_file.10 Creating file test_file.11 Creating file test_file.12 Creating file test_file.13 Creating file test_file.14 Creating file test_file.15 Creating file test_file.16 Creating file test_file.17 Creating file test_file.18 Creating file test_file.19 Creating file test_file.20 Creating file test_file.21 Creating file test_file.22 Creating file test_file.23 Creating file test_file.24 Creating file test_file.25 Creating file test_file.26 Creating file test_file.27 Creating file test_file.28 Creating file test_file.29 Creating file test_file.30 Creating file test_file.31 Creating file test_file.32 Creating file test_file.33 Creating file test_file.34 Creating file test_file.35 Creating file test_file.36 Creating file test_file.37 Creating file test_file.38 Creating file test_file.39 Creating file test_file.40 Creating file test_file.41 Creating file test_file.42 Creating file test_file.43 Creating file test_file.44 Creating file test_file.45 Creating file test_file.46 Creating file test_file.47 Creating file test_file.48 Creating file test_file.49 Creating file test_file.50 Creating file test_file.51 Creating file test_file.52 Creating file test_file.53 Creating file test_file.54 Creating file test_file.55 Creating file test_file.56 Creating file test_file.57 Creating file test_file.58 Creating file test_file.59 Creating file test_file.60 Creating file test_file.61 Creating file test_file.62 Creating file test_file.63 Creating file test_file.64 Creating file test_file.65 Creating file test_file.66 Creating file test_file.67 Creating file test_file.68 Creating file test_file.69 Creating file test_file.70 Creating file test_file.71 Creating file test_file.72 Creating file test_file.73 Creating file test_file.74 Creating file test_file.75 Creating file test_file.76 Creating file test_file.77 Creating file test_file.78 Creating file test_file.79 Creating file test_file.80 Creating file test_file.81 Creating file test_file.82 Creating file test_file.83 Creating file test_file.84 Creating file test_file.85 Creating file test_file.86 Creating file test_file.87 Creating file test_file.88 Creating file test_file.89 Creating file test_file.90 Creating file test_file.91 Creating file test_file.92 Creating file test_file.93 Creating file test_file.94 Creating file test_file.95 Creating file test_file.96 Creating file test_file.97 Creating file test_file.98 Creating file test_file.99 Creating file test_file.100 Creating file test_file.101 Creating file test_file.102 Creating file test_file.103 Creating file test_file.104 Creating file test_file.105 Creating file test_file.106 Creating file test_file.107 Creating file test_file.108 Creating file test_file.109 Creating file test_file.110 Creating file test_file.111 Creating file test_file.112 Creating file test_file.113 Creating file test_file.114 Creating file test_file.115 Creating file test_file.116 Creating file test_file.117 Creating file test_file.118 Creating file test_file.119 Creating file test_file.120 Creating file test_file.121 Creating file test_file.122 Creating file test_file.123 Creating file test_file.124 Creating file test_file.125 Creating file test_file.126 Creating file test_file.127 5368709120 bytes written in 116.27 seconds (44.03 MB\/sec).  # sysbench --num-threads=16 --test=fileio --file-total-size=5G --file-test-mode=rndrw run sysbench 0.5:  multi-threaded system evaluation benchmark  Running the test with following options: Number of threads: 16 Random number generator seed is 0 and will be ignored   Extra file open flags: 0 128 files, 40Mb each 5Gb total file size Block size 16Kb Number of IO requests: 10000 Read\/Write ratio for combined random IO test: 1.50 Periodic FSYNC enabled, calling fsync() each 100 requests. Calling fsync() at the end of test, Enabled. Using synchronous I\/O mode Doing random r\/w test Threads started!  Operations performed:  6000 reads, 4000 writes, 12800 Other = 22800 Total Read 93.75Mb  Written 62.5Mb  Total transferred 156.25Mb  (139.79Mb\/sec)  8946.77 Requests\/sec executed  General statistics:     total time:                          1.1177s     total number of events:              10000     total time taken by event execution: 1.3737s     response time:          min:                                  0.01ms          avg:                                  0.14ms          max:                                 19.73ms          approx.  95 percentile:               0.52ms  Threads fairness:     events (avg\/stddev):           625.0000\/128.81     execution time (avg\/stddev):   0.0859\/0.01 <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043f\u043e \u0441\u043e\u0432\u0435\u0442\u0443 \u0438\u0437 <a href=\"http:\/\/habrahabr.ru\/company\/epam_systems\/blog\/163777\/#comment_5632939\">\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432<\/a> <a href=\"http:\/\/habrahabr.ru\/users\/qxfusion\/\" class=\"user_link\">qxfusion<\/a>, \u044f \u043f\u0440\u043e\u0432\u0451\u043b \u0442\u0435\u0441\u0442\u044b <b>iozone<\/b>. \u0417\u0430 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044e \u0432\u0437\u044f\u0442\u0430 \u044d\u0442\u0430 <a href=\"http:\/\/www.cyberciti.biz\/tips\/linux-filesystem-benchmarking-with-iozone.html\">\u0441\u0442\u0430\u0442\u044c\u044f<\/a>.<\/p>\n<p>  \u0422\u0435\u0441\u0442 \u0431\u044b\u043b \u043f\u0440\u043e\u0432\u0435\u0434\u0451\u043d \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:  <\/p>\n<pre><code class=\"bash\"># iozone -R -l 5 -u 10 -r 4k -s 1024m -F \/mnt\/f1 \/mnt\/f2 \/mnt\/f3 \/mnt\/f4 \/mnt\/f5 \/mnt\/f6 \/mnt\/f7 \/mnt\/f8 \/mnt\/f9 \/mnt\/f10 <\/code><\/pre>\n<p>  \u0412\u043e\u0442 <a href=\"https:\/\/www.dropbox.com\/s\/hksubtw4rkoien0\/iozone_4kIOPS_EBS.txt\">\u043b\u043e\u0433<\/a> \u043e\u0431\u0449\u0435\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438.<\/p>\n<p>  \u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u0432\u0441\u0435 \u0442\u0435\u0441\u0442\u044b \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044e\u0442, \u0447\u0442\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0434\u0438\u0441\u043a\u0430 \u0432\u0434\u0432\u043e\u0435 \u0431\u043e\u043b\u044c\u0448\u0435, \u0447\u0435\u043c \u0432 \u043c\u043e\u0438\u0445 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u0442\u0435\u0441\u0442\u0430\u0445.<\/p>\n<p>  \u0423\u0434\u0430\u0447\u043d\u043e\u0433\u043e \u0434\u043d\u044f!    \t \t\t   \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/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=\"http:\/\/habrahabr.ru\/company\/epam_systems\/blog\/179259\/\"> http:\/\/habrahabr.ru\/company\/epam_systems\/blog\/179259\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u041f\u0440\u0438\u0432\u0435\u0442! <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/de2\/8d5\/cd3\/de28d5cd30892edd8b0d669b656dfede.png\" alt=\"image\" align=\"right\"\/><\/p>\n<p>  \u0412 \u043a\u043e\u043d\u0446\u0435 \u043f\u0440\u043e\u0448\u043b\u043e\u0433\u043e \u0433\u043e\u0434\u0430 \u044f \u043f\u0440\u043e\u0432\u0451\u043b \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0442\u0435\u0441\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0434\u0438\u0441\u043a\u043e\u0432 \u043d\u0430 \u0410\u043c\u0430\u0437\u043e\u043d\u0435 \u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u043f\u043e \u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0432\u043e\u0434\u0443 <a href=\"http:\/\/habrahabr.ru\/company\/epam_systems\/blog\/163777\/\">\u0441\u0442\u0430\u0442\u044c\u044e<\/a>. \u0421\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0434\u0430\u0432\u043d\u043e Amazon Web Services <a href=\"http:\/\/aws.amazon.com\/about-aws\/whats-new\/2013\/05\/07\/announcing-4000-iops-per-piops-volume-and-marketplace-support\/\">\u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u043b\u0438<\/a> \u043d\u043e\u0432\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0432 EBS \u0441 \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c IOPS \u2014 <b>4000<\/b>. \u042f \u0440\u0435\u0448\u0438\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u043e\u0432\u043e\u0441\u0442\u044c, \u0430 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0442\u0435\u0441\u0442\u044b \u0441 \u044d\u0442\u0438\u043c\u0438 \u0434\u0438\u0441\u043a\u0430\u043c\u0438 \u0438 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e\u0431 \u044d\u0442\u043e\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0443. <br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/e86\/dd6\/371\/e86dd6371f61ce57373832586d2e0e18.png\" alt=\"image\"\/>  <\/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-179259","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/179259","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=179259"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/179259\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=179259"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=179259"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=179259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}