{"id":16,"date":"2007-03-21T01:35:21","date_gmt":"2007-03-20T16:35:21","guid":{"rendered":"http:\/\/192.168.24.51\/topics\/?p=16"},"modified":"2007-03-21T01:35:21","modified_gmt":"2007-03-20T16:35:21","slug":"%e7%a9%ba%e3%81%8d%e3%83%a1%e3%83%a2%e3%83%aa%e3%81%ae%e7%a2%ba%e4%bf%9d%e3%81%ae%e4%bb%95%e6%96%b9%ef%bc%88kernel26","status":"publish","type":"post","link":"https:\/\/chidipy.jpn.com\/topics\/?p=16","title":{"rendered":"\u7a7a\u304d\u30e1\u30e2\u30ea\u306e\u78ba\u4fdd\u306e\u4ed5\u65b9(\u30e1\u30e2\u30ea\u30fc\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0)(kernel2.6)"},"content":{"rendered":"<pre>\nlinux kernel2.6 \u3067\u306e \u30e1\u30e2\u30ea\u30fc\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u306e\u65b9\u6cd5\u3002\u5927\u5bb9\u91cf\u7269\u7406\u30e1\u30e2\u30ea\u306e\u5834\u5408\u3001\u307b\u3068\u3093\u3069\u304c\u30da\u30fc\u30b8\u30ad\u30e3\u30c3\u30b7\u30e5\u30fb\u30d5\u30a1\u30a4\u30eb\u30ad\u30e3\u30c3\u30b7\u30e5\u3002\n\u5fc5\u8981\u306a\u51e6\u7f6e\n?\uff21\uff0e\u65e9\u3081\u306b\u30c0\u30fc\u30c6\u30a3\u30fc\u30da\u30fc\u30b8\u3092\u6383\u9664\u3055\u305b\u308b\n?\uff22\uff0e\u3067\u304d\u308b\u3060\u3051\u30b9\u30ef\u30c3\u30d7\u3055\u305b\u306a\u3044\n?\uff23\uff0e\u6700\u4f4e\u7a7a\u304d\u5bb9\u91cf\u3092\u5927\u304d\u304f\u3059\u308b\u3002\n?\u3000\u2192\u30d5\u30a1\u30a4\u30eb\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u305f\u307e\u3089\u306a\u3044\n?\u3000\u3000\u2192\uff11\u3064\u306e\u30d7\u30ed\u30bb\u30b9\u5206\u306e\u7a7a\u304d\u30e1\u30e2\u30ea\u3092\u7a7a\u3051\u3066\u3044\u308c\u3070\u3001\u30d7\u30ed\u30bb\u30b9\u8d77\u52d5\u6642\u306b\u30b9\u30ef\u30c3\u30d7\u3057\u306a\u3044\u3002\n?\u3000\u3000\u3000\u2192\u30e1\u30e2\u30ea\u304c\u5fc5\u8981\u306b\u306a\u3063\u305f\u77ac\u9593\u306e\u3001\u30b9\u30ef\u30c3\u30d7\u306b\u3088\u308b\u30b9\u30ed\u30fc\u30c0\u30a6\u30f3\u304c\u9632\u3052\u308b\n<strong>\uff21\uff0e\u65e9\u3081\u306b\u30c0\u30fc\u30c6\u30a3\u30fc\u30da\u30fc\u30b8\u3092\u6383\u9664\u3055\u305b\u308b<\/strong>\n?pdflush\u304c\u30c0\u30fc\u30c6\u30a3\u30fc\u30da\u30fc\u30b8\u306e\u6383\u9664\u3092\u884c\u3046\n?\u3000vm.dirty_ratio \uff1e <em>\u30c0\u30fc\u30c6\u30a3\u30fc\u30da\u30fc\u30b8\u306e\u5272\u5408<\/em> \uff1e vm.dirty_background_ratio\n?\u3000\u306e\u3068\u304dpdflush\u304c\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u3067\u6383\u9664\n?\u3000<em>\u30c0\u30fc\u30c6\u30a3\u30fc\u30da\u30fc\u30b8\u306e\u5272\u5408<\/em> \uff1e vm.dirty_ratio\n?\u3000\u306e\u3068\u304ddflush\u304c\u30d5\u30a9\u30ef\u30b0\u30e9\u30a6\u30f3\u30c9\u3067\u6383\u9664<\/pre>\n<pre>\u3000\u306a\u306e\u3067\u3001vm.dirty_ratio vm.dirty_background_ratio\u306e\u5024\u3092\u5c0f\u3055\u304f\u3059\u308c\u3070<\/pre>\n<pre>\u3000\u3053\u307e\u3081\u306b\u6383\u9664\u3092\u3057\u3001\u30e1\u30e2\u30ea\u304c\u7a7a\u304f\u53ef\u80fd\u6027\u304c\u3042\u308b\u3002<\/pre>\n<pre>\u3000\uff08\u30e1\u30e2\u30ea\u304c\u5fc5\u8981\u306b\u306a\u3063\u305f\u3068\u304d\u306b\u3001\u4e00\u62ec\u3067\u9577\u6642\u9593\u30b9\u30ed\u30fc\u30c0\u30a6\u30f3\u3059\u308b\u3053\u3068\u304c<\/pre>\n<pre>\u3000\u3000\u3000\u9632\u3052\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\uff09<\/pre>\n<pre><\/pre>\n<pre>\u3000\u3057\u304b\u3057\u3001\u3053\u308c\u3060\u3051\u3067\u306f\u30c0\u30fc\u30c6\u30a3\u30fc\u30da\u30fc\u30b8\u3060\u3051\u3067\u30da\u30fc\u30b8\u30ad\u30e3\u30c3\u30b7\u30e5\u306f\u958b\u653e\u3055\u308c\u306a\u3044<\/pre>\n<pre>\n<strong>\uff22\uff0e\u6700\u4f4e\u7a7a\u304d\u5bb9\u91cf\u3092\u5927\u304d\u304f\u3059\u308b\u3002<\/strong>\n?\u7a7a\u304d\u30e1\u30e2\u30ea\u5bb9\u91cf\u304c vm.min_free_kbytes \u3092\u4e0b\u56de\u3063\u305f\u3068\u304d<\/pre>\n<pre>\u3000\u30da\u30fc\u30b8\u30ad\u30e3\u30c3\u30b7\u30e5\u306f\u958b\u653e\u3055\u308c\u308b\u3002<\/pre>\n<pre><\/pre>\n<pre>\u3000 vm.min_free_kbytes\u306e\u5024\u3092\u5927\u304d\u304f\u3059\u308c\u3070\u3001<\/pre>\n<pre>\u3000\u3000\u30da\u30fc\u30b8\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u7dcf\u91cf\u3092\u6e1b\u3089\u305b\u308b\u3002<\/pre>\n<pre><\/pre>\n<pre>\u3000\u6975\u7aef\u306a\u8a71\u3001\u30a2\u30d7\u30ea\u3067\u6700\u5927\uff13\uff10\uff10\uff2d\uff22\u30e1\u30e2\u30ea\u3092\u4f7f\u7528\u3059\u308b\u306a\u3089\u3001<\/pre>\n<pre>\u3000\u3053\u306e\u5024\u3092307200(=300MB*1024)\u306b\u3057\u3066\u304a\u3051\u3070\u30b9\u30ef\u30c3\u30d7\u3057\u306a\u3044\uff08\u30d0\u30c3\u30d5\u30a1\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u3042\u308b\u305e\u3068\u304b\u30b9\u30ef\u30c3\u30d7\u30a2\u30a6\u30c8\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u304c\u30fb\u30fb\u30fb\u3068\u304b\u7d30\u304b\u3044\u3053\u3068\u306f\u629c\u304d\u3057\u3066\uff09<\/pre>\n<pre><\/pre>\n<pre><\/pre>\n<pre><\/pre>\n<pre><strong>\uff23\uff0e\u3067\u304d\u308b\u3060\u3051\u30b9\u30ef\u30c3\u30d7\u3055\u305b\u306a\u3044<\/strong>\n?vm.<tt class=\"FILENAME\">swappiness <\/tt>\u3092\u6e1b\u3089\u305b\u3070\u30b9\u30ef\u30c3\u30d7\u3057\u306b\u304f\u304f\u306a\u308b\u3002<\/pre>\n<pre>\u3000\u3000\uff08\u4f55\u304b\u306e\u30d1\u30fc\u30bb\u30f3\u30c6\u30fc\u30b8\u3089\u3057\u3044\u30fb\u30fb\u30fb\uff09<\/pre>\n<pre><\/pre>\n<pre><\/pre>\n<pre><\/pre>\n<pre>[\u8ffd\u8a18]<\/pre>\n<pre>\/proc\/sys\/vm\/drop_caches \u306b\u5024\u3092\u653e\u308a\u8fbc\u3081\u3070\u3001<\/pre>\n<pre>\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u5373\u6642\u958b\u653e\u3055\u308c\u308b\u3089\u3057\u3044\uff08Kernel2.6.16 \u4ee5\u964d(CentOS5\/RHEL5\u4ee5\u964d))<\/pre>\n<blockquote>\n<pre>echo \"3\" &gt;  \/proc\/sys\/vm\/drop_caches<\/pre>\n<\/blockquote>\n<pre>1\u30fb\u30fb\u30fb\u30da\u30fc\u30b8\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u307f\u3092\u89e3\u653e<\/pre>\n<pre>2\u30fb\u30fb\u30fb\u30c0\u30fc\u30c6\u30a3\u30da\u30fc\u30b8\u3068inode\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u89e3\u653e<\/pre>\n<pre>3\u30fb\u30fb\u30fb \u30da\u30fc\u30b8\u30ad\u30e3\u30c3\u30b7\u30e5\u3068\u30c0\u30fc\u30c6\u30a3\u30da\u30fc\u30b8\u3068inode\n\u3092\u89e3\u653e<\/pre>\n<pre>\u5b9f\u884c\u524d\u306bsync\u3092\u5b9f\u884c\u3057\u305f\u307b\u3046\u304c\u3044\u3044\u3089\u3057\u3044\u3002<\/pre>\n<pre><\/pre>\n<pre>2\u306f\u3044\u3044\u3068\u3057\u3066\u30011\u30683\u3092\u3057\u305f\u3089\u76f4\u5f8c\u306b\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u60aa\u304f\u306a\u308a\u305d\u3046\u30fb\u30fb\u30fb<\/pre>\n<pre>\uff08\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3054\u3068\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u306b\u3044\u3063\u305f\u308a\u3057\u3066\u308b\u306e\u77e5\u3063\u3066\u307e\u3059\u304b\uff1f\uff09<\/pre>\n<pre><\/pre>\n<pre>kernel2.4\u306e\u9803\u307f\u305f\u3044\u306b\u76f4\u63a5\u30ad\u30e3\u30c3\u30b7\u30e5\u30b5\u30a4\u30ba\u3092\u6307\u5b9a\u3067\u304d\u305f\u3089\u3053\u3053\u307e\u3067\u60a9\u307e\u3093\u3067\u3082\u3044\u3044\u306e\u306b\u30fb\u30fb\u30fb<\/pre>\n<pre><\/pre>\n<pre><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>linux kernel2.6 \u3067\u306e \u30e1\u30e2\u30ea\u30fc\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u306e\u65b9\u6cd5\u3002\u5927\u5bb9\u91cf\u7269\u7406\u30e1\u30e2\u30ea\u306e\u5834\u5408\u3001\u307b\u3068\u3093\u3069\u304c\u30da\u30fc\u30b8\u30ad\u30e3\u30c3\u30b7\u30e5\u30fb\u30d5\u30a1\u30a4\u30eb\u30ad\u30e3\u30c3\u30b7\u30e5\u3002 \u5fc5\u8981\u306a\u51e6\u7f6e ?\uff21\uff0e\u65e9\u3081\u306b\u30c0\u30fc\u30c6\u30a3\u30fc\u30da\u30fc\u30b8\u3092\u6383\u9664\u3055\u305b\u308b ?\uff22\uff0e\u3067\u304d\u308b\u3060\u3051\u30b9\u30ef\u30c3\u30d7\u3055 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/chidipy.jpn.com\/topics\/?p=16\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u7a7a\u304d\u30e1\u30e2\u30ea\u306e\u78ba\u4fdd\u306e\u4ed5\u65b9(\u30e1\u30e2\u30ea\u30fc\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0)(kernel2.6)&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[16,18,20,2],"tags":[],"_links":{"self":[{"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=\/wp\/v2\/posts\/16"}],"collection":[{"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16"}],"version-history":[{"count":0,"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=\/wp\/v2\/posts\/16\/revisions"}],"wp:attachment":[{"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chidipy.jpn.com\/topics\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}