{"id":21223,"date":"2026-09-01T08:32:24","date_gmt":"2026-09-01T06:32:24","guid":{"rendered":"https:\/\/webhosting.de\/ksm-linux-kernel-samepage-merging-virtualisierung-effizient-speichercloud\/"},"modified":"2026-09-01T08:32:24","modified_gmt":"2026-09-01T06:32:24","slug":"ksm-linux%e3%82%ab%e3%83%bc%e3%83%8d%e3%83%ab-%e5%90%8c%e4%b8%80%e3%83%9a%e3%83%bc%e3%82%b8%e3%83%9e%e3%83%bc%e3%82%b8-%e4%bb%ae%e6%83%b3%e5%8c%96-%e5%8a%b9%e7%8e%87%e7%9a%84-%e3%83%a1%e3%83%a2","status":"publish","type":"post","link":"https:\/\/webhosting.de\/ja\/ksm-linux-kernel-samepage-merging-virtualisierung-effizient-speichercloud\/","title":{"rendered":"\u30ab\u30fc\u30cd\u30eb\u306eSamepage Merging\uff1a\u4eee\u60f3\u5316\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5411\u4e0a\u3055\u305b\u308bKSM"},"content":{"rendered":"<p><strong>KSM \u4eee\u60f3\u5316<\/strong> Linux\u30ab\u30fc\u30cd\u30eb\u304cVM\u9593\u3067\u540c\u4e00\u306e\u30e1\u30e2\u30ea\u30da\u30fc\u30b8\u3092\u7d71\u5408\u3057\u3001\u30b3\u30d4\u30fc\u30aa\u30f3\u30e9\u30a4\u30c8\uff08Copy-on-Write\uff09\u306b\u3088\u3063\u3066\u52b9\u7387\u7684\u306b\u5171\u6709\u3059\u308b\u3053\u3068\u3067\u3001\u7269\u7406RAM\u306e\u8981\u4ef6\u3092\u524a\u6e1b\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001VM\u5bc6\u5ea6\u3092\u9ad8\u3081\u3001RAM\u306e\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3092\u7de9\u548c\u3057\u3001 <strong>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9<\/strong> \u30d0\u30e9\u30f3\u30b9\u304c\u53d6\u308c\u3066\u3044\u308b<\/p>\n\n<h2>\u4e2d\u5fc3\u70b9<\/h2>\n<p>\u4ee5\u4e0b\u306e\u8981\u70b9\u306f\u3001KSM\u3092\u7d20\u65e9\u304f\u7406\u89e3\u3057\u3001\u76ee\u7684\u610f\u8b58\u3092\u6301\u3063\u3066\u6d3b\u7528\u3059\u308b\u4e0a\u3067\u5f79\u7acb\u3061\u307e\u3059\uff1a<\/p>\n<ul>\n  <li><strong>\u91cd\u8907\u6392\u9664<\/strong> \u540c\u4e00\u306e\u30e1\u30e2\u30ea\u30da\u30fc\u30b8\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001RAM\u306e\u4f7f\u7528\u91cf\u3092\u5927\u5e45\u306b\u524a\u6e1b\u3067\u304d\u307e\u3059\u3002.<\/li>\n  <li><strong>\u30b3\u30d4\u30fc\u30fb\u30aa\u30f3\u30fb\u30e9\u30a4\u30c8<\/strong> \u30da\u30fc\u30b8\u3092\u307e\u3068\u3081\u3066\u8aad\u307f\u53d6\u308a\u53ef\u80fd\u306a\u72b6\u614b\u306b\u4fdd\u3061\u3001\u5909\u66f4\u304c\u3042\u3063\u305f\u5834\u5408\u306b\u306e\u307f\u305d\u308c\u3089\u3092\u5206\u96e2\u3057\u307e\u3059\u3002.<\/li>\n  <li><strong>\u5fae\u8abf\u6574<\/strong> ksmd\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u3088\u3063\u3066\u3001CPU\u8ca0\u8377\u3068\u30b3\u30b9\u30c8\u524a\u6e1b\u306e\u30d0\u30e9\u30f3\u30b9\u304c\u53d6\u3089\u308c\u3066\u3044\u307e\u3059\u3002.<\/li>\n  <li><strong>NUMA\u30ed\u30b1\u30fc\u30b7\u30e7\u30f3<\/strong> \u30de\u30eb\u30c1\u30bd\u30b1\u30c3\u30c8\u30db\u30b9\u30c8\u306b\u304a\u3051\u308b\u4e0d\u8981\u306a\u30ec\u30a4\u30c6\u30f3\u30b7\u3092\u9632\u6b62\u3057\u307e\u3059\u3002.<\/li>\n  <li><strong>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3<\/strong> \u30de\u30eb\u30c1\u30c6\u30ca\u30f3\u30c8\u74b0\u5883\u3067\u306f\u3001\u9078\u629e\u7684\u306a\u5171\u6709\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\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\/09\/rechenzentrum-ksm-7425.png\" alt=\"\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>KSM\u3068\u306f\uff1f\u3000\u57fa\u790e\u77e5\u8b58\u3068\u6d41\u308c<\/h2>\n\n<p>\u3068\u4e00\u7dd2\u306b <strong>\u30ab\u30fc\u30cd\u30eb\u306e\u540c\u4e00\u30da\u30fc\u30b8\u30de\u30fc\u30b8<\/strong> \u30ab\u30fc\u30cd\u30eb\u30b9\u30ec\u30c3\u30c9 ksmd \u306f\u3001\u300cmergeable\u300d\u3068\u30de\u30fc\u30af\u3055\u308c\u305f\u533f\u540d\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30da\u30fc\u30b8\u3092\u5b9a\u671f\u7684\u306b\u30b9\u30ad\u30e3\u30f3\u3057\u3001\u30d3\u30c3\u30c8\u5358\u4f4d\u3067\u540c\u4e00\u306e\u5185\u5bb9\u3092\u7d71\u5408\u3057\u307e\u3059\u3002\u591a\u304f\u306e VM \u304c\u3001\u540c\u4e00\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u30b3\u30fc\u30c9\u3001\u307e\u305f\u306f OS \u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u30e1\u30e2\u30ea\u306b\u4fdd\u6301\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u591a\u3044\u305f\u3081\u3001\u79c1\u306f\u3053\u306e\u4ed5\u7d44\u307f\u306e\u6069\u6075\u3092\u53d7\u3051\u3066\u3044\u307e\u3059\u3002KSM \u306f\u3001\u7d71\u5408\u3055\u308c\u305f\u30da\u30fc\u30b8\u3092 <strong>\u30b3\u30d4\u30fc\u30fb\u30aa\u30f3\u30fb\u30e9\u30a4\u30c8<\/strong>, \u3002\u3053\u308c\u306b\u3088\u308a\u3001\u8ab0\u304b\u304c\u66f8\u304d\u8fbc\u307f\u3092\u884c\u3046\u307e\u3067\u306f\u3001\u3059\u3079\u3066\u306e\u30b2\u30b9\u30c8\u304c\u540c\u3058\u7269\u7406\u30da\u30fc\u30b8\u3092\u8aad\u307f\u53d6\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u66f8\u304d\u8fbc\u307f\u30a2\u30af\u30bb\u30b9\u304c\u884c\u308f\u308c\u305f\u6642\u70b9\u3067\u521d\u3081\u3066\u3001\u30ab\u30fc\u30cd\u30eb\u306f\u305d\u306e\u30d7\u30ed\u30bb\u30b9\u7528\u306b\u72ec\u81ea\u306e\u30da\u30fc\u30b8\u3092\u751f\u6210\u3057\u3001\u5143\u306e\u30da\u30fc\u30b8\u306f\u5f15\u304d\u7d9a\u304d\u5171\u6709\u3055\u308c\u305f\u307e\u307e\u3068\u306a\u308a\u307e\u3059\u3002 \u91cd\u8981\uff1aKSM\u306f\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3084\u30da\u30fc\u30b8\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u30da\u30fc\u30b8\u3092\u91cd\u8907\u6392\u9664\u305b\u305a\u3001\u30de\u30fc\u30b8\u306e\u305f\u3081\u306b\u30e1\u30e2\u30ea\u3092\u660e\u793a\u7684\u306b\u89e3\u653e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002.<\/p>\n\n<h2>\u4eee\u60f3\u5316\u74b0\u5883\u3067\u306e\u6d3b\u7528<\/h2>\n\n<p>\u985e\u4f3c\u3057\u305fVM\u304c\u591a\u6570\u5b58\u5728\u3059\u308b\u30db\u30b9\u30c8\u3067\u306f\u3001 <strong>KSM<\/strong> \u5197\u9577\u306a\u30da\u30fc\u30b8\u304c\u983b\u7e41\u306b\u767a\u751f\u3059\u308b\u305f\u3081\u3001\u6700\u5927\u306e\u52b9\u679c\u304c\u5f97\u3089\u308c\u307e\u3059\u3002KVM\u3084\u30af\u30e9\u30a6\u30c9\u74b0\u5883\u3067\u306f\u3001\u30de\u30fc\u30b8\u51e6\u7406\u306b\u3088\u308a\u30b2\u30b9\u30c81\u53f0\u3042\u305f\u308a\u306e\u5b9f\u8cea\u7684\u306aRAM\u8ca0\u8377\u304c\u5927\u5e45\u306b\u8efd\u6e1b\u3055\u308c\u3001\u305d\u306e\u7d50\u679c\u3001\u30b5\u30fc\u30d0\u30fc\u3042\u305f\u308a\u306eVM\u5bc6\u5ea6\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002 \u5b9f\u904b\u7528\u306b\u304a\u3051\u308b\u4e8b\u4f8b\u5831\u544a\u306b\u3088\u308b\u3068\u3001\u9069\u5207\u306a\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3092\u884c\u3048\u3070\u3001\u5fdc\u7b54\u6642\u9593\u306b\u76ee\u7acb\u3063\u305f\u4f4e\u4e0b\u3092\u62db\u304f\u3053\u3068\u306a\u304f\u3001\u6700\u5927\u3067300 %\u3082\u306e\u30b2\u30b9\u30c8\u30b7\u30b9\u30c6\u30e0\u3092\u8ffd\u52a0\u3067\u304d\u308b\u3068\u306e\u3053\u3068\u3067\u3059\u3002KSM\u3092 <a href=\"https:\/\/webhosting.de\/ja\/%e3%83%a1%e3%83%a2%e3%83%aa%e3%83%bb%e3%82%aa%e3%83%bc%e3%83%90%e3%83%bc%e3%82%b3%e3%83%9f%e3%83%83%e3%83%88%e3%83%a1%e3%83%b3%e3%83%88-%e4%bb%ae%e6%83%b3%e5%8c%96-%e3%83%a9%e3%83%a0%e3%83%bb%e3%82%aa\/\">\u30e1\u30e2\u30ea\u306e\u30aa\u30fc\u30d0\u30fc\u30b3\u30df\u30c3\u30c8\u30e1\u30f3\u30c8<\/a>, \u3053\u308c\u306b\u3088\u308a\u30db\u30b9\u30c8\u306e\u7a3c\u50cd\u7387\u3092\u9ad8\u3081\u3001\u65e2\u5b58\u306e\u30e1\u30e2\u30ea\u3092\u3088\u308a\u52b9\u7387\u7684\u306b\u6d3b\u7528\u3067\u304d\u307e\u3059\u3002\u540c\u4e00\u306e\u30da\u30fc\u30b8\u3092\u5171\u6709\u3059\u308b\u3053\u3068\u3067\u3001\u30b9\u30ef\u30c3\u30d7\u306e\u6025\u5897\u30ea\u30b9\u30af\u3092\u4f4e\u6e1b\u3057\u3001\u30b9\u30e0\u30fc\u30ba\u306a <strong>\u51fa\u529b\u7279\u6027\u66f2\u7dda<\/strong> \u591a\u304f\u306e\u6bb5\u968e\u3092\u7d4c\u3066\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\/09\/virtualisierungksm4523.png\" alt=\"\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>Linux\u304a\u3088\u3073KVM\u3067\u306e\u8a2d\u5b9a<\/h2>\n\n<p>\u8d77\u52d5\u3055\u305b\u308b <strong>KSM<\/strong> \u30ab\u30fc\u30cd\u30eb\u306e CONFIG_KSM \u3092\u901a\u3058\u3066\u3001\/sys\/kernel\/mm\/ksm\/ \u914d\u4e0b\u306e sysfs \u7d4c\u7531\u3067\u52d5\u4f5c\u3092\u5236\u5fa1\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u3053\u3067\u30b9\u30ad\u30e3\u30f3\u3092\u958b\u59cb\uff08run\uff09\u3057\u3001\u5f37\u5ea6\uff08pages_to_scan\u3001sleep_millisecs\uff09\u3092\u8a2d\u5b9a\u3057\u3066\u3001\u30da\u30fc\u30b8\u7372\u5f97\u91cf\u3092 (pages_sharing)\u3092\u89b3\u5bdf\u3057\u307e\u3059\u3002\u30a8\u30f3\u30bf\u30fc\u30d7\u30e9\u30a4\u30ba\u5411\u3051\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u3001ksm\u3084ksmtuned\u3068\u3044\u3063\u305f\u30b5\u30fc\u30d3\u30b9\u3092\u5229\u7528\u3057\u3001\u7a7a\u304dRAM\u306e\u95be\u5024\u306b\u57fa\u3065\u3044\u3066\u81ea\u52d5\u7684\u306b\u30b9\u30b1\u30fc\u30eb\u30a2\u30c3\u30d7\u307e\u305f\u306f\u30b9\u30b1\u30fc\u30eb\u30c0\u30a6\u30f3\u3092\u884c\u3044\u307e\u3059\u3002 \u304d\u3081\u7d30\u304b\u306a\u5236\u5fa1\u3092\u884c\u3046\u305f\u3081\u306b\u3001madvise(MADV_MERGEABLE) \u3084 prctl(PR_SET_MEMORY_MERGE) \u3092\u4f7f\u3063\u3066\u3001\u30e1\u30e2\u30ea\u9818\u57df\u3092\u610f\u56f3\u7684\u306b\u300c\u7d71\u5408\u53ef\u80fd\u300d\u3068\u3057\u3066\u30de\u30fc\u30af\u3057\u307e\u3059\u3002\u52d5\u7684\u306a\u74b0\u5883\u3067\u306f\u3001KSM\u3092 <a href=\"https:\/\/webhosting.de\/ja\/%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%83%bb%e3%83%a1%e3%83%a2%e3%83%aa%e3%83%bb%e3%83%90%e3%83%ab%e3%83%bc%e3%83%b3-%e4%bb%ae%e6%83%b3%e5%8c%96-%e3%83%a9%e3%83%a0%e7%ae%a1%e7%90%86-%e3%83%80\/\">\u30e1\u30e2\u30ea\u30fc\u30fb\u30d0\u30eb\u30fc\u30f3<\/a>\u3092\u6700\u9069\u5316\u3059\u308b\u3002 <strong>RAM\u306e\u5272\u308a\u5f53\u3066<\/strong> \u3055\u3089\u306b\u67d4\u8edf\u6027\u3092\u4fdd\u3064\u3002.<\/p>\n\n<h2>\u6027\u80fd\u3068\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\uff1a\u9069\u5207\u306a\u30d0\u30e9\u30f3\u30b9<\/h2>\n\n<p>\u7279\u306b\u3001RAM\u304c\u771f\u306e\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3068\u306a\u308a\u3001CPU\u30b3\u30a2\u304c\u904a\u4f11\u72b6\u614b\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3088\u3046\u306a\u5834\u9762\u3067\u6027\u80fd\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002\u305d\u306e\u5834\u5408\u3001 <strong>KSM<\/strong> \u4e26\u5217\u3067\u52d5\u4f5c\u3055\u305b\u308bVM\u304c\u5897\u3048\u305f\u305f\u3081\u3001\u5168\u4f53\u7684\u306a\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u5411\u4e0a\u3057\u3066\u3044\u307e\u3059\u3002\u305f\u3060\u3057\u3001ksmd\u30b9\u30ec\u30c3\u30c9\u306fCPU\u6642\u9593\u3092\u6d88\u8cbb\u3059\u308b\u305f\u3081\u3001\u30b9\u30ad\u30e3\u30f3\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u8a2d\u5b9a\u304c\u904e\u5ea6\u306b\u7a4d\u6975\u7684\u3059\u304e\u308b\u3068\u3001\u305d\u306e\u30e1\u30ea\u30c3\u30c8\u304c\u8584\u308c\u3066\u3057\u307e\u3046\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002 \u79c1\u306f\u307e\u305a\u63a7\u3048\u3081\u306a\u8a2d\u5b9a\u304b\u3089\u59cb\u3081\u3001pages_sharing\u3084pages_scanned\u3092\u6e2c\u5b9a\u3057\u3001\u8ca0\u8377\u6642\u306e\u30ec\u30a4\u30c6\u30f3\u30b7\u3092\u89b3\u5bdf\u3057\u3066\u304b\u3089\u3001\u30b9\u30ad\u30e3\u30f3\u30ec\u30fc\u30c8\u3092\u4e0a\u3052\u3066\u3044\u304d\u307e\u3059\u3002\u5341\u5206\u306a\u7a7a\u304dRAM\u304c\u3042\u308b\u5834\u5408\u306f\u3001ksmd\u306e\u6d3b\u52d5\u3092\u63a7\u3048\u3081\u306b\u4fdd\u3061\u3001\u30db\u30b9\u30c8\u304c\u4e0d\u8db3\u3057\u59cb\u3081\u3066\u304b\u3089\u521d\u3081\u3066\u8a2d\u5b9a\u3092\u5f37\u5316\u3057\u307e\u3059\u3002\u305d\u3046\u3059\u308b\u3053\u3068\u3067\u3001 <strong>\u8a18\u61b6\u5bb9\u91cf\u306e\u5897\u52a0<\/strong> \u304a\u3088\u3073CPU\u306e\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\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\/09\/ksvm-virtualization-performance-8273.png\" alt=\"\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>\u5b89\u5168\u6027\u3068\u9694\u96e2\u306b\u3064\u3044\u3066\u5ba2\u89b3\u7684\u306b\u8003\u5bdf\u3059\u308b<\/h2>\n\n<p>\u8907\u6570\u306e\u30b2\u30b9\u30c8\u304c\u7269\u7406\u7684\u306a\u30da\u30fc\u30b8\u3092\u5171\u6709\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u6f5c\u5728\u7684\u306a <strong>\u5074\u65b9\u30c1\u30e3\u30cd\u30eb<\/strong>, \u3001\u3053\u308c\u3089\u306f\u30bf\u30a4\u30df\u30f3\u30b0\u3084\u30a2\u30af\u30bb\u30b9\u30d1\u30bf\u30fc\u30f3\u304b\u3089\u60c5\u5831\u3092\u63a8\u6e2c\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u6a5f\u5bc6\u6027\u306e\u9ad8\u3044\u30de\u30eb\u30c1\u30c6\u30ca\u30f3\u30c8\u74b0\u5883\u3067\u306f\u3001\u7279\u5b9a\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3084\u30db\u30b9\u30c8\u306b\u5bfe\u3057\u3066\u30da\u30fc\u30b8\u5171\u6709\u3092\u500b\u5225\u306b\u7121\u52b9\u306b\u3057\u3066\u3044\u307e\u3059\u3002 \u4e00\u65b9\u3001\u540c\u7a2e\u306e\u30b2\u30b9\u30c8\u304c\u591a\u6570\u5b58\u5728\u3059\u308b\u3001\u305d\u308c\u307b\u3069\u6a5f\u5bc6\u6027\u304c\u9ad8\u304f\u306a\u3044\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u306e\u5834\u5408\u3001KSM\u306f\u30b3\u30b9\u30c8\u524a\u6e1b\u3068\u5bc6\u5ea6\u5411\u4e0a\u3092\u56f3\u308b\u305f\u3081\u306e\u4fe1\u983c\u3067\u304d\u308b\u624b\u6cd5\u3067\u3059\u3002\u79c1\u306f\u30af\u30e9\u30b9\u30bf\u3054\u3068\u306b\u305d\u306e\u6c7a\u5b9a\u5185\u5bb9\u3092\u6587\u66f8\u5316\u3057\u3001\u7279\u306b\u91cd\u8981\u306aVM\u306b\u3064\u3044\u3066\u306f\u4f8b\u5916\u30ea\u30b9\u30c8\u3092\u7528\u610f\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306b\u3057\u3066\u3001\u79c1\u306f <strong>\u900f\u660e\u6027<\/strong> \u305d\u3057\u3066\u3001\u52b9\u7387\u306e\u5411\u4e0a\u3092\u640d\u306a\u3046\u3053\u3068\u306a\u304f\u3001\u653b\u6483\u5bfe\u8c61\u9818\u57df\u3092\u7e2e\u5c0f\u3059\u308b\u3002.<\/p>\n\n<h2>NUMA\u3001Huge Pages\u3001\u304a\u3088\u3073\u76f8\u4e92\u4f5c\u7528<\/h2>\n\n<p>NUMA\u30b7\u30b9\u30c6\u30e0\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u70b9\u306b\u6ce8\u610f\u3057\u3066\u3044\u307e\u3059 <strong>\u4fdd\u7ba1\u5834\u6240<\/strong> \u307e\u305f\u3001\u30a2\u30af\u30bb\u30b9\u304c\u9045\u3044\u7d4c\u8def\u3092\u7d4c\u7531\u3057\u306a\u3044\u3088\u3046\u306b\u3001KSM\u306e\u30de\u30fc\u30b8\u306f\u7406\u60f3\u7684\u306b\u306f1\u3064\u306e\u30ce\u30fc\u30c9\u5185\u3067\u306e\u307f\u884c\u3046\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u30ec\u30a4\u30c6\u30f3\u30b7\u304c\u4f4e\u6e1b\u3055\u308c\u3001\u30bd\u30b1\u30c3\u30c8\u3042\u305f\u308a\u306e\u5e2f\u57df\u5e45\u3092\u9ad8\u304f\u7dad\u6301\u3067\u304d\u307e\u3059\u3002 Huge Pages\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067TLB\u30df\u30b9\u3092\u524a\u6e1b\u3067\u304d\u307e\u3059\u304c\u3001\u30da\u30fc\u30b8\u30b5\u30a4\u30ba\u304c\u5927\u304d\u3044\u3068\u30d3\u30c3\u30c8\u5358\u4f4d\u3067\u540c\u4e00\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u5b58\u5728\u3059\u308b\u78ba\u7387\u304c\u5909\u5316\u3059\u308b\u3053\u3068\u306b\u7559\u610f\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u306b\u3088\u3063\u3066\u306fHuge Pages\u306e\u6069\u6075\u304c\u5927\u304d\u3044\u3082\u306e\u3082\u3042\u308c\u3070\u3001\u91cd\u8907\u6392\u9664\u306e\u6069\u6075\u304c\u5927\u304d\u3044\u3082\u306e\u3082\u3042\u308a\u307e\u3059\u3002\u79c1\u306f\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u3092\u7528\u3044\u3066\u3053\u308c\u3092\u691c\u8a3c\u3057\u3066\u3044\u307e\u3059\u3002\u76ee\u6a19\u306f\u3001\u30ed\u30fc\u30ab\u30eb\u30a2\u30af\u30bb\u30b9\u3092\u6700\u5927\u5316\u3057\u3001 <strong>\u9060\u9694\u8a18\u61b6\u88c5\u7f6e<\/strong> \u3092\u907f\u3051\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\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\/09\/ksm_virtualisierung_3485.png\" alt=\"\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u3068\u6307\u6a19\u306e\u7406\u89e3<\/h2>\n\n<p>\u79c1\u306f\u3001\u4ee5\u4e0b\u306e\u52b9\u679c\u3092\u8a55\u4fa1\u3057\u3066\u3044\u307e\u3059\u3002 <strong>KSM<\/strong> \u5c11\u6570\u306a\u304c\u3089\u610f\u5473\u306e\u3042\u308b\u30e1\u30c8\u30ea\u30af\u30b9\u3001\u3059\u306a\u308f\u3061 pages_sharing\u3001pages_shared\u3001pages_scanned\u3001pages_unshared\u3001full_scans \u306b\u57fa\u3065\u3044\u3066\u8a55\u4fa1\u3057\u307e\u3059\u3002pages_sharing \u304c\u5b89\u5b9a\u3057\u3066\u4e0a\u6607\u3057\u3001CPU \u8ca0\u8377\u304c\u9069\u5ea6\u306a\u7bc4\u56f2\u306b\u53ce\u307e\u3063\u3066\u3044\u308c\u3070\u3001\u79c1\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306f\u671b\u307e\u3057\u3044\u65b9\u5411\u306b\u9032\u3093\u3067\u3044\u308b\u3068\u8a00\u3048\u307e\u3059\u3002 \u6570\u5024\u304c\u6a2a\u3070\u3044\u306e\u307e\u307e\u306e\u5834\u5408\u306f\u3001\u30b2\u30b9\u30c8\u304c\u30e1\u30e2\u30ea\u3092\u300c\u30de\u30fc\u30b8\u53ef\u80fd\u300d\u3068\u3057\u3066\u30de\u30fc\u30af\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u526f\u4f5c\u7528\u3092\u65e9\u671f\u306b\u691c\u77e5\u3059\u308b\u305f\u3081\u306b\u3001\u30db\u30b9\u30c8\u30fb\u30b9\u30ef\u30c3\u30d7\u3001VM\u306e\u30ec\u30a4\u30c6\u30f3\u30b7\u3001IO\u5f85\u6a5f\u6642\u9593\u3082\u76e3\u8996\u3057\u3066\u3044\u307e\u3059\u3002\u6642\u7cfb\u5217\u30c7\u30fc\u30bf\u3092\u542b\u3080\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3067\u50be\u5411\u3092\u628a\u63e1\u3059\u308b\u3053\u3068\u3067\u3001 <strong>\u8abf\u6574<\/strong> \u30c7\u30fc\u30bf\u306b\u57fa\u3065\u3044\u3066\u5224\u65ad\u3059\u308b\u3002.<\/p>\n\n<h2>\u5b9f\u8df5\u4e8b\u4f8b\u3068\u30b3\u30b9\u30c8\u524a\u6e1b\u306e\u53ef\u80fd\u6027<\/h2>\n\n<p>\u6570\u5341\u53f0\u306e\u985e\u4f3c\u3057\u305fLinux VM\u3067\u69cb\u6210\u3055\u308c\u308b\u30c6\u30b9\u30c8\u30af\u30e9\u30b9\u30bf\u30fc\u306b\u304a\u3044\u3066\u3001\u79c1\u306f\u304a\u304b\u3052\u3067 <strong>KSM<\/strong> RAM\u4f7f\u7528\u91cf\u3092\u30d1\u30fc\u30bb\u30f3\u30c6\u30fc\u30b8\u30dd\u30a4\u30f3\u30c8\u30672\u6841\u524a\u6e1b\u3067\u304d\u305f\u30b1\u30fc\u30b9\u3082\u3042\u308a\u3001\u305d\u306e\u7d50\u679c\u3001\u5bc6\u5ea6\u304c\u8457\u3057\u304f\u5411\u4e0a\u3057\u307e\u3057\u305f\u3002\u540c\u4e00\u306e\u30af\u30e9\u30b9\u3084\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u591a\u304f\u542b\u3080Java\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u3067\u306f\u3001\u7279\u306b\u4e00\u8cab\u3057\u305f\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u5411\u4e0a\u304c\u898b\u3089\u308c\u307e\u3057\u305f\u3002 \u30b2\u30b9\u30c8\u304c\u5747\u8cea\u3067\u3042\u308c\u3070\u3042\u308b\u307b\u3069\u3001\u30e1\u30e2\u30ea\u4f7f\u7528\u91cf\u306f\u5927\u5e45\u306b\u524a\u6e1b\u3055\u308c\u307e\u3059\u3002\u7570\u7a2e\u30b9\u30bf\u30c3\u30af\u306e\u5834\u5408\u3001\u305d\u306e\u52b9\u679c\u306f\u5c0f\u3055\u304f\u306a\u308a\u307e\u3059\u304c\u3001\u305d\u308c\u3067\u3082\u6709\u7528\u306a\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3059\u3002\u9069\u5207\u306b\u8a2d\u5b9a\u3055\u308c\u305f\u30aa\u30fc\u30d0\u30fc\u30b3\u30df\u30c3\u30c8\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3042\u305f\u308a\u306e\u30b3\u30b9\u30c8\u3092\u4f4e\u304f\u6291\u3048\u3001\u540c\u3058\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u4e0a\u3067\u3088\u308a\u591a\u304f\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u904b\u7528\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u660e\u78ba\u306a <strong>\u7d4c\u6e08\u52b9\u679c<\/strong> \u4e88\u6e2c\u53ef\u80fd\u306a\u54c1\u8cea\u3067\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\/09\/ksm_virtualisierung_3127.png\" alt=\"\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>KSM\u5bfe\u4ee3\u66ff\u6848\uff1a\u9055\u3044\u3068\u76f8\u4e92\u95a2\u4fc2<\/h2>\n\n<p>\u79c1\u306f\u2026\u2026\u306b\u8ced\u3051\u308b <strong>\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa<\/strong> \u76ee\u7684\u306b\u3088\u3063\u3066\u7570\u306a\u308b\u52b9\u679c\u3092\u767a\u63ee\u3059\u308b\u3001\u88dc\u5b8c\u7684\u306a\u30e1\u30e2\u30ea\u6280\u8853\u3067\u3059\u3002KSM\u306fRAM\u5185\u306e\u5197\u9577\u6027\u3092\u6392\u9664\u3057\u3001\u30d0\u30eb\u30fc\u30cb\u30f3\u30b0\u306f\u30b2\u30b9\u30c8\u306b\u5bfe\u3057\u3066\u52d5\u7684\u306b\u30e1\u30e2\u30ea\u3092\u56de\u53ce\u3057\u3001Huge Pages\u306fCPU\u306e\u52b9\u7387\u3092\u9ad8\u3081\u307e\u3059\u3002\u3044\u305a\u308c\u306e\u6280\u8853\u3082\u4e92\u3044\u306b\u4ee3\u66ff\u3059\u308b\u3082\u306e\u3067\u306f\u306a\u304f\u3001\u79c1\u306f\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u306e\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u3084\u5bc6\u5ea6\u76ee\u6a19\u306b\u5fdc\u3058\u3066\u3001\u3053\u308c\u3089\u3092\u610f\u56f3\u7684\u306b\u7d44\u307f\u5408\u308f\u305b\u3066\u3044\u307e\u3059\u3002 \u521d\u5fc3\u8005\u306e\u65b9\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u6982\u8981\u304c\u9078\u629e\u3092\u8fc5\u901f\u306b\u884c\u3046\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3068\u3057\u3066\u3001\u4ee5\u4e0b\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002 <a href=\"https:\/\/webhosting.de\/ja\/%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e4%bb%ae%e6%83%b3%e5%8c%96-kvm-xen-openvz-%e3%83%9b%e3%82%b9%e3%83%86%e3%82%a3%e3%83%b3%e3%82%b0-kernelboost\/\">KVM \u3068 Xen<\/a> \u6bd4\u8f03\u3057\u3066\u3001\u305d\u306e <strong>\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u9078\u629e<\/strong> \u9069\u5207\u306b\u5206\u985e\u3059\u308b\u3002.<\/p>\n\n<table>\n  <thead>\n    <tr>\n      <th>\u30c6\u30af\u30ce\u30ed\u30b8\u30fc<\/th>\n      <th>\u30bf\u30b9\u30af<\/th>\n      <th>\u30e1\u30ea\u30c3\u30c8<\/th>\n      <th>\u30c7\u30e1\u30ea\u30c3\u30c8<\/th>\n      <th>\u3053\u3093\u306a\u4eba\u306b\u5411\u3044\u3066\u3044\u308b<\/th>\n    <\/tr>\n  <\/thead>\n  <tbody>\n    <tr>\n      <td>KSM<\/td>\n      <td>\u540c\u4e00\u306eRAM\u30da\u30fc\u30b8\u306e\u91cd\u8907\u6392\u9664<\/td>\n      <td>\u9ad8\u3044 <strong>RAM\u306e\u7bc0\u7d04<\/strong> \u985e\u4f3c\u306eVM\u306e\u5834\u5408<\/td>\n      <td>\u30b9\u30ad\u30e3\u30f3\u306b\u3088\u308b\u8ffd\u52a0\u306eCPU\u8ca0\u8377<\/td>\n      <td>\u540c\u69d8\u306e\u30b2\u30b9\u30c8\u304c\u591a\u6570\u3001KVM\u30db\u30b9\u30c8<\/td>\n    <\/tr>\n    <tr>\n      <td>\u30e1\u30e2\u30ea\u30fc\u30fb\u30d0\u30eb\u30fc\u30f3<\/td>\n      <td>\u30ac\u30b9\u8caf\u8535\u65bd\u8a2d\u306e\u52d5\u7684\u56de\u53ce<\/td>\n      <td>\u3088\u308a\u826f\u3044 <strong>\u5229\u7528<\/strong> \u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u304c\u5909\u52d5\u3059\u308b\u5834\u5408<\/td>\n      <td>\u30b2\u30b9\u30c81\u4eba\u306b\u3064\u304d\u30d0\u30eb\u30fc\u30f3\u64cd\u7e26\u80051\u540d\u304c\u5fc5\u8981<\/td>\n      <td>\u3055\u307e\u3056\u307e\u306a\u7a3c\u50cd\u7387\u306e\u30d1\u30bf\u30fc\u30f3<\/td>\n    <\/tr>\n    <tr>\n      <td>\u5de8\u5927\u306a\u30da\u30fc\u30b8<\/td>\n      <td>\u30da\u30fc\u30b8\u30b5\u30a4\u30ba\u3092\u5927\u304d\u304f\u3057\u3066TLB\u30df\u30b9\u3092\u6e1b\u3089\u3059<\/td>\n      <td>\u3088\u308a\u9ad8\u3044 <strong>CPU\u306e\u52b9\u7387<\/strong> \u30e1\u30e2\u30ea\u3092\u5927\u91cf\u306b\u6d88\u8cbb\u3059\u308b\u30a2\u30d7\u30ea\u306e\u5834\u5408<\/td>\n      <td>\u91cd\u8907\u6392\u9664\u306e\u53ef\u80fd\u6027\u304c\u4f4e\u3044<\/td>\n      <td>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3001JVM\u3001\u30a4\u30f3\u30e1\u30e2\u30ea\u30a8\u30f3\u30b8\u30f3<\/td>\n    <\/tr>\n    <tr>\n      <td>NUMA\u30d4\u30f3\u30cb\u30f3\u30b0<\/td>\n      <td>VM\u306e\u30ed\u30fc\u30ab\u30eb\u30b9\u30c8\u30ec\u30fc\u30b8\u30ce\u30fc\u30c9\u3078\u306e\u30d0\u30a4\u30f3\u30c9<\/td>\n      <td>\u5b9a\u6570 <strong>\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc<\/strong> \u304a\u3088\u3073\u5e2f\u57df\u5e45<\/td>\n      <td>\u30b9\u30b1\u30b8\u30e5\u30fc\u30ea\u30f3\u30b0\u306e\u67d4\u8edf\u6027\u304c\u4f4e\u4e0b\u3059\u308b<\/td>\n      <td>\u30de\u30eb\u30c1\u30bd\u30b1\u30c3\u30c8\u30fb\u30db\u30b9\u30c8\u3001\u30ec\u30a4\u30c6\u30f3\u30b7\u304c\u91cd\u8981\u306a\u30ef\u30fc\u30af\u30ed\u30fc\u30c9<\/td>\n    <\/tr>\n  <\/tbody>\n<\/table>\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\/09\/virtualisierung-ksm-7429.png\" alt=\"\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>\u5b9f\u7528\u7684\u306a\u6709\u52b9\u5316\u3068\u30db\u30b9\u30c8\u30fb\u30d7\u30ec\u30a4\u30d6\u30c3\u30af<\/h2>\n<p>\u30db\u30b9\u30c8\u30ec\u30d9\u30eb\u3067\u306f\u3001\u5b9f\u7528\u7684\u306a\u30a2\u30d7\u30ed\u30fc\u30c1\u3092\u3068\u3063\u3066\u3044\u307e\u3059\u3002ksm\/ksmtuned \u3092\u8d77\u52d5\u3057\u3001\u904b\u7528\u3067\u5b9f\u7e3e\u306e\u3042\u308b\u57fa\u672c\u8a2d\u5b9a\u5024\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u4f8b\uff1a<\/p>\n<pre><code># \u30b5\u30fc\u30d3\u30b9\u306e\u6709\u52b9\u5316\uff08\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306b\u4f9d\u5b58\uff09\nsystemctl enable --now ksm ksmtuned\n\n# \u624b\u52d5\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\uff08\u5373\u5ea7\u306b\u6709\u52b9\u3001\u518d\u8d77\u52d5\u307e\u3067\u6709\u52b9\uff09\necho 1 &gt; \/sys\/kernel\/mm\/ksm\/run\necho 1000 &gt; \/sys\/kernel\/mm\/ksm\/pages_to_scan\necho 50 &gt; \/sys\/kernel\/mm\/ksm\/sleep_millisecs\n<\/code><\/pre>\n<p>libvirt \u3067\u306f\u3001VM \u3054\u3068\u306b\u5171\u6709\u8a2d\u5b9a\u3092\u7ba1\u7406\u3057\u3066\u3044\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001QEMU \u306f\u30b2\u30b9\u30c8 RAM \u3092\u300c\u30de\u30fc\u30b8\u53ef\u80fd\u300d\u3068\u3057\u3066\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u7279\u306b\u6a5f\u5bc6\u6027\u306e\u9ad8\u3044 VM \u306b\u3064\u3044\u3066\u306f\u3001\u5171\u6709\u3092\u660e\u793a\u7684\u306b\u7121\u52b9\u306b\u3057\u3066\u3044\u307e\u3059\uff1a<\/p>\n<pre><code><!-- \u3053\u306eVM\u306eKSM\u3092\u7121\u52b9\u5316 -->\n<\/code><\/pre>\n<p>\u305d\u3053\u3067\u3001\u79c1\u306f\u660e\u78ba\u306a\u65b9\u91dd\u3092\u8cab\u3044\u3066\u3044\u307e\u3059\u3002\u3059\u306a\u308f\u3061\u3001\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u304c\u5747\u4e00\u306a\u30db\u30b9\u30c8\u3067\u306f\u5e83\u304f\u6709\u52b9\u5316\u3057\u3001\u4f8b\u5916\u306b\u3064\u3044\u3066\u306f\u7684\u3092\u7d5e\u3063\u305f\u30aa\u30d7\u30c8\u30a2\u30a6\u30c8\u3092\u884c\u3046\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002.<\/p>\n\n<h2>KSM\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u5fae\u8abf\u6574\u306e\u8a73\u7d30<\/h2>\n<ul>\n  <li><strong>run<\/strong>: 0 = \u30aa\u30d5\u30011 = \u6709\u52b9\u30012 = \u30aa\u30d5\u3001\u304b\u3064\u3059\u3067\u306b\u30de\u30fc\u30b8\u3055\u308c\u305f\u30da\u30fc\u30b8\u3092\u30a2\u30f3\u30de\u30fc\u30b8\u3059\u308b\u3002\u79c1\u306f\u300c2\u300d\u3092\u3001\u7279\u5b9a\u306e\u30c6\u30b9\u30c8\u3092\u884c\u3046\u5834\u5408\u3084\u3001\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u671f\u9593\u524d\u306b\u30b7\u30a7\u30a2\u30ea\u30f3\u30b0\u3092\u78ba\u5b9f\u306b\u5143\u306b\u623b\u3057\u305f\u3044\u5834\u5408\u306b\u306e\u307f\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002.<\/li>\n  <li><strong>\u30b9\u30ad\u30e3\u30f3\u3059\u308b\u30da\u30fc\u30b8\u6570<\/strong>: 1\u30b5\u30a4\u30af\u30eb\u3042\u305f\u308a\u306b\u30c1\u30a7\u30c3\u30af\u3055\u308c\u308b\u30da\u30fc\u30b8\u6570\u3002\u3053\u306e\u5024\u3092\u9ad8\u304f\u3059\u308b\u3068\u3001\u540c\u4e00\u30da\u30fc\u30b8\u306e\u691c\u51fa\u304c\u901f\u304f\u306a\u308a\u307e\u3059\u304c\u3001CPU\u3078\u306e\u8ca0\u8377\u304c\u9ad8\u307e\u308a\u307e\u3059\u3002.<\/li>\n  <li><strong>sleep_millisecs<\/strong>: \u30b5\u30a4\u30af\u30eb\u9593\u306e\u4f11\u6b62\u3002\u4f11\u6b62\u6642\u9593\u3092\u9577\u304f\u3059\u308b\u3068\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u306f\u4f4e\u6e1b\u3055\u308c\u307e\u3059\u304c\u3001\u7bc0\u7d04\u52b9\u679c\u304c\u982d\u6253\u3061\u306b\u306a\u308b\u307e\u3067\u306b\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u3002.<\/li>\n  <li><strong>merge_across_nodes<\/strong>: NUMA\u30db\u30b9\u30c8\u306e\u5834\u5408\u3001NUMA\u30ce\u30fc\u30c9\u5185\u3067\u306e\u307f\u30de\u30fc\u30b8\u304c\u884c\u308f\u308c\u308b\u3088\u3046\u306b\u3001\u3053\u308c\u30920\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5c40\u6240\u6027\u304c\u4fdd\u305f\u308c\u307e\u3059\u3002.<\/li>\n  <li><strong>use_zero_pages<\/strong>: \u3053\u308c\u3092\u6709\u52b9\u306b\u3059\u308b\u3068\u3001\u30d7\u30ed\u30bb\u30b9\u306f\u30bc\u30ed\u30da\u30fc\u30b8\u3092\u30ab\u30fc\u30cd\u30eb\u306e\u30bc\u30ed\u30da\u30fc\u30b8\u3068\u52b9\u7387\u7684\u306b\u5171\u6709\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001COW\u306e\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u306a\u3057\u306b\u300c\u78ba\u5b9f\u306a\u300d\u30e1\u30e2\u30ea\u7bc0\u7d04\u304c\u5b9f\u73fe\u3055\u308c\u307e\u3059\u3002.<\/li>\n<\/ul>\n<p>ksmtuned \u3092\u4f7f\u7528\u3059\u308b\u3068\u3001RAM \u306e\u3057\u304d\u3044\u5024\u306b\u57fa\u3065\u3044\u3066\u52d5\u7684\u306b\u8abf\u6574\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u7a7a\u304d\u30e1\u30e2\u30ea\u304c\u4e0d\u8db3\u3057\u59cb\u3081\u308b\u3068\u3001ksmtuned \u306f\u30b9\u30ad\u30e3\u30f3\u901f\u5ea6\u3092\u5411\u4e0a\u3055\u305b\uff08Npagen-Boost\uff09\u3001\u8ca0\u8377\u304c\u4f4e\u4e0b\u3059\u308b\u3068\u518d\u3073\u901f\u5ea6\u3092\u843d\u3068\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u624b\u52d5\u3067\u306e\u64cd\u4f5c\u3092\u5fc5\u8981\u3068\u3057\u306a\u3044\u3001\u9069\u5fdc\u6027\u306e\u3042\u308b\u300c\u547c\u5438\u3059\u308b\u300d\u3088\u3046\u306a\u8a2d\u5b9a\u304c\u5b9f\u73fe\u3055\u308c\u307e\u3059\u3002.<\/p>\n\n<h2>THP\u3001Huge Pages\u3001\u304a\u3088\u3073\u30d0\u30eb\u30fc\u30cb\u30f3\u30b0\u3068\u306e\u76f8\u4e92\u4f5c\u7528\uff08\u8a73\u7d30\uff09<\/h2>\n<p><strong>\u900f\u660e\u306a\u5de8\u5927\u30da\u30fc\u30b8\uff08THP\uff09<\/strong> \u305d\u3057\u3066 <strong>\u5de8\u5927\u306a\u30da\u30fc\u30b8<\/strong> CPU\u306e\u52b9\u7387\u3092\u6700\u9069\u5316\u3059\u308b\u3068\u540c\u6642\u306b\u3001KSM\u306b\u3088\u3063\u3066RAM\u5185\u306e\u5197\u9577\u6027\u3092\u524a\u6e1b\u3057\u307e\u3059\u3002\u305d\u306e\u969b\u3001\u4ee5\u4e0b\u306e\u70b9\u3092\u8003\u616e\u3057\u3066\u3044\u307e\u3059\uff1a<\/p>\n<ul>\n  <li>KSM\u306f\u901a\u5e38\u306e4KB\u30da\u30fc\u30b8\u3092\u6271\u3044\u307e\u3059\u3002THP\u30da\u30fc\u30b8\uff08\u901a\u5e382MB\uff09\u306f\u91cd\u8907\u6392\u9664\u3067\u304d\u307e\u305b\u3093\u3002THP\u306e\u9069\u7528\u5ea6\u304c\u9ad8\u3051\u308c\u3070\u9ad8\u3044\u307b\u3069\u3001KSM\u304c\u51e6\u7406\u3067\u304d\u308b\u30c7\u30fc\u30bf\u91cf\u306f\u5c11\u306a\u304f\u306a\u308a\u307e\u3059\u3002.<\/li>\n  <li>\u30ec\u30a4\u30c6\u30f3\u30b7\u304c\u91cd\u8981\u306a\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u3084CPU\u306b\u4f9d\u5b58\u3059\u308b\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u3067\u306f\u3001THP\/Huge Pages\u3092\u512a\u5148\u3057\u307e\u3059\u3002RAM\u304c\u4e0d\u8db3\u3057\u3066\u3044\u308b\u30db\u30b9\u30c8\u3067\u3001\u69cb\u6210\u304c\u5747\u4e00\u306aVM\u304c\u7a3c\u50cd\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001KSM\u3092\u512a\u5148\u3057\u307e\u3059\u3002.<\/li>\n  <li>Ballooning\u306fKSM\u3092\u88dc\u5b8c\u3057\u307e\u3059\u3002Balloon\u30c9\u30e9\u30a4\u30d0\u306f\u3001\u7a7a\u304d\u30ac\u30b9\u30e1\u30e2\u30ea\u3092\u30db\u30b9\u30c8\u306b\u8fd4\u3057\u307e\u3059\u3002\u4e00\u65b9\u3001KSM\u306f\u540c\u4e00\u306e\u30da\u30fc\u30b8\u3092\u7d71\u5408\u3059\u308b\u3053\u3068\u3067\u3001\u4e26\u884c\u3057\u3066\u30e1\u30e2\u30ea\u9700\u8981\u3092\u524a\u6e1b\u3057\u307e\u3059\u3002\u3053\u308c\u3089\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u30d4\u30fc\u30af\u8ca0\u8377\u3092\u5e73\u6e96\u5316\u3057\u3001\u6642\u671f\u5c1a\u65e9\u306a\u30b9\u30ef\u30c3\u30d4\u30f3\u30b0\u3092\u9632\u304e\u307e\u3059\u3002.<\/li>\n<\/ul>\n<p>\u79c1\u306f\u5b9f\u8a3c\u7684\u306b\u5224\u65ad\u3057\u307e\u3059\u3002THP\/Huge Pages\u306e\u6709\u7121\u3084KSM\u306e\u6709\u52b9\u30fb\u7121\u52b9\u3068\u3044\u3063\u305f\u6761\u4ef6\u3067\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u3069\u306e\u7d44\u307f\u5408\u308f\u305b\u304c\u6700\u3082\u512a\u308c\u305f\u7dcf\u30b3\u30b9\u30c8\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u3082\u305f\u3089\u3059\u304b\u304c\u5206\u304b\u308a\u307e\u3059\u3002.<\/p>\n\n<h2>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30e2\u30c7\u30eb\u3068\u6700\u65b0\u306eCPU\u6a5f\u80fd<\/h2>\n<p>\u6b21\u306e\u3088\u3046\u306a\u74b0\u5883\u3067\u306f <strong>\u53b3\u683c\u306a\u9867\u5ba2\u5206\u96e2<\/strong> \u79c1\u306fVM\u3084\u30db\u30b9\u30c8\u3054\u3068\u306bSharing\u3092\u5fb9\u5e95\u3057\u3066\u7121\u52b9\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5171\u6709\u30da\u30fc\u30b8\u306b\u3088\u308b\u6a2a\u65b9\u5411\u306e\u60c5\u5831\u4f1d\u9054\u7d4c\u8def\u304c\u6700\u5c0f\u9650\u306b\u6291\u3048\u3089\u308c\u3001\u30b3\u30f3\u30d7\u30e9\u30a4\u30a2\u30f3\u30b9\u76e3\u67fb\u304c\u7c21\u7d20\u5316\u3055\u308c\u307e\u3059\u3002\u6700\u65b0\u306e <strong>\u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u6697\u53f7\u5316<\/strong> \u30db\u30b9\u30c8\uff0f\u30b2\u30b9\u30c8\u30ec\u30d9\u30eb\uff08\u4f8b\uff1aVM\u3054\u3068\u306e\u30ad\u30fc\uff09\u3067\u306e\u3053\u306e\u4ed5\u7d44\u307f\u306f\u3001\u5b9f\u969b\u306b\u306f\u3001\u540c\u4e00\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u7269\u7406RAM\u4e0a\u3067\u3082\u306f\u3084\u30d3\u30c3\u30c8\u5358\u4f4d\u3067\u4e00\u81f4\u3057\u306a\u304f\u306a\u308b\u305f\u3081\u3001KSM\u304c\u30b2\u30b9\u30c8\u9593\u3067\u9069\u5207\u306b\u30de\u30fc\u30b8\u3092\u884c\u3046\u3053\u3068\u3092\u59a8\u3052\u3066\u3057\u307e\u3044\u307e\u3059\u3002 \u3053\u306e\u3088\u3046\u306a\u30af\u30e9\u30b9\u30bf\u30fc\u3067\u306f\u3001CPU\u30ea\u30bd\u30fc\u30b9\u3092\u7121\u99c4\u306b\u6d88\u8cbb\u3057\u306a\u3044\u3088\u3046\u3001\u7a4d\u6975\u7684\u306a\u30b9\u30ad\u30e3\u30f3\u306f\u63a7\u3048\u3001ksmd\u3092\u3069\u3061\u3089\u304b\u3068\u3044\u3048\u3070\u53d7\u52d5\u7684\u306a\u72b6\u614b\u306b\u4fdd\u3063\u3066\u3044\u307e\u3059\u3002.<\/p>\n<p>\u611f\u5ea6\u306f\u4f4e\u3044\u304c\u5747\u8cea\u306a\u30b9\u30bf\u30c3\u30af\u306b\u3064\u3044\u3066\u306f\u3001KSM\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u307e\u307e\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u30af\u30e9\u30b9\u30bf\u30fc\u3054\u3068\u306b\u30dd\u30ea\u30b7\u30fc\u3092\u6587\u66f8\u5316\u3057\u3066\u3044\u307e\u3059\u3002\u300c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u6709\u52b9\u3001nosharepages\u306b\u3088\u308b\u4f8b\u5916\u300d\u307e\u305f\u306f\u300c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u7121\u52b9\u3001\u5b9a\u7fa9\u3055\u308c\u305f\u30d7\u30fc\u30eb\u306e\u307f\u3092\u5171\u6709\u300d\u2015\u2015\u900f\u660e\u6027\u304c\u3042\u308a\u3001\u518d\u73fe\u53ef\u80fd\u306a\u5f62\u3067\u5b9f\u88c5\u3055\u308c\u3066\u3044\u308c\u3070\u3001\u3069\u3061\u3089\u306e\u69cb\u6210\u3082\u6709\u52b9\u3067\u3059\u3002.<\/p>\n\n<h2>\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u3078\u306e\u9069\u5408\u6027\u3068\u30a2\u30f3\u30c1\u30d1\u30bf\u30fc\u30f3<\/h2>\n<p>KSM\u306f\u3001\u5747\u4e00\u3067\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u591a\u7528\u3059\u308b\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\uff08\u4f8b\uff1a\u540c\u4e00\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b5\u30fc\u30d0\u30fc\u304c\u591a\u6570\u3042\u308b\u5834\u5408\u3001JVM\u30d9\u30fc\u30b9\u306e\u30b5\u30fc\u30d3\u30b9\u3001\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306a\u3069\uff09\u306b\u304a\u3044\u3066\u305d\u306e\u771f\u4fa1\u3092\u767a\u63ee\u3057\u307e\u3059\u3002\u4e00\u65b9\u3001\u4ee5\u4e0b\u306e\u30b1\u30fc\u30b9\u3067\u306f\u305d\u306e\u30e1\u30ea\u30c3\u30c8\u3092\u5341\u5206\u306b\u6d3b\u304b\u305b\u307e\u305b\u3093\uff1a<\/p>\n<ul>\n  <li><strong>\u5909\u52d5\u304c\u6fc0\u3057\u304f\u3001\u77ed\u671f\u9593\u3067\u5909\u5316\u3059\u308b\u8cc7\u7523\u914d\u5206<\/strong> \uff08\u4f8b\uff1a\u5c0f\u3055\u304f\u3001\u983b\u7e41\u306b\u5909\u66f4\u3055\u308c\u308b\u30d0\u30c3\u30d5\u30a1\u304c\u591a\u6570\u3042\u308b\u5834\u5408\u306a\u3069\uff09\u3001COW\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u304b\u3089\u3067\u3059\u3002.<\/li>\n  <li><strong>\u5727\u7e2e\u3055\u308c\u305f\u30c7\u30fc\u30bf\u3001\u6697\u53f7\u5316\u3055\u308c\u305f\u30c7\u30fc\u30bf\u3001\u307e\u305f\u306f\u64ec\u4f3c\u30e9\u30f3\u30c0\u30e0\u306a\u30c7\u30fc\u30bf<\/strong> \u2013 \u540c\u4e00\u306e\u30da\u30fc\u30b8\u306f\u307b\u3068\u3093\u3069\u898b\u3089\u308c\u306a\u3044\u3002.<\/li>\n  <li><strong>\u5927\u898f\u6a21\u306a\u30a4\u30f3\u30e1\u30e2\u30eaDB<\/strong> \u30c7\u30fc\u30bf\u304c\u6025\u901f\u306b\u5909\u5316\u3059\u308b\u5834\u5408\u3001\u7a4d\u6975\u7684\u306a\u30da\u30fc\u30b8\u30ea\u30b5\u30a4\u30af\u30eb\u304c\u884c\u308f\u308c\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u5834\u5408\u3001Huge Pages\/THP\u306e\u5229\u70b9\u304c\u3057\u3070\u3057\u3070\u4e0a\u56de\u308a\u307e\u3059\u3002.<\/li>\n<\/ul>\n<p>\u30b3\u30f3\u30c6\u30ca\u30d5\u30a1\u30fc\u30e0\u306b\u304a\u3044\u3066\u3082\u3001\u30d7\u30ed\u30bb\u30b9\u304c\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u300c\u30de\u30fc\u30b8\u53ef\u80fd\u300d\u3068\u3057\u3066\u30de\u30fc\u30af\u3057\u3066\u3044\u308b\u9650\u308a\u3001KSM\u306f\u6a5f\u80fd\u3057\u307e\u3059\u3002\u3057\u304b\u3057\u5b9f\u969b\u306b\u306f\u3001QEMU\u304c\u3059\u3067\u306b\u5fc5\u8981\u306amadvise\u30d5\u30e9\u30b0\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u79c1\u306fKSM\u3092\u4e3b\u306bVM\u306b\u7126\u70b9\u3092\u5f53\u3066\u3066\u3044\u307e\u3059\u3002.<\/p>\n\n<h2>\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u3068\u5178\u578b\u7684\u306a\u969c\u5bb3<\/h2>\n<ul>\n  <li><strong>pages_sharing\u306e\u4f38\u3073\u304c\u920d\u5316\u3057\u3066\u3044\u308b<\/strong>: QEMU\/VM\u304c\u5b9f\u969b\u306b\u30de\u30fc\u30b8\u53ef\u80fd\u306a\u30e1\u30e2\u30ea\u3092\u5272\u308a\u5f53\u3066\u3066\u3044\u308b\u304b\uff08libvirt-XML\u306bnosharepages\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u304c\u306a\u3044\u304b\uff09\u3001\u307e\u305fksmd\u304c\u52d5\u4f5c\u3057\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u30e1\u30e2\u30ea\u304c\u30d5\u30e9\u30c3\u30c8\u306a\u307e\u307e\u306e\u5834\u5408\u306f\u3001\u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u306e\u7570\u7a2e\u6027\u304c\u904e\u5ea6\u3067\u3042\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002.<\/li>\n  <li><strong>CPU\u8ca0\u8377\u304c\u9ad8\u3059\u304e\u308b<\/strong>: `sleep_millisecs` \u3092\u5897\u3084\u3057\u305f\u308a\u3001`pages_to_scan` \u3092\u6e1b\u3089\u3057\u305f\u308a\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u691c\u7d22\u7bc4\u56f2\u3092\u72ed\u3081\u308b\u305f\u3081\u306b\u3001NUMA \u9593\u30de\u30fc\u30b8\u3092\u7121\u52b9\u306b\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002.<\/li>\n  <li><strong>\u4e88\u671f\u305b\u306c\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\u306e\u6025\u4e0a\u6607<\/strong>: COW\u30a4\u30d9\u30f3\u30c8\u304c\u8ca0\u8377\u306e\u30d4\u30fc\u30af\u3068\u76f8\u95a2\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u305d\u306e\u3088\u3046\u306a\u5834\u5408\u306f\u3001\u30b9\u30ad\u30e3\u30f3\u30ec\u30fc\u30c8\u3092\u7de9\u3081\u308b\u304b\u3001\u5f71\u97ff\u3092\u53d7\u3051\u3066\u3044\u308bVM\u3092\u4e00\u6642\u7684\u306b\u5171\u6709\u304b\u3089\u9664\u5916\u3057\u307e\u3059\u3002.<\/li>\n  <li><strong>\u30aa\u30fc\u30d0\u30fc\u30b3\u30df\u30c3\u30c8\u304c\u30b9\u30ef\u30c3\u30d7\u3078\u3068\u30a8\u30b9\u30ab\u30ec\u30fc\u30c8\u3059\u308b<\/strong>: KSM\u306f\u30ad\u30e3\u30d1\u30b7\u30c6\u30a3\u30d7\u30e9\u30f3\u30cb\u30f3\u30b0\u306e\u4ee3\u308f\u308a\u306b\u306f\u306a\u308a\u307e\u305b\u3093\u3002\u79c1\u306f\u5e38\u306b\u7a7a\u304dRAM\u306e\u4f59\u88d5\u3092\u78ba\u4fdd\u3057\u3066\u304a\u308a\u3001ksmd\u306f\u3042\u304f\u307e\u3067\u30d0\u30c3\u30d5\u30a1\u3068\u3057\u3066\u8abf\u6574\u3057\u3066\u304a\u308a\u3001\u7dca\u6025\u6642\u306e\u5fdc\u6025\u63aa\u7f6e\u3068\u3057\u3066\u306f\u4f7f\u7528\u3057\u3066\u3044\u307e\u305b\u3093\u3002.<\/li>\n<\/ul>\n\n<h2>\u8a08\u753b\u3001\u30b5\u30a4\u30b8\u30f3\u30b0\u3001\u304a\u3088\u3073\u81ea\u52d5\u5316<\/h2>\n<p>\u4e88\u6e2c\u53ef\u80fd\u306a\u7d50\u679c\u3092\u5f97\u308b\u305f\u3081\u306b\u3001\u30db\u30b9\u30c8\u3054\u3068\u306b\u76ee\u6a19\u5024\u3092\u5b9a\u7fa9\u3057\u307e\u3059\uff1a<\/p>\n<ul>\n  <li><strong>\u30d8\u30c3\u30c9\u30eb\u30fc\u30e0<\/strong>: \u7a7a\u304dRAM\u306e\u4e00\u5b9a\u5272\u5408\u306e\u30d0\u30c3\u30d5\u30a1\u3002\u3053\u308c\u3092\u4e0b\u56de\u308b\u3068\u3001ksmtuned\u306e\u52d5\u4f5c\u304c\u3088\u308a\u7a4d\u6975\u7684\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u91cd\u8907\u6392\u9664\u51e6\u7406\u3092\u5b9f\u969b\u306b\u5fc5\u8981\u3068\u3055\u308c\u308b\u5c40\u9762\u306b\u9650\u5b9a\u3057\u3066\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002.<\/li>\n  <li><strong>\u516c\u5e73\u6027<\/strong>: \u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u306b\u3070\u3089\u3064\u304d\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u30d7\u30fc\u30eb\uff08\u4f8b\uff1a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5225\uff0f\u74b0\u5883\u5225\uff09\u3092\u5206\u96e2\u3057\u3001\u540c\u7a2e\u306eVM\u304c\u4e92\u3044\u306b\u6069\u6075\u3092\u53d7\u3051\u3089\u308c\u308b\u3088\u3046\u306b\u3059\u308b\u3068\u3068\u3082\u306b\u3001\u7570\u7a2e\u306eVM\u306b\u3088\u308b\u300c\u52b9\u679c\u306e\u5e0c\u8584\u5316\u300d\u3092\u9632\u3050\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002.<\/li>\n  <li><strong>\u9650\u754c\u5024<\/strong>: \u6700\u5927\u30b9\u30ad\u30e3\u30f3\u30ec\u30fc\u30c8\u306b\u4e0a\u9650\u3092\u8a2d\u5b9a\u3057\u3001\u305d\u306e\u30b3\u30b9\u30c8\u524a\u6e1b\u52b9\u679c\u304cCPU\u306e\u4f7f\u7528\u91cf\u3092\u6b63\u5f53\u5316\u3059\u308b\u3082\u306e\u304b\u3069\u3046\u304b\u3092\u5b9a\u671f\u7684\u306b\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\u3002.<\/li>\n<\/ul>\n<p>\u81ea\u52d5\u5316\u306b\u304a\u3044\u3066\u3001\u79c1\u306fKSM\u3092\u3001\u518d\u73fe\u6027\u304c\u3042\u308a\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3055\u308c\u305f\u30d7\u30ec\u30a4\u30d6\u30c3\u30af\uff08\u4f8b\uff1aSystemd\u30c9\u30ed\u30c3\u30d7\u30a4\u30f3\u3084Cloud Init\u30b9\u30cb\u30da\u30c3\u30c8\uff09\u3068\u3057\u3066\u6349\u3048\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u65b0\u3057\u3044\u30db\u30b9\u30c8\u304c\u540c\u4e00\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30bb\u30c3\u30c8\u3067\u7a3c\u50cd\u3059\u308b\u3053\u3068\u3092\u4fdd\u8a3c\u3057\u3001\u5dee\u7570\u304c\u3042\u308c\u3070\u3059\u3050\u306b\u6c17\u3065\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002.<\/p>\n\n<h2>\u7ba1\u7406\u8005\u5411\u3051\u307e\u3068\u3081<\/h2>\n\n<p>\u79c1\u306f\u3053\u3046\u3057\u3066\u3044\u308b\u3002 <strong>KSM<\/strong>, \u30db\u30b9\u30c8\u304c\u591a\u304f\u306e\u985e\u4f3c\u3057\u305fVM\u3092\u30db\u30b9\u30c8\u3057\u3066\u304a\u308a\u3001RAM\u304c\u30ea\u30bd\u30fc\u30b9\u306e\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3068\u306a\u3063\u3066\u3044\u308b\u5834\u5408\u3067\u3059\u3002\u305d\u306e\u969b\u306f\u3001\u91cd\u8907\u6392\u9664\u304c\u6700\u5927\u306e\u52b9\u679c\u3092\u767a\u63ee\u3057\u3001\u4e00\u65b9\u3067ksmtuned\u3084sysfs\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u7528\u3044\u3066CPU\u30b3\u30b9\u30c8\u3092\u304d\u3081\u7d30\u304b\u304f\u5236\u5fa1\u3057\u307e\u3059\u3002 NUMA\u74b0\u5883\u3067\u306f\u3001\u30de\u30fc\u30b8\u51e6\u7406\u3092\u30ed\u30fc\u30ab\u30eb\u306b\u9650\u5b9a\u3057\u3001KSM\u3092\u30d0\u30eb\u30fc\u30cb\u30f3\u30b0\u3084Huge Pages\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u7528\u3057\u3001pages_sharing\u3084\u30ec\u30a4\u30c6\u30f3\u30b7\u6307\u6a19\u3092\u901a\u3058\u3066\u305d\u306e\u52b9\u679c\u3092\u6e2c\u5b9a\u3057\u307e\u3059\u3002\u5f71\u97ff\u3092\u53d7\u3051\u3084\u3059\u3044\u30b2\u30b9\u30c8\u306b\u3064\u3044\u3066\u306f\u3001\u5171\u6709\u6a5f\u80fd\u3092\u610f\u56f3\u7684\u306b\u7121\u52b9\u306b\u3057\u3001\u4f8b\u5916\u306b\u3064\u3044\u3066\u306f\u900f\u660e\u6027\u3092\u6301\u3063\u3066\u8a18\u9332\u3057\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306b\u3057\u3066\u3001\u79c1\u306f <strong>\u5bc6\u5ea6<\/strong>, \u3001\u78ba\u5b9f\u306a\u5fdc\u7b54\u6642\u9593\u3092\u78ba\u4fdd\u3057\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3042\u305f\u308a\u306e\u30e6\u30fc\u30ed\u30b3\u30b9\u30c8\u3092\u6301\u7d9a\u7684\u306b\u524a\u6e1b\u3057\u307e\u3059\u3002.<\/p>","protected":false},"excerpt":{"rendered":"<p>Linux\u30ab\u30fc\u30cd\u30eb\u306b\u304a\u3051\u308bKernel Samepage Merging\uff08KSM\uff09\u304c\u3001\u3069\u306e\u3088\u3046\u306bRAM\u306e\u4f7f\u7528\u3092\u6700\u9069\u5316\u3057\u3001\u540c\u3058\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u4e0a\u3067\u3088\u308a\u591a\u304f\u306e\u4eee\u60f3\u30de\u30b7\u30f3\u3092\u7a3c\u50cd\u53ef\u80fd\u306b\u3059\u308b\u306e\u304b\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001\u305d\u306e\u4ed5\u7d44\u307f\u3001\u8a2d\u5b9a\u65b9\u6cd5\u3001\u4eee\u60f3\u5316\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3078\u306e\u5f71\u97ff\u306b\u3064\u3044\u3066\u89e3\u8aac\u3059\u308b\u3068\u3068\u3082\u306b\u3001\u7ba1\u7406\u8005\u5411\u3051\u306e\u5b9f\u8df5\u7684\u306a\u30d2\u30f3\u30c8\u3082\u63b2\u8f09\u3057\u3066\u3044\u307e\u3059\u3002.<\/p>","protected":false},"author":1,"featured_media":21216,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[676],"tags":[],"class_list":["post-21223","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":"127","_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":"KSM Virtualisierung","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":"21216","footnotes":null,"_links":{"self":[{"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/posts\/21223","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=21223"}],"version-history":[{"count":0,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/posts\/21223\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/media\/21216"}],"wp:attachment":[{"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/media?parent=21223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/categories?post=21223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/tags?post=21223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}