{"id":20866,"date":"2026-08-21T15:06:21","date_gmt":"2026-08-21T13:06:21","guid":{"rendered":"https:\/\/webhosting.de\/vm-swappiness-optimieren-linux-hosting-server-tuning-swap\/"},"modified":"2026-08-21T15:06:21","modified_gmt":"2026-08-21T13:06:21","slug":"vm-%e3%82%b9%e3%83%af%e3%83%83%e3%83%97%e3%83%8b%e3%82%b9%e3%81%ae%e6%9c%80%e9%81%a9%e5%8c%96-linux-%e3%83%9b%e3%82%b9%e3%83%86%e3%82%a3%e3%83%b3%e3%82%b0-%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%ae","status":"publish","type":"post","link":"https:\/\/webhosting.de\/ja\/vm-swappiness-optimieren-linux-hosting-server-tuning-swap\/","title":{"rendered":"\u30b5\u30fc\u30d0\u30fc\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u6700\u9069\u5316\u3059\u308b\u305f\u3081\u306evm.swappiness\u306e\u9069\u5207\u306a\u8a2d\u5b9a"},"content":{"rendered":"<p>\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u30b5\u30fc\u30d0\u30fc\u4e0a\u306eWeb\u30b5\u30fc\u30d3\u30b9\u3084\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d3\u30b9\u306e\u5fdc\u7b54\u901f\u5ea6\u3092\u5411\u4e0a\u3055\u305b\u3001I\/O\u8ca0\u8377\u3092\u8efd\u6e1b\u3059\u308b\u305f\u3081\u306b\u3001vm.swappiness\u3092\u3069\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u3079\u304d\u304b\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u660e\u78ba\u306a\u624b\u9806\u3001\u9069\u5207\u306a\u521d\u671f\u5024\u3001\u305d\u3057\u3066\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u65e2\u5b58\u306eRAM\u3092\u6700\u5927\u9650\u306b\u6d3b\u7528\u3057\u3001 <strong>\u9045\u5ef6\u6642\u9593<\/strong> \u305d\u3057\u3066\u3001\u4e0d\u8981\u306a\u30b9\u30ef\u30c3\u30d4\u30f3\u30b0\u3092\u9632\u304e\u307e\u3059\u3002.<\/p>\n\n<h2>\u4e2d\u5fc3\u70b9<\/h2>\n\n<p>\u3053\u308c\u3089\u306e\u30dd\u30a4\u30f3\u30c8\u3092\u62bc\u3055\u3048\u3066\u304a\u3051\u3070\u3001\u3059\u3050\u306b\u5b9f\u8df5\u3067\u304d\u308b\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u306e\u8981\u70b9\u3092\u7d20\u65e9\u304f\u628a\u63e1\u3067\u304d\u307e\u3059\u3002.<\/p>\n<ul>\n  <li><strong>Swappiness\u306e\u6319\u52d5<\/strong>: \u30ab\u30fc\u30cd\u30eb\u304cRAM\u3092\u30b9\u30ef\u30c3\u30d7\u9818\u57df\u306b\u79fb\u52d5\u3055\u305b\u308b\u30bf\u30a4\u30df\u30f3\u30b0\u3092\u5236\u5fa1\u3057\u307e\u3059\u3002.<\/li>\n  <li><strong>\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u3068\u306e\u95a2\u9023\u6027<\/strong>: \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3084Web\u306a\u3069\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u7a2e\u985e\u306b\u5408\u308f\u305b\u3066\u5024\u3092\u8abf\u6574\u3057\u3066\u304f\u3060\u3055\u3044\u3002.<\/li>\n  <li><strong>\u4e00\u6642\u7684\u306b\u30c6\u30b9\u30c8\u3059\u308b<\/strong>: \u307e\u305a\u306f\u5b9f\u7a3c\u50cd\u74b0\u5883\u3067\u691c\u8a3c\u3057\u3001\u305d\u306e\u5f8c\u3001\u6052\u4e45\u7684\u306b\u78ba\u5b9a\u3059\u308b\u3002.<\/li>\n  <li><strong>\u30b9\u30ef\u30c3\u30d7\u30ec\u30a4\u30a2\u30a6\u30c8<\/strong>: \u898f\u6a21\u3001\u7bc4\u56f2\u3001\u512a\u5148\u9806\u4f4d\u3092\u8003\u616e\u306b\u5165\u308c\u308b\u3002.<\/li>\n  <li><strong>\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0<\/strong>: I\/O\u3001RAM\u3001\u304a\u3088\u3073\u5fdc\u7b54\u6642\u9593\u3092\u76e3\u8996\u30fb\u8abf\u6574\u3059\u308b\u3002.<\/li>\n<\/ul>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2026\/08\/optimale-servereinstellung-5932.png\" alt=\"\u5353\u8d8a\u3057\u305f\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5b9f\u73fe\u3059\u308b\u3001\u6700\u9069\u306b\u8a2d\u5b9a\u3055\u308c\u305f\u30b5\u30fc\u30d0\u30fc\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>vm.swappiness\u3068\u306f\u4f55\u304b\u3001\u305d\u3057\u3066\u305d\u306e\u4ed5\u7d44\u307f<\/h2>\n\n<p>\u30ab\u30fc\u30cd\u30eb\u30d1\u30e9\u30e1\u30fc\u30bf <strong>vm.swappiness<\/strong> Linux\u304cRAM\u304b\u3089\u30b9\u30ef\u30c3\u30d7\u9818\u57df\u3078\u30e1\u30e2\u30ea\u30da\u30fc\u30b8\u3092\u3069\u306e\u7a0b\u5ea6\u7a4d\u6975\u7684\u306b\u79fb\u52d5\u3055\u305b\u308b\u304b\u3092\u6c7a\u5b9a\u3057\u307e\u3059\u3002\u73fe\u5728\u306e\u5024\u306f\u3001\u7591\u4f3c\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e \/proc\/sys\/vm\/swappiness \u3067\u78ba\u8a8d\u3067\u304d\u3001\u5b9f\u884c\u6642\u307e\u305f\u306f\u6c38\u7d9a\u7684\u306b\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u5024\u304c\u9ad8\u3044\u3068\u30b9\u30ef\u30c3\u30d7\u304c\u65e9\u304f\u306a\u308a\u3001\u4f4e\u3044\u3068RAM\u5185\u306e\u30c7\u30fc\u30bf\u3092\u3088\u308a\u9577\u304f\u4fdd\u6301\u3057\u307e\u3059\u3002\u76ee\u6a19\u306f\u3001RAM\u306e\u4f7f\u7528\u7387\u3001\u30da\u30fc\u30b8\u30ad\u30e3\u30c3\u30b7\u30e5\u3001\u304a\u3088\u3073\u5236\u5fa1\u3055\u308c\u305f\u30b9\u30ef\u30c3\u30d7\u52d5\u4f5c\u306e\u9069\u5207\u306a\u30d0\u30e9\u30f3\u30b9\u3092\u53d6\u308b\u3053\u3068\u3067\u3059\u3002\u79c1\u306f\u5e38\u306b\u6b21\u306e\u3053\u3068\u3092\u5ff5\u982d\u306b\u7f6e\u3044\u3066\u3044\u307e\u3059\uff1aRAM\u306f\u3069\u306eSSD\u3088\u308a\u3082\u306f\u308b\u304b\u306b\u9ad8\u901f\u3067\u3042\u308b\u305f\u3081\u3001\u79c1\u306f <strong>\u30ef\u30fc\u30ad\u30f3\u30b0\u30e1\u30e2\u30ea<\/strong> \u30b9\u30ef\u30c3\u30d7\u3088\u308a\u660e\u3089\u304b\u306b\u3002.<\/p>\n\n<h2>\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u30b5\u30fc\u30d0\u30fc\u306b\u304a\u3044\u3066Swappiness\u304c\u91cd\u8981\u306a\u7406\u7531<\/h2>\n\n<p>Web\u30b5\u30fc\u30d0\u30fc\u304a\u3088\u3073\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b5\u30fc\u30d0\u30fc\u3067\u306f\u3001\u6b21\u306e\u8a2d\u5b9a\u304c\u91cd\u8981\u3068\u306a\u308a\u307e\u3059\u3002 <strong>\u30b9\u30ef\u30c3\u30d7\u30cd\u30b9<\/strong> \u5fdc\u7b54\u6642\u9593\u3068\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u306b\u3064\u3044\u3066\u3002\u904e\u5ea6\u306a\u30b9\u30ef\u30c3\u30d4\u30f3\u30b0\u306f\u8ffd\u52a0\u306eI\/O\u8ca0\u8377\u3092\u751f\u307f\u51fa\u3057\u3001\u7279\u306b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u591a\u7528\u3059\u308b\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u306b\u304a\u3044\u3066\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u51e6\u7406\u3092\u9045\u3089\u305b\u307e\u3059\u3002\u4e00\u65b9\u3001\u5024\u304c\u4f4e\u3059\u304e\u308b\u3068\u3001\u5f8c\u3067OOM\u30a4\u30d9\u30f3\u30c8\u304c\u767a\u751f\u3057\u3001\u30d7\u30ed\u30bb\u30b9\u304c\u7a81\u7136\u7d42\u4e86\u3059\u308b\u30ea\u30b9\u30af\u304c\u3042\u308a\u307e\u3059\u3002 \u305d\u306e\u305f\u3081\u3001\u79c1\u306fRAM\u3084\u30b9\u30ef\u30c3\u30d7\u306b\u52a0\u3048\u3001\u5178\u578b\u7684\u306a\u8ca0\u8377\u306e\u30d4\u30fc\u30af\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u3001\u304a\u3088\u3073\u30af\u30a8\u30ea\u306e\u30d1\u30bf\u30fc\u30f3\u3082\u8a55\u4fa1\u3057\u3066\u3044\u307e\u3059\u3002\u30ec\u30a4\u30c6\u30f3\u30b7\u3092\u4f4e\u6e1b\u3059\u308b\u3053\u3068\u3067\u3001\u52d5\u4f5c\u306e\u30ab\u30af\u3064\u304d\u3092\u9632\u304e\u3001\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u51e6\u7406\u3092\u76ee\u306b\u898b\u3048\u3066\u30b9\u30e0\u30fc\u30ba\u306b\u4fdd\u3064\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 <strong>\u6db2\u4f53<\/strong>.<\/p>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2026\/08\/servermeeting_swappiness_3847.png\" alt=\"\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u306b\u5fdc\u3058\u305f\u63a8\u5968\u4e8b\u9805<\/h2>\n\n<p>\u3059\u3079\u3066\u306e\u30b7\u30ca\u30ea\u30aa\u306b\u5358\u4e00\u306e\u5024\u304c\u5f53\u3066\u306f\u307e\u308b\u3053\u3068\u306f\u3081\u3063\u305f\u306b\u306a\u3044\u305f\u3081\u3001\u307e\u305a\u306f\u5b9f\u904b\u7528\u3067\u5b9f\u7e3e\u306e\u3042\u308b\u7bc4\u56f2\u304b\u3089\u59cb\u3081\u3001\u305d\u306e\u5f8c\u3001\u6e2c\u5b9a\u30c7\u30fc\u30bf\u306b\u57fa\u3065\u3044\u3066\u8abf\u6574\u3057\u3066\u3044\u307e\u3059\u3002 \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u306f\u975e\u5e38\u306b\u4f4e\u3044\u8a2d\u5b9a\u304c\u6709\u52b9\u3067\u3059\u304c\u3001\u7d14\u7c8b\u306aWeb\u30b5\u30fc\u30d0\u30fc\u306e\u5834\u5408\u306f\u3001\u591a\u5c11\u9ad8\u3044\u5024\u3067\u3082\u554f\u984c\u306e\u306a\u3044\u3053\u3068\u304c\u3088\u304f\u3042\u308a\u307e\u3059\u3002\u30c6\u30b9\u30c8\u74b0\u5883\u3084\u958b\u767a\u74b0\u5883\u3067\u306f\u3001\u5229\u4fbf\u6027\u304c\u3088\u308a\u91cd\u8981\u3068\u306a\u308b\u305f\u3081\u3001\u6a19\u6e96\u5024\u306b\u8fd1\u3044\u8a2d\u5b9a\u3067\u904b\u7528\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b9\u30ad\u30fc\u30e0\u3092\u3001\u5b9f\u7528\u7684\u306a\u5c0e\u5165\u306e\u6307\u91dd\u3068\u3057\u3066\u6d3b\u7528\u3057\u3066\u3044\u307e\u3059\u3002 <strong>\u30db\u30b9\u30c6\u30a3\u30f3\u30b0<\/strong>-\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u3002\u305d\u306e\u5f8c\u3001I\/O\u3001\u30b9\u30ef\u30c3\u30d7\u4f7f\u7528\u7387\u3001\u5fdc\u7b54\u6642\u9593\u3092\u76e3\u8996\u3057\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u5fae\u8abf\u6574\u3092\u884c\u3044\u307e\u3059\u3002.<\/p>\n\n<table>\n  <thead>\n    <tr>\n      <th>\u30ef\u30fc\u30af\u30ed\u30fc\u30c9<\/th>\n      <th>\u63a8\u5968\u3055\u308c\u308bSwappiness<\/th>\n      <th>\u30b4\u30fc\u30eb<\/th>\n    <\/tr>\n  <\/thead>\n  <tbody>\n    <tr>\n      <td><strong>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9<\/strong> (MySQL\u3001PostgreSQL)<\/td>\n      <td>0\u201310<\/td>\n      <td>RAM\u306b\u30d0\u30c3\u30d5\u30a1\u3092\u4fdd\u6301\u3057\u3001\u30ec\u30a4\u30c6\u30f3\u30b7\u3092\u4f4e\u304f\u6291\u3048\u308b<\/td>\n    <\/tr>\n    <tr>\n      <td><strong>\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\uff0f\u4f4e\u9045\u5ef6<\/strong><\/td>\n      <td>0\u201310<\/td>\n      <td>\u30b9\u30ef\u30c3\u30d7\u306b\u3088\u308bI\/O\u306e\u30d4\u30fc\u30af\u3092\u56de\u907f\u3059\u308b<\/td>\n    <\/tr>\n    <tr>\n      <td><strong>\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc<\/strong> \u30ad\u30e3\u30c3\u30b7\u30e5\u4ed8\u304d<\/td>\n      <td>10\uff5e20\uff08\u4e00\u90e8\u306f10\uff5e30\uff09<\/td>\n      <td>\u51b7\u305f\u3044\u30da\u30fc\u30b8\u3092\u30b9\u30ef\u30c3\u30d7\u30a2\u30a6\u30c8\u3057\u3001\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u30ea\u30af\u30a8\u30b9\u30c8\u3092RAM\u306b\u4fdd\u6301<\/td>\n    <\/tr>\n    <tr>\n      <td><strong>\u958b\u767a\u30fb\u30c6\u30b9\u30c8<\/strong><\/td>\n      <td>30\uff5e60<\/td>\n      <td>\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\u3088\u308a\u3082\u5feb\u9069\u6027\u3068\u5b89\u5b9a\u6027\u3092\u512a\u5148<\/td>\n    <\/tr>\n  <\/tbody>\n<\/table>\n\n<h2>\u73fe\u5728\u306e\u5024\u3092\u78ba\u8a8d\u3059\u308b<\/h2>\n\n<p>\u5024\u3092\u5909\u66f4\u3059\u308b\u524d\u306b\u3001\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u8aad\u307f\u53d6\u308a\u3001\u305d\u306e\u5185\u5bb9\u3092\u8a18\u9332\u3057\u307e\u3059\u3002 <strong>\u30d9\u30fc\u30b9\u30e9\u30a4\u30f3<\/strong>. \u3053\u308c\u306b\u306f `cat \/proc\/sys\/vm\/swappiness` \u307e\u305f\u306f `sysctl vm.swappiness` \u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u3069\u3061\u3089\u306e\u65b9\u6cd5\u3067\u3082 60 \u3068\u3044\u3063\u305f\u6570\u5024\u304c\u5f97\u3089\u308c\u307e\u3059\u3002\u4e26\u884c\u3057\u3066\u3001`free -h` \u3092\u4f7f\u3063\u3066 RAM \u3068\u30b9\u30ef\u30c3\u30d7\u9818\u57df\u306e\u4f7f\u7528\u72b6\u6cc1\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002 swapon \u2013show \u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u30b9\u30ef\u30c3\u30d7\u30c7\u30d0\u30a4\u30b9\u306e\u30b5\u30a4\u30ba\u3001\u512a\u5148\u5ea6\u3001\u30e1\u30c7\u30a3\u30a2\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u521d\u671f\u30c7\u30fc\u30bf\u306f\u3001\u5f8c\u3067\u305d\u306e\u52b9\u679c\u3092 <strong>\u5272\u308a\u5f53\u3066\u308b<\/strong> \u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2026\/08\/server-optimierung-swappiness-4287.png\" alt=\"\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>\u3059\u3050\u306b\u6052\u4e45\u7684\u306a\u5909\u66f4\u3092\u884c\u3046\u306e\u3067\u306f\u306a\u304f\u3001\u307e\u305a\u306f\u4e00\u6642\u7684\u306b\u30c6\u30b9\u30c8\u3057\u3066\u307f\u308b<\/h2>\n\n<p>\u307e\u305a\u306f\u8a66\u3057\u306bSwappiness\u3092\u5c0e\u5165\u3057\u3001\u5b9f\u969b\u306e\u74b0\u5883\u3067\u306e\u53cd\u5fdc\u3092 <strong>\u8ca0\u8377<\/strong> \u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002sysctl vm.swappiness=10 \u30b3\u30de\u30f3\u30c9\u306f\u5373\u5ea7\u306b\u52b9\u679c\u3092\u767a\u63ee\u3057\u307e\u3059\u304c\u3001\u518d\u8d77\u52d5\u307e\u3067\u3057\u304b\u6301\u7d9a\u3057\u307e\u305b\u3093\u3002\u30c6\u30b9\u30c8\u4e2d\u306f top \u3084 htop \u3092\u76e3\u8996\u3057\u3001vmstat \u3084 iostat \u3092\u78ba\u8a8d\u3057\u306a\u304c\u3089\u3001\u5404\u30b5\u30fc\u30d3\u30b9\u306e\u5fdc\u7b54\u6642\u9593\u3092\u6e2c\u5b9a\u3057\u307e\u3059\u3002 \u30b9\u30ef\u30c3\u30d7\u7387\u304c\u4f4e\u4e0b\u3057\u3001\u30ec\u30a4\u30c6\u30f3\u30b7\u304c\u5b89\u5b9a\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u59a5\u5f53\u306a\u7bc4\u56f2\u3067\u6bb5\u968e\u7684\u306b\u8abf\u6574\u3092\u9032\u3081\u307e\u3059\u3002\u30e1\u30c8\u30ea\u30af\u30b9\u304c\u7d0d\u5f97\u306e\u3044\u304f\u7d50\u679c\u3068\u306a\u3063\u305f\u6642\u70b9\u3067\u521d\u3081\u3066\u3001\u305d\u306e\u5024\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002 <strong>\u30d1\u30fc\u30de\u30cd\u30f3\u30c8<\/strong> \u56fa\u5b9a\u3002.<\/p>\n\n<h2>\u6c38\u7d9a\u7684\u306b\u8a2d\u5b9a\u3059\u308b<\/h2>\n\n<p>\u30c6\u30b9\u30c8\u7d50\u679c\u304c\u9069\u5207\u3067\u3042\u308c\u3070\u3001\u305d\u308c\u3092sysctl\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u8ff0\u3057\u3001\u8a2d\u5b9a\u3092\u518d\u8aad\u307f\u8fbc\u307f\u3057\u307e\u3059\u3002\/etc\/sysctl.conf \u306b vm.swappiness=10 \u3068\u3044\u3046\u884c\u3092\u8ffd\u52a0\u3057\u3001sysctl -p \u3092\u5b9f\u884c\u3057\u3066\u6709\u52b9\u306b\u3057\u307e\u3059\u3002 \u3088\u308a\u6574\u7406\u3055\u308c\u305f\u65b9\u6cd5\u3068\u3057\u3066\u3001\/etc\/sysctl.d\/ \u914d\u4e0b\u306b 99-swappiness.conf \u3068\u3044\u3063\u305f\u72ec\u81ea\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3001sysctl \u2013system \u3067\u8aad\u307f\u8fbc\u3080\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u304c\u5bb9\u6613\u306b\u306a\u308a\u3001\u81ea\u52d5\u5316\u306b\u3082\u7d44\u307f\u8fbc\u307f\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002\u95a2\u9023\u3059\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u95a2\u3059\u308b\u3088\u308a\u8a73\u7d30\u306a\u6982\u8981\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002 <a href=\"https:\/\/webhosting.de\/ja\/sysctl-%e3%81%ab%e3%82%88%e3%82%8b%e3%82%a6%e3%82%a7%e3%83%96%e3%83%9b%e3%82%b9%e3%83%86%e3%82%a3%e3%83%b3%e3%82%b0%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%ae%e3%83%91%e3%83%95%e3%82%a9%e3%83%bc\/\">sysctl \u30c1\u30e5\u30fc\u30cb\u30f3\u30b0<\/a>, \u3001\u5909\u66f4\u70b9\u306e\u6574\u7406\u3092\u624b\u4f1d\u3063\u3066\u304f\u308c\u308b\u3057\u3001 <strong>\u30af\u30e9\u30ea\u30c6\u30a3<\/strong> \u3092\u6301\u3063\u3066\u304f\u308b\u3002<\/p>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2026\/08\/serverperformance_8432.png\" alt=\"\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>\u30b9\u30ef\u30c3\u30d7\u9818\u57df\u306e\u30b5\u30a4\u30ba\u3001\u30e1\u30e2\u30ea\u30ec\u30a4\u30a2\u30a6\u30c8\u3001\u304a\u3088\u3073\u30c7\u30fc\u30bf\u30b9\u30c8\u30ec\u30fc\u30b8<\/h2>\n\n<p>Swappiness\u306f\u6c7a\u3057\u3066\u5358\u72ec\u3067\u4f5c\u7528\u3059\u308b\u3082\u306e\u3067\u306f\u306a\u3044\u305f\u3081\u3001\u79c1\u306f\u305d\u306e\u5927\u304d\u3055\u3084\u4f4d\u7f6e\u3092\u8a55\u4fa1\u3057\u3066\u3044\u308b\u3002 <strong>\u30b9\u30ef\u30c3\u30d7<\/strong> \u5e38\u306b\u8003\u616e\u3059\u3079\u304d\u70b9\u3067\u3059\u3002\u30b9\u30ef\u30c3\u30d7\u9818\u57df\u304c\u5c0f\u3055\u3059\u304e\u308b\u3068\u3059\u3050\u306b\u6e80\u676f\u306b\u306a\u308a\u3001\u5927\u304d\u3059\u304e\u308b\u3068\u8ca0\u8377\u304c\u304b\u304b\u3063\u305f\u969b\u306bI\/O\u51e6\u7406\u6642\u9593\u304c\u9577\u5f15\u304d\u307e\u3059\u3002SSD\u3084NVMe\u3067\u306fHDD\u3088\u308a\u3082\u30b9\u30ef\u30c3\u30d7\u51e6\u7406\u304c\u9ad8\u901f\u3067\u3059\u304c\u3001RAM\u306b\u306f\u4f9d\u7136\u3068\u3057\u3066\u6570\u6841\u306e\u5dee\u304c\u3042\u308a\u307e\u3059\u3002\u512a\u5148\u9806\u4f4d\u3092\u8a2d\u5b9a\u3057\u305f\u8907\u6570\u306e\u30b9\u30ef\u30c3\u30d7\u30c7\u30d0\u30a4\u30b9\u3092\u7528\u610f\u3059\u308b\u3053\u3068\u3067\u3001\u6700\u3082\u9ad8\u901f\u306a\u30e1\u30c7\u30a3\u30a2\u3092\u512a\u5148\u3057\u3066\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 \u30e1\u30ea\u30c3\u30c8\u3068\u30c7\u30e1\u30ea\u30c3\u30c8\u306b\u3064\u3044\u3066\u3055\u3089\u306b\u8a73\u3057\u304f\u77e5\u308a\u305f\u3044\u65b9\u306f\u3001\u3053\u3061\u3089\u306e\u6982\u8981\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002 <a href=\"https:\/\/webhosting.de\/ja\/%e3%83%9b%e3%82%b9%e3%83%86%e3%82%a3%e3%83%b3%e3%82%b0%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8bswap%e3%81%af%e6%9c%89%e7%94%a8%e3%81%8b%e3%80%81%e3%81%9d%e3%82%8c%e3%81%a8%e3%82%82%e3%83%91%e3%83%95\/\">\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u306b\u304a\u3051\u308b\u30b9\u30ef\u30c3\u30d7<\/a> \uff5e\u306e\u305f\u3081\u306e\u6709\u76ca\u306a\u793a\u5506 <strong>\u7df4\u7fd2<\/strong>.<\/p>\n\n<h2>\u5b9f\u52d9\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\uff1a\u30b9\u30c6\u30c3\u30d7\u30d0\u30a4\u30b9\u30c6\u30c3\u30d7<\/h2>\n\n<p>\u307e\u305a\u306f\u73fe\u72b6\u628a\u63e1\u304b\u3089\u59cb\u3081\u307e\u3059\u3002\u73fe\u5728\u306eSwappiness\u5024\u3001RAM\u304a\u3088\u3073\u30b9\u30ef\u30c3\u30d7\u306e\u4f7f\u7528\u7387\u3001CPU\u304a\u3088\u3073I\/O\u306e\u72b6\u614b\u3092\u8a18\u9332\u3057\u3001\u305d\u308c\u3092 <strong>\u53c2\u8003<\/strong> \u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u308b\u3002\u305d\u306e\u5f8c\u3001\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u3092\u5206\u985e\u3059\u308b\uff1a\u4e3b\u306b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u4ed8\u304dWeb\u3001\u6df7\u5408\u74b0\u5883\u3001\u307e\u305f\u306f\u30b3\u30f3\u30c6\u30ca\u5316\u3055\u308c\u305f\u74b0\u5883\u3002\u7d9a\u3044\u3066\u76ee\u6a19\u5024\u3092\u5b9a\u7fa9\u3059\u308b\uff1a\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f0\uff5e10\u3001Web\u306f\u901a\u5e3810\uff5e20\u3001\u6df7\u5408\u8ca0\u8377\u306b\u3064\u3044\u3066\u306f\u614e\u91cd\u306b\u8abf\u6574\u3059\u308b\u3002 \u3053\u306e\u5024\u3092\u4e00\u6642\u7684\u306b\u8a2d\u5b9a\u3057\u3001\u8907\u6570\u306e\u8ca0\u8377\u30d5\u30a7\u30fc\u30ba\u3092\u89b3\u5bdf\u3057\u3066\u30e1\u30c8\u30ea\u30af\u30b9\u3092\u6bd4\u8f03\u3057\u307e\u3059\u3002\u7d50\u679c\u304c\u7e70\u308a\u8fd4\u3057\u4e00\u81f4\u3059\u308c\u3070\u3001\u305d\u306e\u5024\u3092\u78ba\u5b9a\u3057\u3001\u5909\u66f4\u5185\u5bb9\u3092\u6587\u66f8\u5316\u3057\u3066\u3001\u30ab\u30fc\u30cd\u30eb\u3001\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u3001\u307e\u305f\u306f <strong>\u30ea\u30ea\u30fc\u30b9<\/strong>- \u518d\u5ea6\u5207\u308a\u66ff\u3048\u308b\u3002.<\/p>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2026\/08\/serverperformance_vm_4512.png\" alt=\"\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>\u7279\u5b9a\u306e\u30b7\u30ca\u30ea\u30aa\uff1a\u30b3\u30f3\u30c6\u30ca\u3001VM\u3001\u30af\u30e9\u30a6\u30c9<\/h2>\n\n<p>\u30b3\u30f3\u30c6\u30ca\u3084VM\u306b\u304a\u3044\u3066\u3001\u30db\u30b9\u30c8\u304a\u3088\u3073\u30b2\u30b9\u30c8\u30ec\u30d9\u30eb\u3067\u30b9\u30ef\u30c3\u30d7\u30cb\u30b9\u3092\u8abf\u6574\u3057\u3066\u3044\u307e\u3059 <strong>\u4e00\u7dd2\u306b<\/strong> \u3002Kubernetes \u306e\u3088\u3046\u306a\u30aa\u30fc\u30b1\u30b9\u30c8\u30ec\u30fc\u30b7\u30e7\u30f3\u74b0\u5883\u3067\u306f\u3001\u30dd\u30c3\u30c9\u306e\u9045\u5ef6\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u308b\u305f\u3081\u3001\u30ef\u30fc\u30ab\u30fc\u30ce\u30fc\u30c9\u306e\u8a2d\u5b9a\u3092\u975e\u5e38\u306b\u4f4e\u304f\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u4e00\u822c\u7684\u3067\u3059\u3002 VM\u3067\u306f\u3001\u5185\u90e8\u3067\u9069\u5207\u306a\u5024\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u30cf\u30a4\u30d1\u30fc\u30d0\u30a4\u30b6\u30fc\u304c\u305d\u308c\u306b\u9006\u884c\u3057\u306a\u3044\u3088\u3046\u6ce8\u610f\u3057\u3066\u3044\u307e\u3059\u3002\u5f3e\u529b\u7684\u306a\u30af\u30e9\u30a6\u30c9\u74b0\u5883\u3067\u306f\u3001\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u304c\u52b9\u304d\u59cb\u3081\u308b\u307e\u3067\u3001\u63a7\u3048\u3081\u306a\u5024\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u8ca0\u8377\u306e\u30d4\u30fc\u30af\u3092\u5e73\u6ed1\u5316\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u30011\u3064\u306e\u30b3\u30f3\u30c6\u30ca\u304c\u6fc0\u3057\u3044\u30b9\u30ef\u30c3\u30d7\u52d5\u4f5c\u306b\u3088\u3063\u3066\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306b\u8ca0\u8377\u3092\u304b\u3051\u308b\u3053\u3068\u3092\u907f\u3051\u3066\u3044\u307e\u3059\u3002 <strong>\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0<\/strong> \u30d6\u30ec\u30fc\u30ad\u304c\u304b\u304b\u308b\u3002.<\/p>\n\n<h2>\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u3068\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0<\/h2>\n\n<p>\u30b9\u30ef\u30c3\u30d7\u30cb\u30b9\u304c\u9069\u5207\u3067\u306a\u3044\u5834\u5408\u306e\u5178\u578b\u7684\u306a\u5146\u5019\u3068\u3057\u3066\u306f\u3001RAM\u306b\u7a7a\u304d\u304c\u3042\u308b\u306b\u3082\u304b\u304b\u308f\u3089\u305aI\/O\u8ca0\u8377\u304c\u9ad8\u3044\u3053\u3068\u3001\u5fdc\u7b54\u6642\u9593\u306e\u5909\u52d5\u304c\u6fc0\u3057\u3044\u3053\u3068\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30af\u30a8\u30ea\u306e\u51e6\u7406\u304c\u9045\u3044\u3053\u3068\u306a\u3069\u3092\u6319\u3052\u3066\u3044\u307e\u3059\u3002\u3053\u3046\u3057\u305f\u30d1\u30bf\u30fc\u30f3\u306f\u3001vmstat\u3001iostat\u3001sar\u3001\u304a\u3088\u3073\u79c1\u306e\u30aa\u30d6\u30b6\u30fc\u30d0\u30d3\u30ea\u30c6\u30a3\u30fb\u30b9\u30bf\u30c3\u30af\u304b\u3089\u306e\u30e1\u30c8\u30ea\u30af\u30b9\u3092\u4f7f\u3063\u3066\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\u3002 RAM\u306b\u7a7a\u304d\u304c\u3042\u308b\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u30b7\u30b9\u30c6\u30e0\u306e\u30b9\u30ef\u30c3\u30d7\u4f7f\u7528\u7387\u304c\u9ad8\u3044\u5834\u5408\u306f\u3001\u901a\u5e38\u3001\u30b9\u30ef\u30c3\u30d7\u30cb\u30cd\u30b9\u3092\u4f4e\u304f\u8a2d\u5b9a\u3057\u307e\u3059\u3002RAM\u304c\u4e0d\u8db3\u3057\u3066\u3044\u308b\u969b\u306bOOM\u30ed\u30b0\u3084\u30d7\u30ed\u30bb\u30b9\u7570\u5e38\u7d42\u4e86\u304c\u898b\u3089\u308c\u308b\u5834\u5408\u306f\u3001\u30b9\u30ef\u30c3\u30d7\u30cb\u30cd\u30b9\u3092\u9069\u5ea6\u306b\u5f15\u304d\u4e0a\u3052\u308b\u304b\u3001\u30b9\u30ef\u30c3\u30d7\u306e\u8a2d\u5b9a\u3092\u8abf\u6574\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u8868\u306f\u3001\u30b9\u30ef\u30c3\u30d7\u30cb\u30cd\u30b9\u306e\u8a2d\u5b9a\u304c\u4e0d\u9069\u5207\u3067\u3042\u308b\u53ef\u80fd\u6027\u3092\u793a\u3059\u75c7\u72b6\u3092\u6574\u7406\u3057\u305f\u3082\u306e\u3067\u3059\u3002 <strong>\u539f\u56e0<\/strong> \u2026\u3078\u3068\u5c0e\u304d\u3001\u6700\u521d\u306e\u65b9\u5411\u6027\u3092\u793a\u3059\u3002.<\/p>\n\n<table>\n  <thead>\n    <tr>\n      <th>\u75c7\u72b6<\/th>\n      <th>\u63a8\u5b9a\u539f\u56e0<\/th>\n      <th>\u6b21\u306e\u30b9\u30c6\u30c3\u30d7<\/th>\n    <\/tr>\n  <\/thead>\n  <tbody>\n    <tr>\n      <td><strong>\u9ad8\u3044I\/O<\/strong> \u7a7a\u304dRAM\u304c\u3042\u308b\u5834\u5408<\/td>\n      <td>Swappiness\u304c\u9ad8\u3059\u304e\u308b<\/td>\n      <td>\u4fa1\u5024\u3092\u4f4e\u4e0b\u3055\u305b\u3001\u52b9\u679c\u3092\u6e2c\u5b9a\u3059\u308b<\/td>\n    <\/tr>\n    <tr>\n      <td><strong>OOM\u30a4\u30d9\u30f3\u30c8<\/strong> \u8ca0\u8377\u6642<\/td>\n      <td>Swappiness\u304c\u4f4e\u3059\u304e\u308b\u3001\u307e\u305f\u306f\u30b9\u30ef\u30c3\u30d7\u91cf\u304c\u4e0d\u8db3\u3057\u3066\u3044\u308b<\/td>\n      <td>\u5024\u3092\u5f15\u304d\u4e0a\u3052\u3001\u30b9\u30ef\u30c3\u30d7\u30b5\u30a4\u30ba\u3092\u78ba\u8a8d\u3059\u308b<\/td>\n    <\/tr>\n    <tr>\n      <td><strong>\u51e6\u7406\u306b\u6642\u9593\u304c\u304b\u304b\u308b\u30af\u30a8\u30ea<\/strong> CPU\u306e\u4f59\u88d5\u304c\u3042\u308b\u306b\u3082\u304b\u304b\u308f\u3089\u305a<\/td>\n      <td>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30d0\u30c3\u30d5\u30a1\u304c\u30b9\u30ef\u30c3\u30d7\u30a2\u30a6\u30c8\u3055\u308c\u305f<\/td>\n      <td>0\uff5e10\u306e\u7bc4\u56f2\u306e\u5024\u3001DB\u30d0\u30c3\u30d5\u30a1\u306e\u5206\u6790<\/td>\n    <\/tr>\n    <tr>\n      <td><strong>\u8ca0\u8377\u30d4\u30fc\u30af<\/strong> CPU\u306b\u3088\u308b\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u306a\u3057<\/td>\n      <td>\u30b9\u30ef\u30c3\u30d7\u306b\u8d77\u56e0\u3059\u308bI\/O\u306e\u30d4\u30fc\u30af<\/td>\n      <td>Swappiness\u3092\u4e0b\u3052\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u30d2\u30c3\u30c8\u3092\u78ba\u8a8d\u3059\u308b<\/td>\n    <\/tr>\n  <\/tbody>\n<\/table>\n\n<h2>\u5fae\u7d30\u306a\u6307\u6a19\u3092\u7406\u89e3\u3059\u308b<\/h2>\n\n<p>\u30b9\u30ef\u30c3\u30d7\u30cb\u30b9\u3092\u5ba2\u89b3\u7684\u306b\u8a55\u4fa1\u3059\u308b\u305f\u3081\u306b\u3001\u30ab\u30fc\u30cd\u30eb\u306e\u30ab\u30a6\u30f3\u30bf\u3092\u8a73\u3057\u304f\u8abf\u3079\u3066\u307f\u307e\u3059\u3002 \/proc\/vmstat \u3067\u306f\u3001pswpin \u3068 pswpout \u304c\u3001\u8aad\u307f\u8fbc\u307e\u308c\u305f\u30da\u30fc\u30b8\u6570\u304a\u3088\u3073\u30b9\u30ef\u30c3\u30d7\u30a2\u30a6\u30c8\u3055\u308c\u305f\u30da\u30fc\u30b8\u6570\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002pgscan_kswapd_* \u304a\u3088\u3073 pgsteal_* \u306f\u3001\u30ea\u30af\u30ec\u30fc\u30de\u304c\u3069\u308c\u307b\u3069\u7a4d\u6975\u7684\u306b\u52d5\u4f5c\u3057\u3066\u3044\u308b\u304b\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002 pgmajfault\uff08\u30e1\u30b8\u30e3\u30fc\u30fb\u30da\u30fc\u30b8\u30fb\u30d5\u30a9\u30fc\u30eb\u30c8\uff09\u304c\u983b\u7e41\u306b\u767a\u751f\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001I\/O\u8ca0\u8377\u306e\u9ad8\u3044\u518d\u8aad\u307f\u8fbc\u307f\u304c\u884c\u308f\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u793a\u5506\u3057\u3066\u3044\u307e\u3059\u3002\u79c1\u306f\u3053\u308c\u3089\u306e\u5024\u3092\u7e70\u308a\u8fd4\u3057\u78ba\u8a8d\u3059\u308b\u304b\u3001sar -B \u3084 sar -W \u3092\u4f7f\u7528\u3057\u3066\u3001\u5358\u306a\u308b\u77ac\u9593\u7684\u306a\u5024\u3060\u3051\u3067\u306a\u304f\u3001\u767a\u751f\u7387\u3092\u628a\u63e1\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002 vmstat 1 \u3092\u4f7f\u7528\u3059\u308b\u3068\u3001si\/so\uff08\u30b9\u30ef\u30c3\u30d7\u30a4\u30f3\/\u30a2\u30a6\u30c8\uff09\u3092\u628a\u63e1\u3067\u304d\u3001\u30b9\u30d1\u30a4\u30af\u3092\u5b9f\u969b\u306e\u30a4\u30d9\u30f3\u30c8\u3068\u95a2\u9023\u4ed8\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3055\u3089\u306b\u3001\/proc\/pressure\/memory \u306f\u3001\u30e1\u30e2\u30ea\u5727\u8feb\u306b\u3088\u3063\u3066\u30bf\u30b9\u30af\u304c\u3069\u306e\u7a0b\u5ea6\u5f71\u97ff\u3092\u53d7\u3051\u3066\u3044\u308b\u304b\u306b\u3064\u3044\u3066\u306e\u8a55\u4fa1\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002 <strong>\u30d6\u30ed\u30c3\u30af<\/strong> (PSI)\u3002\u305d\u3053\u304c\u4e00\u90e8\u307e\u305f\u306f\u5168\u4f53\u7684\u306b\u4e0a\u6607\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u30ea\u30af\u30ec\u30a4\u30e0\u304c\u904e\u5ea6\u306b\u7a4d\u6975\u7684\u3067\u3042\u308b\u304b\u3001\u30b9\u30ef\u30c3\u30d7\u30cd\u30b9\u304c\u4e0d\u9069\u5207\u3067\u3042\u308b\u3068\u3044\u3046\u660e\u78ba\u306a\u5146\u5019\u3068\u306a\u308a\u307e\u3059\u3002.<\/p>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2026\/08\/serverperformance-8734.png\" alt=\"\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>Swappiness 0 \u5bfe 1\uff1a\u30ab\u30fc\u30cd\u30eb\u304c\u5b9f\u969b\u306b\u884c\u3063\u3066\u3044\u308b\u3053\u3068<\/h2>\n\n<p>Swappiness=0\u306b\u8a2d\u5b9a\u3059\u308b\u3068\u30b9\u30ef\u30c3\u30d7\u304c\u5b8c\u5168\u306b\u7121\u52b9\u5316\u3055\u308c\u308b\u3068\u3088\u304f\u8003\u3048\u3089\u308c\u3066\u3044\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u305d\u308c\u306f\u6b63\u78ba\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u30020\u3068\u3044\u3046\u5024\u306f\u3001\u30ab\u30fc\u30cd\u30eb\u306b\u5bfe\u3057\u3066\u30b9\u30ef\u30c3\u30d7\u3092\u53ef\u80fd\u306a\u9650\u308a\u56de\u907f\u3057\u3001\u771f\u306e\u30e1\u30e2\u30ea\u4e0d\u8db3\u6642\u306b\u306e\u307f\u4f7f\u7528\u3059\u308b\u3088\u3046\u306b\u6307\u793a\u3059\u308b\u3082\u306e\u3067\u3059\u3002 \u5b9f\u969b\u306b\u306f\u30011\uff5e10\u306e\u5024\u3092\u8a2d\u5b9a\u3059\u308c\u3070\u975e\u5e38\u306b\u63a7\u3048\u3081\u306a\u52d5\u4f5c\u304c\u5f97\u3089\u308c\u307e\u3059\u304c\u3001\u4e00\u90e8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u306f0\u306b\u8a2d\u5b9a\u3059\u308b\u3068\u3001\u30ea\u30af\u30ec\u30a4\u30e0\u30d5\u30a7\u30fc\u30ba\u306e\u958b\u59cb\u304c\u9045\u308c\u308b\u4ee3\u308f\u308a\u306b\u3001\u305d\u306e\u969b\u306b\u6fc0\u3057\u3044\u30ea\u30af\u30ec\u30a4\u30e0\u304c\u767a\u751f\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002 \u79c1\u306f\u3001\u30ec\u30a4\u30c6\u30f3\u30b7\u304c\u91cd\u8981\u306a\u30b5\u30fc\u30d3\u30b9\u306b\u5bfe\u3057\u3066\u306f\u901a\u5e381\uff5e5\u3092\u8a2d\u5b9a\u3057\u3001pswpout\/pswpin\u304c\u5b9f\u8cea\u7684\u306b\u30bc\u30ed\u306e\u307e\u307e\u304b\u3069\u3046\u304b\u3092\u89b3\u5bdf\u3057\u3066\u3044\u307e\u3059\u30020\u306e\u8a2d\u5b9a\u3067\u30d0\u30fc\u30b9\u30c8\u6642\u306bOOM\u30a4\u30d9\u30f3\u30c8\u304c\u767a\u751f\u3059\u308b\u5834\u5408\u306f\u3001\u30ab\u30fc\u30cd\u30eb\u304c\u6025\u6fc0\u306b\u5727\u529b\u3092\u89e3\u653e\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u3088\u308a\u65e9\u304f\u7a4f\u3084\u304b\u306b\u5727\u529b\u3092\u89e3\u653e\u3059\u308b\u3088\u3046\u306b\u3001\u5024\u3092\u308f\u305a\u304b\u306b\u4e0a\u3052\u307e\u3059\u3002 <strong>\u4fb5\u5165\u3059\u308b<\/strong>.<\/p>\n\n<h2>Zswap\u3068ZRAM\u3092\u52b9\u679c\u7684\u306b\u6d3b\u7528\u3059\u308b<\/h2>\n\n<p>\u5f93\u6765\u306e\u30c7\u30a3\u30b9\u30af\u30b9\u30ef\u30c3\u30d7\u306b\u52a0\u3048\u3001\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u306b\u5fdc\u3058\u3066Zswap\u3084ZRAM\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002Zswap\u306f\u30b9\u30ef\u30c3\u30d7\u30a2\u30a6\u30c8\u3055\u308c\u305f\u30da\u30fc\u30b8\u3092\u5727\u7e2e\u3057\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u30b9\u30c8\u30ec\u30fc\u30b8\u306b\u66f8\u304d\u8fbc\u307e\u308c\u308b\u307e\u3067\u3001\u4e00\u65e6RAM\u306b\u4fdd\u6301\u3057\u307e\u3059\u3002 \u3053\u308c\u306b\u3088\u308aI\/O\u304c\u524a\u6e1b\u3055\u308c\u3001\u30ec\u30a4\u30c6\u30f3\u30b7\u304c\u5e73\u6ed1\u5316\u3055\u308c\u307e\u3059\u304c\u3001CPU\u8ca0\u8377\u304c\u5897\u52a0\u3057\u307e\u3059\u3002CPU\u306e\u4f59\u529b\u306b\u4f59\u88d5\u306e\u3042\u308b\u30db\u30b9\u30c8\u3067\u306f\u3001\u3053\u308c\u306f <strong>\u3088\u308a\u53ce\u76ca\u6027\u306e\u9ad8\u3044<\/strong> \u30c8\u30ec\u30fc\u30c9\u30aa\u30d5\u3002ZRAM\u306f\u5727\u7e2e\u3055\u308c\u305f\u30b9\u30ef\u30c3\u30d7\u9818\u57df\u3092RAM\u4e0a\u306b\u76f4\u63a5\u7528\u610f\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30d0\u30fc\u30b9\u30c8\u7684\u306a\u8ca0\u8377\u3084\u3001\u4f4e\u901f\u306aI\/O\u3088\u308a\u3082\u5727\u7e2e\u3055\u308c\u305fRAM\u3092\u5229\u7528\u3057\u305f\u3044\u975e\u5e38\u306b\u5c0f\u3055\u306aVM\u306b\u6700\u9069\u3067\u3059\u3002 \u91cd\u8981\uff1a\u79c1\u306f\u610f\u56f3\u7684\u306b\u3069\u3061\u3089\u304b\u306e\u30b3\u30f3\u30bb\u30d7\u30c8\u3092\u9078\u629e\u3057\u3001\u6700\u901f\u306e\u30d1\u30b9\u304c\u512a\u5148\u7684\u306b\u51e6\u7406\u3055\u308c\u308b\u3088\u3046\u512a\u5148\u9806\u4f4d\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u305d\u306e\u969b\u3001\u30b9\u30ef\u30d4\u30cd\u30b9\u306f\u4f9d\u7136\u3068\u3057\u3066\u5236\u5fa1\u624b\u6bb5\u3068\u306a\u308a\u307e\u3059\u3002Zswap\/ZRAM\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u3067\u3082\u3001\u4e0d\u8981\u306a\u30ea\u30af\u30ec\u30a4\u30e0\u306e\u6ce2\u306f\u907f\u3051\u305f\u3044\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002.<\/p>\n\n<h2>\u30da\u30fc\u30b8\u30ad\u30e3\u30c3\u30b7\u30e5\u3001vfs_cache_pressure\u3001\u304a\u3088\u3073\u30ad\u30e3\u30c3\u30b7\u30e5\u30d2\u30c3\u30c8<\/h2>\n\n<p>Swappiness\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u3084i\u30ce\u30fc\u30c9\u3092RAM\u306b\u4fdd\u6301\u3059\u308b\u30da\u30fc\u30b8\u30ad\u30e3\u30c3\u30b7\u30e5\u3068\u9023\u52d5\u3057\u3066\u3044\u307e\u3059\u3002vm.vfs_cache_pressure \u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u30ab\u30fc\u30cd\u30eb\u304c\u533f\u540d\u30da\u30fc\u30b8\u306b\u5bfe\u3057\u3066\u3053\u308c\u3089\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u3069\u306e\u7a0b\u5ea6\u7a4d\u6975\u7684\u306b\u89e3\u653e\u3059\u308b\u304b\u3092\u5236\u5fa1\u3057\u307e\u3059\u3002\u5024\u304c\u9ad8\u3059\u304e\u308b\u3068\u3001\u30e1\u30bf\u30c7\u30fc\u30bf\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u6025\u901f\u306b\u6d88\u5931\u3057\u3066\u3057\u307e\u3044\u3001Web\u30b5\u30fc\u30d0\u30fc\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u4f4e\u4e0b\u3057\u307e\u3059\u3002 \u79c1\u306f\u901a\u5e38\u300150\uff5e100\u304b\u3089\u59cb\u3081\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u30d2\u30c3\u30c8\u7387\u3092\u6e2c\u5b9a\u3057\u3001\u9759\u7684\u30a2\u30bb\u30c3\u30c8\u3084API\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u30ec\u30a4\u30c6\u30f3\u30b7\u304c\u3069\u306e\u3088\u3046\u306b\u5909\u5316\u3059\u308b\u304b\u3092\u89b3\u5bdf\u3057\u307e\u3059\u3002 \u76ee\u6a19\u306f\u3001\u983b\u7e41\u306b\u5229\u7528\u3055\u308c\u308b\u30b3\u30f3\u30c6\u30f3\u30c4\u3092RAM\u306b\u4fdd\u6301\u3057\u3064\u3064\u3001\u5229\u7528\u983b\u5ea6\u306e\u4f4e\u3044\u30da\u30fc\u30b8\u304c\u30e1\u30e2\u30ea\u3092\u5360\u6709\u3057\u3059\u304e\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u30d2\u30c3\u30c8\u7387\u304c\u826f\u597d\u3067I\/O\u304c\u4f4e\u3044\u72b6\u614b\u304c\u7d9a\u3051\u3070\u3001\u30d0\u30e9\u30f3\u30b9\u306f\u53d6\u308c\u3066\u3044\u307e\u3059\u3002\u305d\u3046\u3067\u306a\u3044\u5834\u5408\u306f\u3001`\/etc\/mnt`\u5185\u306e`swappiness`\u3068`vfs_cache_pressure`\u3092\u8abf\u6574\u3057\u307e\u3059\u3002 <strong>\u30bf\u30f3\u30c7\u30e0<\/strong>.<\/p>\n\n<h2>\u30c0\u30fc\u30c6\u30a3\u30fb\u30e9\u30a4\u30c8\u30d0\u30c3\u30af\u3068I\/O\u306e\u30d4\u30fc\u30af\u3092\u56de\u907f\u3059\u308b<\/h2>\n\n<p>\u66f8\u304d\u8fbc\u307f\u30d1\u30b9\u306f\u3001\u30b9\u30ef\u30c3\u30d7\u3068\u540c\u69d8\u306b\u30ec\u30a4\u30c6\u30f3\u30b7\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u307e\u3059\u3002vm.dirty_background_ratio\/bytes \u304a\u3088\u3073 vm.dirty_ratio\/bytes \u3092\u4f7f\u7528\u3057\u3066\u3001\u30ab\u30fc\u30cd\u30eb\u304c\u66f8\u304d\u51fa\u3057\u3092\u884c\u3046\u524d\u306b\u3001\u3069\u306e\u7a0b\u5ea6\u306e\u300c\u30c0\u30fc\u30c6\u30a3\u300d\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u751f\u6210\u3055\u308c\u308b\u304b\u3092\u6c7a\u5b9a\u3057\u307e\u3059\u3002 \u7279\u306b\u5927\u5bb9\u91cfRAM\u69cb\u6210\u3067\u306f\u3001\u30d1\u30fc\u30bb\u30f3\u30c6\u30fc\u30b8\u6307\u5b9a\u3067\u306f\u5de8\u5927\u306a\u30e9\u30a4\u30c8\u30d0\u30c3\u30af\u306e\u6ce2\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3001\u4e0a\u9650\u3092\u8a2d\u5b9a\u3059\u308b\u969b\u306b\u306f\u30d1\u30fc\u30bb\u30f3\u30c6\u30fc\u30b8\u3067\u306f\u306a\u304f*_bytes\u5358\u4f4d\u3092\u512a\u5148\u3057\u3066\u3044\u307e\u3059\u3002 \u76ee\u6a19\u306f\u3001\u30b9\u30ef\u30c3\u30d7I\/O\u30ed\u30c3\u30af\u3092\u5f15\u304d\u8d77\u3053\u3059\u6563\u767a\u7684\u306a\u66f8\u304d\u8fbc\u307f\u306e\u6025\u5897\u3067\u306f\u306a\u304f\u3001\u7d99\u7d9a\u7684\u304b\u3064\u4e88\u6e2c\u53ef\u80fd\u306a\u66f8\u304d\u8fbc\u307f\u3092\u5b9f\u73fe\u3059\u308b\u3053\u3068\u3067\u3059\u3002iostat\u3068\u30e9\u30a4\u30c8\u30d0\u30c3\u30af\u30ad\u30e5\u30fc\u3092\u76e3\u8996\u3057\u3001SSD\/NVMe\u304c\u5e38\u306b\u4e00\u5b9a\u306e\u8ca0\u8377\u3067\u7a3c\u50cd\u3059\u308b\u3082\u306e\u306e\u3001 <strong>\u8f62\u304f<\/strong> \u306b\u306a\u308b\u3002<\/p>\n\n<h2>NUMA\u3001\u30be\u30fc\u30f3\u30ea\u30af\u30ec\u30a4\u30e0\u3001\u304a\u3088\u3073\u5927\u898f\u6a21\u306a\u30db\u30b9\u30c8<\/h2>\n\n<p>NUMA \u30b7\u30b9\u30c6\u30e0\u3067\u306f\u3001\u30e1\u30e2\u30ea\u306e\u5c40\u6240\u6027\u304c\u91cd\u8981\u306a\u5f79\u5272\u3092\u679c\u305f\u3057\u307e\u3059\u3002vm.zone_reclaim_mode \u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u5834\u5408\u3001\u30ab\u30fc\u30cd\u30eb\u306f\u30ed\u30fc\u30ab\u30eb NUMA \u30ce\u30fc\u30c9\u4e0a\u306e\u30e1\u30e2\u30ea\u3092\u3088\u308a\u7a4d\u6975\u7684\u306b\u56de\u53ce\u3057\u3088\u3046\u3068\u3059\u308b\u305f\u3081\u3001\u610f\u56f3\u3057\u306a\u3044\u30ea\u30af\u30ec\u30a4\u30e0\u306e\u30d4\u30fc\u30af\u3092\u5f15\u304d\u8d77\u3053\u3059\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002 \u591a\u304f\u306e\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u3067\u306f\u3001\u3088\u308a\u5b89\u5b9a\u3057\u305f\u52d5\u4f5c\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306b\u3001\u30be\u30fc\u30f3\u30ea\u30af\u30ec\u30a4\u30e0\u3092\u7121\u52b9\u306b\u3057\u3001\u30e1\u30e2\u30ea\u914d\u7f6e\u3092\u30b9\u30b1\u30b8\u30e5\u30fc\u30e9\u306b\u59d4\u306d\u3066\u3044\u307e\u3059\u3002\u3055\u3089\u306b\u3001Transparent Huge Pages\uff08THP\uff09\u306b\u3064\u3044\u3066\u3082\u691c\u8a0e\u3057\u3066\u3044\u307e\u3059\uff1a \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f\u3001\u8a08\u753b\u5916\u306e\u30c7\u30d5\u30e9\u30b0\u3084THP\u306e\u5272\u308a\u5f53\u3066\u304c\u30ec\u30a4\u30c6\u30f3\u30b7\u306e\u6025\u4e0a\u6607\u3092\u5f15\u304d\u8d77\u3053\u3059\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3001\u591a\u304f\u306e\u5834\u5408\u3001THP=never\u307e\u305f\u306fmadvise\u306e\u8a2d\u5b9a\u306e\u65b9\u304c\u826f\u597d\u306b\u52d5\u4f5c\u3057\u307e\u3059\u3002\u30b9\u30ef\u30c3\u30d7\u30cb\u30b9\u306f\u6700\u9069\u3067\u3042\u3063\u3066\u3082\u3001THP\u3084NUMA\u30dd\u30ea\u30b7\u30fc\u304c\u5e72\u6e09\u3059\u308b\u3068\u3001 <strong>\u30ab\u30af\u3064\u304d<\/strong>.<\/p>\n\n<h2>\u30b3\u30f3\u30c6\u30ca\u304a\u3088\u3073Cgroups\u306e\u5358\u4f4d<\/h2>\n\n<p>Cgroups v2 \u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30db\u30b9\u30c8\u306e\u30b9\u30ef\u30c3\u30d7\u30cb\u30b9\u4ee5\u5916\u306b\u3082\u3001\u3055\u3089\u306b\u3044\u304f\u3064\u304b\u306e\u8abf\u6574\u624b\u6bb5\u304c\u5229\u7528\u3067\u304d\u307e\u3059\u3002memory.high \u306f\u7a4f\u3084\u304b\u306a\u30ea\u30af\u30ec\u30a4\u30e0\u3092\u4fc3\u3057\u3001memory.max \u306f\u53b3\u683c\u306a\u4e0a\u9650\u3092\u8a2d\u5b9a\u3057\u3001memory.swap.max \u306f\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u3054\u3068\u306e\u30b9\u30ef\u30c3\u30d7\u91cf\u3092\u5236\u9650\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u500b\u3005\u306e\u30b3\u30f3\u30c6\u30ca\u304c\u30b9\u30ef\u30c3\u30d7\u306b\u3088\u3063\u3066\u30db\u30b9\u30c8\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u4f4e\u4e0b\u3055\u305b\u308b\u306e\u3092\u9632\u304e\u307e\u3059\u3002 \u30ce\u30fc\u30c9\u3067\u306f\u30b9\u30ef\u30c3\u30d7\u30cb\u30b9\u306e\u5024\u3092\u4f4e\u304f\u8a2d\u5b9a\u3057\u3001\u91cd\u8981\u306a\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u306b\u306f memory.low \u306b\u3088\u3063\u3066\u512a\u5148\u5ea6\u3092\u9ad8\u304f\u8a2d\u5b9a\u3057\u3001\u305d\u306e\u30db\u30c3\u30c8\u30bb\u30c3\u30c8\u304c\u3088\u308a\u9577\u304f RAM \u306b\u6b8b\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002Kubernetes \u3067\u306f\u3001\u30ce\u30fc\u30c9\u304c\u30b9\u30ef\u30c3\u30d7\u3092\u3069\u306e\u3088\u3046\u306b\u6271\u3063\u3066\u3044\u308b\u304b\u306b\u6ce8\u610f\u3092\u6255\u3044\u3001\u5909\u66f4\u306f\u307e\u305a\u975e\u672c\u756a\u74b0\u5883\u3067\u30c6\u30b9\u30c8\u3057\u3066\u3044\u307e\u3059\u3002 \u91cd\u8981\u306a\u306e\u306f\u5168\u4f53\u50cf\u3067\u3059\u3002\u30db\u30b9\u30c8\u30d1\u30e9\u30e1\u30fc\u30bf\u3001Cgroup\u306e\u30ea\u30df\u30c3\u30c8\u3001\u30aa\u30fc\u30b1\u30b9\u30c8\u30ec\u30fc\u30bf\u30fc\u304c\u4e92\u3044\u306b\u6574\u5408\u3057\u3066\u3044\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\u305d\u3046\u3067\u306a\u3051\u308c\u3070\u3001\u8ca0\u8377\u306f\u5358\u306b\u4e00\u3064\u306e\u30ec\u30d9\u30eb\u304b\u3089\u5225\u306e\u30ec\u30d9\u30eb\u3078\u3068\u79fb\u884c\u3059\u308b\u3060\u3051\u3067\u3059\u3002 <strong>\u4ed6\u306e<\/strong>.<\/p>\n\n<h2>\u5c55\u958b\u3001\u81ea\u52d5\u5316\u3001\u304a\u3088\u3073\u518d\u767a<\/h2>\n\n<p>\u79c1\u306f\u3001Swappiness\u306e\u5909\u66f4\u3092\u3001\u4ed6\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6700\u9069\u5316\u3068\u540c\u69d8\u306b\u3001\u6bb5\u968e\u7684\u306b\u5c55\u958b\u3057\u3066\u3044\u307e\u3059\u3002\u307e\u305a\u3001\u307b\u307c\u540c\u4e00\u306e\u30ce\u30fc\u30c9\u304b\u3089\u306a\u308b\u5c0f\u898f\u6a21\u306a\u30b0\u30eb\u30fc\u30d7\uff08\u30ab\u30ca\u30ea\u30a2\uff09\u3067\u9069\u7528\u3057\u3001\u305d\u306e\u5f8c\u6bb5\u968e\u7684\u306b\u7bc4\u56f2\u3092\u5e83\u3052\u3066\u3044\u304d\u307e\u3059\u3002systemd-sysctl\u3084\u8a2d\u5b9a\u7ba1\u7406\u30c4\u30fc\u30eb\u306b\u3088\u308a\u3001\u3053\u308c\u3089\u306e\u5024\u3092\u518d\u73fe\u6027\u3092\u6301\u3063\u3066\u7d44\u307f\u8fbc\u3093\u3067\u3044\u307e\u3059\u3002 \u958b\u59cb\u5024\u3068\u76ee\u6a19\u5024\u3001\u5b9f\u65bd\u65e5\u6642\u3001\u5bfe\u8c61\u30db\u30b9\u30c8\u306a\u3069\u3092\u8a18\u9332\u3057\u3001 <strong>\u6307\u6a19<\/strong>. \u518d\u767a\u306b\u5099\u3048\u3066\u3001\u3042\u3089\u304b\u3058\u3081\u5bfe\u5fdc\u3059\u308b\u5909\u66f4\uff08\u4f8b\uff1asysctl vm.swappiness=60\uff09\u3092\u8a08\u753b\u3057\u3001\u4ee5\u524d\u306esysctl\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u304a\u304d\u307e\u3059\u3002 \u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6642\u9593\u5e2f\u306b\u306f\u3001\u5909\u5316\u3092\u6642\u9593\u5e2f\u3084\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u306e\u5909\u52d5\u3068\u6df7\u540c\u3057\u306a\u3044\u3088\u3046\u3001\u610f\u56f3\u7684\u306b\u5178\u578b\u7684\u306a\u8ca0\u8377\u30b7\u30ca\u30ea\u30aa\u3092\u6e2c\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u3046\u3057\u3066\u521d\u3081\u3066\u3001\u610f\u601d\u6c7a\u5b9a\u306e\u4fe1\u983c\u6027\u3092\u4fdd\u3061\u3001\u30c1\u30fc\u30e0\u5185\u3067 <strong>\u308f\u304b\u308a\u3084\u3059\u3044<\/strong>.<\/p>\n\n<h2>\u3088\u304f\u3042\u308b\u8aa4\u89e3\u3068\u30a2\u30f3\u30c1\u30d1\u30bf\u30fc\u30f3<\/h2>\n\n<ul>\n  <li><strong>\u201e\u300cSwappiness=0 \u306b\u8a2d\u5b9a\u3059\u308b\u3068\u30b9\u30ef\u30c3\u30d7\u304c\u7121\u52b9\u306b\u306a\u308a\u307e\u3059\u300d\u201c<\/strong>: \u3044\u3044\u3048\u3001\u30ab\u30fc\u30cd\u30eb\u306f\u5f15\u304d\u7d9a\u304d\u30b9\u30ef\u30c3\u30d7\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u305d\u306e\u4f7f\u7528\u306f\u6975\u3081\u3066\u63a7\u3048\u3081\u3067\u3059\u3002.<\/li>\n  <li><strong>\u201e\u300c\u30b9\u30ef\u30c3\u30d7\u3092\u5897\u3084\u305b\u3070\u5897\u3084\u3059\u307b\u3069\u3001\u3088\u308a\u5b89\u5168\u306b\u306a\u308b\u300d\u201c<\/strong>: \u30b9\u30ef\u30c3\u30d7\u304c\u591a\u3059\u304e\u308b\u3068\u3001\u51e6\u7406\u306b\u304b\u304b\u308b\u6642\u9593\u304c\u9577\u5f15\u304f\u3060\u3051\u3067\u306a\u304f\u3001RAM\u306e\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3092\u89e3\u6c7a\u3059\u308b\u3069\u3053\u308d\u304b\u3001\u304b\u3048\u3063\u3066\u305d\u308c\u3092\u96a0\u3057\u3066\u3057\u307e\u3046\u3053\u3068\u306b\u306a\u308b\u3002.<\/li>\n  <li><strong>\u201e\u300cNVMe\u306a\u3089\u30b9\u30ef\u30c3\u30d4\u30f3\u30b0\u306f\u554f\u984c\u306b\u306a\u3089\u306a\u3044\u300d\u201c<\/strong>: NVMe\u306f\u9ad8\u901f\u3067\u3059\u304c\u3001RAM\u306b\u6bd4\u3079\u308b\u3068\u6841\u9055\u3044\u306b\u9045\u3044\u3067\u3059\u3002\u30ec\u30a4\u30c6\u30f3\u30b7\u306f\u4f9d\u7136\u3068\u3057\u3066\u9855\u8457\u3067\u3059\u3002.<\/li>\n  <li><strong>\u201e\u300c\u3059\u3079\u3066\u306e\u30b5\u30fc\u30d0\u30fc\u306b\u5171\u901a\u306e\u5024\u300d\u201c<\/strong>: \u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u306b\u306f\u5927\u304d\u306a\u3070\u3089\u3064\u304d\u304c\u3042\u308a\u307e\u3059\u3002\u6e2c\u5b9a\u3092\u884c\u308f\u306a\u3051\u308c\u3070\u3001\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u306f\u904b\u4efb\u305b\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002.<\/li>\n  <li><strong>\u201e\u300cSwappiness\u306a\u3089\u3069\u3093\u306a\u9045\u5ef6\u3082\u89e3\u6c7a\u3059\u308b\u300d\u201c<\/strong>: \u554f\u984c\u306e\u539f\u56e0\u306f\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u30d2\u30c3\u30c8\u3001\u30e9\u30a4\u30c8\u30d0\u30c3\u30af\u3001THP\u3001\u30af\u30a8\u30ea\u30d7\u30e9\u30f3\u3001\u3042\u308b\u3044\u306f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30d1\u30b9\u306b\u3042\u308b\u3053\u3068\u304c\u3088\u304f\u3042\u308a\u307e\u3059\u3002.<\/li>\n<\/ul>\n\n<h2>\u30af\u30a4\u30c3\u30af\u30b9\u30bf\u30fc\u30c8\u306e\u307e\u3068\u3081<\/h2>\n\n<p>\u79c1\u306f\u901a\u5e38\u3001Web\u30b5\u30fc\u30d0\u30fc\u306evm.swappiness\u309210\uff5e20\u306b\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u5834\u5408\u306f0\uff5e10\u306b\u8a2d\u5b9a\u3057\u3001\u305d\u306e\u52b9\u679c\u3092\u30c6\u30b9\u30c8\u3057\u3066\u3001I\/O\u3001\u30ec\u30a4\u30c6\u30f3\u30b7\u3001\u304a\u3088\u3073 <strong>\u30b9\u30ef\u30c3\u30d7<\/strong>-\u306e\u5272\u5408\u3002\u6700\u7d42\u7684\u306a\u5024\u306fsysctl\u3092\u4f7f\u3063\u3066\/etc\/sysctl.d\/\u306b\u8a2d\u5b9a\u3057\u3001\u5909\u66f4\u5c65\u6b74\u3092\u660e\u78ba\u306b\u7ba1\u7406\u3057\u3066\u3044\u307e\u3059\u3002\u4e26\u884c\u3057\u3066\u3001\u9069\u5207\u306a\u30b5\u30a4\u30ba\u3001\u9ad8\u901f\u306a\u30e1\u30c7\u30a3\u30a2\u3001\u5408\u7406\u7684\u306a\u512a\u5148\u9806\u4f4d\u3068\u3044\u3063\u305f\u3001\u4e00\u8cab\u6027\u306e\u3042\u308b\u30b9\u30ef\u30c3\u30d7\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u78ba\u4fdd\u3057\u3066\u3044\u307e\u3059\u3002 \u30e1\u30e2\u30ea\u4f7f\u7528\u7387\u306b\u3064\u3044\u3066\u306f\u3001\u30da\u30fc\u30b8\u30ad\u30e3\u30c3\u30b7\u30e5\u3068\u305d\u306e\u6319\u52d5\u306b\u3082\u6ce8\u610f\u3092\u6255\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u6982\u8981\u306f\u3001\u305d\u306e\u7406\u89e3\u3092\u59cb\u3081\u308b\u4e0a\u3067\u826f\u3044\u624b\u5f15\u304d\u3068\u306a\u308a\u307e\u3059\u3002 <a href=\"https:\/\/webhosting.de\/ja\/%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%83%bb%e3%83%9a%e3%83%bc%e3%82%b8%e3%83%bb%e3%82%ad%e3%83%a3%e3%83%83%e3%82%b7%e3%83%a5%e9%80%80%e9%81%bflinux%e3%83%a1%e3%83%a2%e3%83%aa%e5%8d%b0%e5%88%b7\/\">\u30da\u30fc\u30b8\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u8ffd\u3044\u51fa\u3057<\/a>, \u3001\u539f\u56e0\u5206\u6790\u3092\u624b\u4f1d\u3063\u3066\u304f\u308c\u308b\u4eba\u3067\u3001 <strong>\u30b3\u30f3\u30c6\u30af\u30b9\u30c8<\/strong> \u3002\u3053\u306e\u65b9\u6cd5\u306b\u3088\u308a\u3001\u5b89\u5b9a\u3057\u305f\u5fdc\u7b54\u6642\u9593\u3092\u78ba\u4fdd\u3057\u3001\u30b9\u30ef\u30c3\u30d4\u30f3\u30b0\u306e\u6025\u5897\u3092\u9632\u304e\u3001\u65e2\u5b58\u306eRAM\u3092\u52b9\u679c\u7684\u306b\u6d3b\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002.<\/p>","protected":false},"excerpt":{"rendered":"<p>Linux\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u30b5\u30fc\u30d0\u30fc\u306b\u5408\u308f\u305b\u3066vm.swappiness\u3092\u52b9\u679c\u7684\u306b\u6700\u9069\u5316\u3057\u3001\u9069\u5207\u306aLinux\u30b9\u30ef\u30c3\u30d7\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u306b\u3088\u3063\u3066\u30b5\u30fc\u30d0\u30fc\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5927\u5e45\u306b\u5411\u4e0a\u3055\u305b\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002.<\/p>","protected":false},"author":1,"featured_media":20859,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[676],"tags":[],"class_list":["post-20866","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server_vm"],"acf":[],"_wp_attached_file":null,"_wp_attachment_metadata":null,"litespeed-optimize-size":null,"litespeed-optimize-set":null,"_elementor_source_image_hash":null,"_wp_attachment_image_alt":null,"stockpack_author_name":null,"stockpack_author_url":null,"stockpack_provider":null,"stockpack_image_url":null,"stockpack_license":null,"stockpack_license_url":null,"stockpack_modification":null,"color":null,"original_id":null,"original_url":null,"original_link":null,"unsplash_location":null,"unsplash_sponsor":null,"unsplash_exif":null,"unsplash_attachment_metadata":null,"_elementor_is_screenshot":null,"surfer_file_name":null,"surfer_file_original_url":null,"envato_tk_source_kit":null,"envato_tk_source_index":null,"envato_tk_manifest":null,"envato_tk_folder_name":null,"envato_tk_builder":null,"envato_elements_download_event":null,"_menu_item_type":null,"_menu_item_menu_item_parent":null,"_menu_item_object_id":null,"_menu_item_object":null,"_menu_item_target":null,"_menu_item_classes":null,"_menu_item_xfn":null,"_menu_item_url":null,"_trp_menu_languages":null,"rank_math_primary_category":null,"rank_math_title":null,"inline_featured_image":null,"_yoast_wpseo_primary_category":null,"rank_math_schema_blogposting":null,"rank_math_schema_videoobject":null,"_oembed_049c719bc4a9f89deaead66a7da9fddc":null,"_oembed_time_049c719bc4a9f89deaead66a7da9fddc":null,"_yoast_wpseo_focuskw":null,"_yoast_wpseo_linkdex":null,"_oembed_27e3473bf8bec795fbeb3a9d38489348":null,"_oembed_c3b0f6959478faf92a1f343d8f96b19e":null,"_trp_translated_slug_en_us":null,"_wp_desired_post_slug":null,"_yoast_wpseo_title":null,"tldname":null,"tldpreis":null,"tldrubrik":null,"tldpolicylink":null,"tldsize":null,"tldregistrierungsdauer":null,"tldtransfer":null,"tldwhoisprivacy":null,"tldregistrarchange":null,"tldregistrantchange":null,"tldwhoisupdate":null,"tldnameserverupdate":null,"tlddeletesofort":null,"tlddeleteexpire":null,"tldumlaute":null,"tldrestore":null,"tldsubcategory":null,"tldbildname":null,"tldbildurl":null,"tldclean":null,"tldcategory":null,"tldpolicy":null,"tldbesonderheiten":null,"tld_bedeutung":null,"_oembed_d167040d816d8f94c072940c8009f5f8":null,"_oembed_b0a0fa59ef14f8870da2c63f2027d064":null,"_oembed_4792fa4dfb2a8f09ab950a73b7f313ba":null,"_oembed_33ceb1fe54a8ab775d9410abf699878d":null,"_oembed_fd7014d14d919b45ec004937c0db9335":null,"_oembed_21a029d076783ec3e8042698c351bd7e":null,"_oembed_be5ea8a0c7b18e658f08cc571a909452":null,"_oembed_a9ca7a298b19f9b48ec5914e010294d2":null,"_oembed_f8db6b27d08a2bb1f920e7647808899a":null,"_oembed_168ebde5096e77d8a89326519af9e022":null,"_oembed_cdb76f1b345b42743edfe25481b6f98f":null,"_oembed_87b0613611ae54e86e8864265404b0a1":null,"_oembed_27aa0e5cf3f1bb4bc416a4641a5ac273":null,"_oembed_time_27aa0e5cf3f1bb4bc416a4641a5ac273":null,"_tldname":null,"_tldclean":null,"_tldpreis":null,"_tldcategory":null,"_tldsubcategory":null,"_tldpolicy":null,"_tldpolicylink":null,"_tldsize":null,"_tldregistrierungsdauer":null,"_tldtransfer":null,"_tldwhoisprivacy":null,"_tldregistrarchange":null,"_tldregistrantchange":null,"_tldwhoisupdate":null,"_tldnameserverupdate":null,"_tlddeletesofort":null,"_tlddeleteexpire":null,"_tldumlaute":null,"_tldrestore":null,"_tldbildname":null,"_tldbildurl":null,"_tld_bedeutung":null,"_tldbesonderheiten":null,"_oembed_ad96e4112edb9f8ffa35731d4098bc6b":null,"_oembed_8357e2b8a2575c74ed5978f262a10126":null,"_oembed_3d5fea5103dd0d22ec5d6a33eff7f863":null,"_eael_widget_elements":null,"_oembed_0d8a206f09633e3d62b95a15a4dd0487":null,"_oembed_time_0d8a206f09633e3d62b95a15a4dd0487":null,"_aioseo_description":null,"_eb_attr":null,"_eb_data_table":null,"_oembed_819a879e7da16dd629cfd15a97334c8a":null,"_oembed_time_819a879e7da16dd629cfd15a97334c8a":null,"_acf_changed":null,"_wpcode_auto_insert":null,"_edit_last":null,"_edit_lock":null,"_oembed_e7b913c6c84084ed9702cb4feb012ddd":null,"_oembed_bfde9e10f59a17b85fc8917fa7edf782":null,"_oembed_time_bfde9e10f59a17b85fc8917fa7edf782":null,"_oembed_03514b67990db061d7c4672de26dc514":null,"_oembed_time_03514b67990db061d7c4672de26dc514":null,"rank_math_news_sitemap_robots":null,"rank_math_robots":null,"_eael_post_view_count":"151","_trp_automatically_translated_slug_ru_ru":null,"_trp_automatically_translated_slug_et":null,"_trp_automatically_translated_slug_lv":null,"_trp_automatically_translated_slug_fr_fr":null,"_trp_automatically_translated_slug_en_us":null,"_wp_old_slug":null,"_trp_automatically_translated_slug_da_dk":null,"_trp_automatically_translated_slug_pl_pl":null,"_trp_automatically_translated_slug_es_es":null,"_trp_automatically_translated_slug_hu_hu":null,"_trp_automatically_translated_slug_fi":null,"_trp_automatically_translated_slug_ja":null,"_trp_automatically_translated_slug_lt_lt":null,"_elementor_edit_mode":null,"_elementor_template_type":null,"_elementor_version":null,"_elementor_pro_version":null,"_wp_page_template":null,"_elementor_page_settings":null,"_elementor_data":null,"_elementor_css":null,"_elementor_conditions":null,"_happyaddons_elements_cache":null,"_oembed_75446120c39305f0da0ccd147f6de9cb":null,"_oembed_time_75446120c39305f0da0ccd147f6de9cb":null,"_oembed_3efb2c3e76a18143e7207993a2a6939a":null,"_oembed_time_3efb2c3e76a18143e7207993a2a6939a":null,"_oembed_59808117857ddf57e478a31d79f76e4d":null,"_oembed_time_59808117857ddf57e478a31d79f76e4d":null,"_oembed_965c5b49aa8d22ce37dfb3bde0268600":null,"_oembed_time_965c5b49aa8d22ce37dfb3bde0268600":null,"_oembed_81002f7ee3604f645db4ebcfd1912acf":null,"_oembed_time_81002f7ee3604f645db4ebcfd1912acf":null,"_elementor_screenshot":null,"_oembed_7ea3429961cf98fa85da9747683af827":null,"_oembed_time_7ea3429961cf98fa85da9747683af827":null,"_elementor_controls_usage":null,"_elementor_page_assets":[],"_elementor_screenshot_failed":null,"theplus_transient_widgets":null,"_eael_custom_js":null,"_wp_old_date":null,"_trp_automatically_translated_slug_it_it":null,"_trp_automatically_translated_slug_pt_pt":null,"_trp_automatically_translated_slug_zh_cn":null,"_trp_automatically_translated_slug_nl_nl":null,"_trp_automatically_translated_slug_pt_br":null,"_trp_automatically_translated_slug_sv_se":null,"rank_math_analytic_object_id":null,"rank_math_internal_links_processed":"1","_trp_automatically_translated_slug_ro_ro":null,"_trp_automatically_translated_slug_sk_sk":null,"_trp_automatically_translated_slug_bg_bg":null,"_trp_automatically_translated_slug_sl_si":null,"litespeed_vpi_list":null,"litespeed_vpi_list_mobile":null,"rank_math_seo_score":null,"rank_math_contentai_score":null,"ilj_limitincominglinks":null,"ilj_maxincominglinks":null,"ilj_limitoutgoinglinks":null,"ilj_maxoutgoinglinks":null,"ilj_limitlinksperparagraph":null,"ilj_linksperparagraph":null,"ilj_blacklistdefinition":null,"ilj_linkdefinition":null,"_eb_reusable_block_ids":null,"rank_math_focus_keyword":"vm.swappiness","rank_math_og_content_image":null,"_yoast_wpseo_metadesc":null,"_yoast_wpseo_content_score":null,"_yoast_wpseo_focuskeywords":null,"_yoast_wpseo_keywordsynonyms":null,"_yoast_wpseo_estimated-reading-time-minutes":null,"rank_math_description":null,"surfer_last_post_update":null,"surfer_last_post_update_direction":null,"surfer_keywords":null,"surfer_location":null,"surfer_draft_id":null,"surfer_permalink_hash":null,"surfer_scrape_ready":null,"_thumbnail_id":"20859","footnotes":null,"_links":{"self":[{"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/posts\/20866","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/comments?post=20866"}],"version-history":[{"count":0,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/posts\/20866\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/media\/20859"}],"wp:attachment":[{"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/media?parent=20866"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/categories?post=20866"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/tags?post=20866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}