{"id":27134,"date":"2025-07-20T08:56:08","date_gmt":"2025-07-19T23:56:08","guid":{"rendered":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=27134"},"modified":"2025-07-20T08:56:08","modified_gmt":"2025-07-19T23:56:08","slug":"zram-7-%e5%b0%8f%e3%83%a1%e3%83%a2%e3%83%aa%e3%83%bc%e3%82%82%e8%a8%ad%e5%ae%9a%e6%ac%a1%e7%ac%ac%e3%81%8b%e3%82%82","status":"publish","type":"post","link":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=27134","title":{"rendered":"zram (7) \u5c0f\u30e1\u30e2\u30ea\u30fc\u3082\u8a2d\u5b9a\u6b21\u7b2c\u304b\u3082"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">&#25163;&#25345;&#12385;&#12398;Raspberry Pi (RPi)&#12398;&#12358;&#12385;&#65292;RPi 3 Model B (RPi3)&#12392;&#65292;RPi 3 Model B+ (RPi3+)&#12399;&#12513;&#12514;&#12522;&#12540;&#12364;1GB&#12391;&#12377;&#65288;&#23455;&#38555;&#12399;&#12393;&#12385;&#12425;&#12418;900MB&#24375;&#65289;&#65294;&#12414;&#12383;RPi Zero 2 WH&#12399;500MB&#12391;&#12377;&#65294;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#12513;&#12514;&#12522;&#12540;&#12364;&#23567;&#12373;&#12356;RPi&#12399;&#65292;ZRAM&#12398;&#12469;&#12452;&#12474;&#12434;100%&#12316;120%&#12395;&#12375;&#12390;&#12356;&#12414;&#12375;&#12383;&#65294;&#12375;&#12363;&#12375;&#12393;&#12358;&#12418;&#12371;&#12428;&#12364;&#36000;&#25285;&#12398;&#12424;&#12358;&#12391;&#65292;<a href=\"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=26953\" data-type=\"post\" data-id=\"26953\">RPi3, RPi3+&#12392;&#12418;VLC&#12364;1&#26085;&#20197;&#19978;&#23433;&#23450;&#12375;&#12390;RTSP&#12434;&#20877;&#29983;&#12377;&#12427;&#12371;&#12392;&#12364;&#20986;&#26469;&#12414;&#12379;&#12435;<\/a>&#65294;&#12381;&#12428;&#12391;&#65292;&#23567;&#12513;&#12514;&#12522;&#12540;&#12395;ZRAM&#12399;&#19981;&#36969;&#12392;&#12356;&#12387;&#12383;&#12435;&#12399;&#32080;&#35542;&#12389;&#12369;&#12414;&#12375;&#12383;&#65294;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#12375;&#12363;&#12375;&#65292;RPi&#12391;VLC&#12434;&#20351;&#12387;&#12390;RTSP&#12434;&#20877;&#29983;&#12377;&#12427;&#12395;&#12354;&#12383;&#12426;&#65292;SWAP&#12364;500MB&#20197;&#19978;&#24517;&#35201;&#12394;&#12465;&#12540;&#12473;&#12399;&#12394;&#12356;&#12424;&#12358;&#12391;&#12377;&#65294;&#23569;&#12394;&#12367;&#12392;&#12418;dphys-swapfile&#12391;&#12399;&#21021;&#26399;&#20516;&#12364;512MB&#12391;&#65292;&#21205;&#20316;&#29366;&#27841;&#12434;&#35211;&#12390;&#12418;SWAP&#12398;&#20351;&#29992;&#12364;300MB&#12434;&#36229;&#12360;&#12427;&#12371;&#12392;&#12399;&#12394;&#12356;&#12391;&#12377;&#65294;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#12392;&#12356;&#12358;&#12371;&#12392;&#12391;&#65292;ZRAM&#12395;&#12388;&#12356;&#12390;&#12418;SWAP&#12398;&#23481;&#37327;&#12399;400&#12316;500MB&#12391;&#33391;&#12356;&#12398;&#12391;&#12399;&#12394;&#12356;&#12363;&#12392;&#24605;&#12356;&#65292;&#29694;&#22312;&#20027;&#35352;&#25014;&#12398;50%&#12392;&#12356;&#12358;&#35373;&#23450;&#12391;&#21205;&#12363;&#12375;&#12390;&#12356;&#12414;&#12377;&#65294;&#20170;&#12398;&#12392;&#12371;&#12429;RPi3&#12418;RPi3+&#12418;&#12414;&#12427;1&#26085;&#20197;&#19978;&#23433;&#23450;&#12375;&#12390;VLC&#12364;RTSP&#12434;&#20877;&#29983;&#12375;&#32154;&#12369;&#12390;&#12356;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#12392;&#12371;&#12429;&#12391;&#65292;RPi Zero 2 WH&#12391;&#12377;&#12364;&#65292;&#12371;&#12385;&#12425;&#12399;&#20027;&#35352;&#25014;&#12364;500MB&#12391;&#65292;VLC&#12391;RTSP&#12434;&#20877;&#29983;&#12377;&#12427;&#12392;SWAP&#12398;&#38936;&#22495;&#12399;200MB&#12434;&#36234;&#12360;&#12414;&#12377;&#12398;&#12391;&#65292;&#12362;&#12381;&#12425;&#12367;ZRAM&#12398;&#38936;&#22495;&#12434;&#20027;&#35352;&#25014;&#12398;50%&#12392;&#12375;&#12383;&#12392;&#12371;&#12429;&#12391;&#23433;&#23450;&#24615;&#12399;&#25147;&#12425;&#12394;&#12356;&#12392;&#24605;&#12356;&#12414;&#12377;&#65294;&#12381;&#12418;&#12381;&#12418;dphys-swapfile&#12391;&#12418;&#23433;&#23450;&#12375;&#12414;&#12379;&#12435;&#12375;&#65294;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#12392;&#12356;&#12358;&#12371;&#12392;&#12391;&#65292;RPi3&#12362;&#12424;&#12403;RPi3+&#12395;&#12388;&#12356;&#12390;&#12399;&#12375;&#12400;&#12425;&#12367;50%&#12391;ZRAM&#12398;&#35430;&#29992;&#12434;&#32154;&#12369;&#12414;&#12377;&#65294;RPi Zero 2 WH&#12395;&#12388;&#12356;&#12390;&#12399;&#38272;&#26609;&#28783;&#12434;&#26085;&#12398;&#20986;&#65292;&#26085;&#12398;&#20837;&#12426;&#12398;&#26178;&#21051;&#12395;OFF\/ON&#12377;&#12427;&#38272;&#30058;&#12398;&#24441;&#30446;&#12434;&#19982;&#12360;&#12427;&#12371;&#12392;&#12395;&#12375;&#12414;&#12377;&#65294;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u624b\u6301\u3061\u306eRaspberry Pi (RPi)\u306e\u3046\u3061\uff0cRPi 3 Model B (RPi3)\u3068\uff0cRPi 3 Model B+ (RPi3+)\u306f\u30e1\u30e2\u30ea\u30fc\u304c1GB\u3067\u3059\uff08\u5b9f\u969b\u306f\u3069\u3061\u3089\u3082900MB\u5f37\uff09\uff0e\u307e\u305fRPi Zero 2 WH\u306f500MB\u3067\u3059\uff0e \u30e1\u30e2\u30ea\u30fc\u304c\u5c0f\u3055\u3044RPi\u306f\uff0cZRAM\u306e\u30b5\u30a4\u30ba\u3092100%\u301c120%\u306b\u3057\u3066\u3044\u307e\u3057\u305f\uff0e\u3057\u304b\u3057\u3069\u3046\u3082\u3053\u308c\u304c\u8ca0\u62c5\u306e\u3088\u3046\u3067\uff0cRPi3, RPi3+\u3068\u3082VLC\u304c1\u65e5\u4ee5\u4e0a\u5b89\u5b9a\u3057\u3066RTSP\u3092\u518d\u751f\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u305b\u3093\uff0e\u305d\u308c\u3067\uff0c\u5c0f\u30e1\u30e2\u30ea\u30fc\u306bZRAM\u306f\u4e0d\u9069\u3068\u3044\u3063\u305f\u3093\u306f\u7d50\u8ad6\u3065\u3051\u307e\u3057\u305f\uff0e \u3057\u304b\u3057\uff0cRPi\u3067VLC\u3092\u4f7f\u3063\u3066RTSP\u3092\u518d\u751f\u3059\u308b\u306b\u3042\u305f\u308a\uff0cSWAP\u304c500MB\u4ee5\u4e0a\u5fc5\u8981\u306a\u30b1\u30fc\u30b9\u306f\u306a\u3044\u3088\u3046\u3067\u3059\uff0e\u5c11\u306a\u304f\u3068\u3082dphys-swapfile\u3067\u306f\u521d\u671f\u5024\u304c512MB\u3067\uff0c\u52d5\u4f5c\u72b6\u6cc1\u3092\u898b\u3066\u3082SWAP\u306e\u4f7f\u7528\u304c300MB\u3092\u8d85\u3048\u308b\u3053\u3068\u306f\u306a\u3044\u3067\u3059\uff0e \u3068\u3044\u3046\u3053\u3068\u3067\uff0cZRAM\u306b\u3064\u3044\u3066\u3082SWAP\u306e\u5bb9\u91cf\u306f400\u301c500MB\u3067\u826f\u3044\u306e\u3067\u306f\u306a\u3044\u304b\u3068\u601d\u3044\uff0c\u73fe\u5728\u4e3b\u8a18\u61b6\u306e50%\u3068\u3044\u3046\u8a2d\u5b9a\u3067\u52d5\u304b\u3057\u3066\u3044\u307e\u3059\uff0e\u4eca\u306e\u3068\u3053\u308dRPi3\u3082RPi3+\u3082\u307e\u308b1\u65e5\u4ee5\u4e0a\u5b89\u5b9a\u3057\u3066VLC\u304cRTSP\u3092\u518d\u751f\u3057\u7d9a\u3051\u3066\u3044\u307e\u3059\uff0e \u3068\u3053\u308d\u3067\uff0cRPi Zero 2 WH\u3067\u3059\u304c\uff0c\u3053\u3061\u3089\u306f\u4e3b\u8a18\u61b6\u304c500MB\u3067\uff0cVLC\u3067RTSP\u3092\u518d\u751f\u3059\u308b\u3068SWAP\u306e\u9818\u57df\u306f200MB\u3092\u8d8a\u3048\u307e\u3059\u306e\u3067\uff0c\u304a\u305d\u3089\u304fZRAM\u306e\u9818\u57df\u3092\u4e3b\u8a18\u61b6\u306e50%\u3068\u3057\u305f\u3068\u3053\u308d\u3067\u5b89\u5b9a\u6027\u306f\u623b\u3089\u306a\u3044\u3068\u601d\u3044\u307e\u3059\uff0e\u305d\u3082\u305d\u3082dphys-swapfile\u3067\u3082\u5b89\u5b9a\u3057\u307e\u305b\u3093\u3057\uff0e \u3068\u3044\u3046\u3053\u3068\u3067\uff0cRPi3\u304a\u3088\u3073RPi3+\u306b\u3064\u3044\u3066\u306f\u3057\u3070\u3089\u304f50%\u3067ZRAM\u306e\u8a66\u7528\u3092\u7d9a\u3051\u307e\u3059\uff0eRPi Zero 2 WH\u306b\u3064\u3044\u3066\u306f\u9580\u67f1\u706f\u3092\u65e5\u306e\u51fa\uff0c\u65e5\u306e\u5165\u308a\u306e\u6642\u523b\u306bOFF\/ON\u3059\u308b\u9580\u756a\u306e\u5f79\u76ee\u3092\u4e0e\u3048\u308b\u3053\u3068\u306b\u3057\u307e\u3059\uff0e<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_daextam_enable_autolinks":"1","footnotes":""},"categories":[8,27,28],"tags":[],"class_list":["post-27134","post","type-post","status-publish","format-standard","hentry","category-linux","category-rasapberry-pi","category-security"],"publishpress_future_action":{"enabled":false,"date":"2026-06-18 02:48:05","action":"change-status","newStatus":"draft","terms":[],"taxonomy":"category","extraData":[]},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/27134","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=27134"}],"version-history":[{"count":0,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/27134\/revisions"}],"wp:attachment":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=27134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=27134"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=27134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}