{"id":805,"date":"2014-08-03T19:56:54","date_gmt":"2014-08-03T10:56:54","guid":{"rendered":"http:\/\/tech.akat.info\/?p=805"},"modified":"2014-09-16T01:12:23","modified_gmt":"2014-09-15T16:12:23","slug":"linux-io%e3%82%b9%e3%82%b1%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%a9","status":"publish","type":"post","link":"https:\/\/tech.akat.info\/?p=805","title":{"rendered":"Linux I\/O\u30b9\u30b1\u30b8\u30e5\u30fc\u30e9"},"content":{"rendered":"<h1>I\/O\u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u3068\u306f<\/h1>\n<p>Linux\u306b\u5927\u91cf\u306e\u66f8\u304d\u8fbc\u307f\u3084\u8aad\u307f\u8fbc\u307f\u304c\u304d\u305f\u3068\u304d\u306b\u3001\u52b9\u7387\u7684\u306bI\/O\u3092\u51e6\u7406\u3059\u308b\u305f\u3081\u306b\u4e26\u3073\u66ff\u3048\u308b\u6a5f\u80fd<\/p>\n<h1>\u30ad\u30e5\u30fc\u30b5\u30a4\u30ba<\/h1>\n<p>\u4e26\u3073\u66ff\u3048\u306b\u3064\u3044\u3066\u3001\u5185\u90e8\u7684\u306b\u30ad\u30e5\u30fc\u3092\u3082\u3063\u3066\u304a\u308a\u3001\u5236\u9650\u6570\u3092\u3082\u3063\u3066\u51e6\u7406\u3057\u3066\u3044\u308b<\/p>\n<h1>\u78ba\u8a8d\u65b9\u6cd5<\/h1>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@hostname:\/home\/admin# df -h\r\n\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9   \u30b5\u30a4\u30ba  \u4f7f\u7528  \u6b8b\u308a \u4f7f\u7528% \u30de\u30a6\u30f3\u30c8\u4f4d\u7f6e\r\nrootfs           7.9G  1.6G  6.0G   21% \/\r\nudev              10M     0   10M    0% \/dev\r\ntmpfs             60M   76K   60M    1% \/run\r\n\/dev\/xvda        7.9G  1.6G  6.0G   21% \/\r\ntmpfs            5.0M     0  5.0M    0% \/run\/lock\r\ntmpfs            120M     0  120M    0% \/run\/shm\r\nroot@hostname:\/home\/admin# cat \/sys\/block\/xvda\/queue\/scheduler\r\nnoop deadline &#x5B;cfq]\r\n# noop\u3001deadline\u3001cfq\u304c\u5229\u7528\u53ef\u80fd\u3067\u3042\u308a\u3001cfq\u304c\u9078\u629e\u3055\u308c\u3066\u3044\u308b\r\n\r\nroot@hostname:\/home\/admin# cat \/sys\/block\/xvda\/queue\/nr_requests\r\n128\r\n# \u30ad\u30e5\u30fc\u30b5\u30a4\u30ba\r\n<\/pre>\n<h1>RDBMS\u306b\u3064\u3044\u3066<\/h1>\n<p>RDBMS\u306b\u3064\u3044\u3066\u306f\u3001\u307b\u3068\u3093\u3069(mysql\u542b\u3080)\u304cI\/O\u30b9\u30b1\u30b8\u30e5\u30fc\u30ea\u30f3\u30b0\u6a5f\u80fd\u3092\u6301\u3063\u3066\u3044\u308b\u305f\u3081\u3001OS\u5074\u3067\u306f\u4f55\u3082\u3057\u306a\u3044\u307b\u3046\u304c\u9ad8\u901f\u306b\u306a\u308b\u3053\u3068\u304c\u591a\u3044<br \/>\nnoop(\u7279\u5225\u306a\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u3092\u3057\u306a\u3044)\u3084deadline(\u8aad\u307f\u8fbc\u307f\u3001\u66f8\u304d\u8fbc\u307f\u3092\u30d0\u30e9\u30f3\u30b9\u3088\u304f\u5bfe\u5fdc\u3059\u308b)\u304c\u30aa\u30b9\u30b9\u30e1\u3089\u3057\u3044<br \/>\n\u307e\u305f\u30ad\u30e5\u30fc\u30b5\u30a4\u30ba\u3092\u5927\u304d\u304f\u3059\u308b\u3053\u3068\u3067\u3001\u30b7\u30fc\u30af\u5f85\u3061\u6642\u9593\u3092\u6e1b\u3089\u3059\u3053\u3068\u304c\u53ef\u80fd<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I\/O\u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u3068\u306f Linux\u306b\u5927\u91cf\u306e\u66f8\u304d\u8fbc\u307f\u3084\u8aad\u307f\u8fbc\u307f\u304c\u304d\u305f\u3068\u304d\u306b\u3001\u52b9\u7387\u7684\u306bI\/O\u3092\u51e6\u7406\u3059\u308b\u305f\u3081\u306b\u4e26\u3073\u66ff\u3048\u308b\u6a5f\u80fd \u30ad\u30e5\u30fc\u30b5\u30a4\u30ba \u4e26\u3073\u66ff\u3048\u306b\u3064\u3044\u3066\u3001\u5185\u90e8\u7684\u306b\u30ad\u30e5\u30fc\u3092\u3082\u3063\u3066\u304a\u308a\u3001\u5236\u9650\u6570\u3092\u3082\u3063\u3066\u51e6\u7406\u3057\u3066\u3044\u308b \u78ba\u8a8d\u65b9\u6cd5 r [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/805"}],"collection":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=805"}],"version-history":[{"count":3,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/805\/revisions"}],"predecessor-version":[{"id":808,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/805\/revisions\/808"}],"wp:attachment":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=805"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=805"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}