{"id":26953,"date":"2025-05-30T15:25:25","date_gmt":"2025-05-30T06:25:25","guid":{"rendered":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=26953"},"modified":"2025-05-30T15:25:25","modified_gmt":"2025-05-30T06:25:25","slug":"zram-6-%e5%b0%8f%e3%83%a1%e3%83%a2%e3%83%aa%e3%83%bc%e3%81%ab%e3%81%af%e4%b8%8d%e9%81%a9%e3%81%8b%e3%82%82","status":"publish","type":"post","link":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=26953","title":{"rendered":"zram (6) \u5c0f\u30e1\u30e2\u30ea\u30fc\u306b\u306f\u4e0d\u9069\u304b\u3082"},"content":{"rendered":"\n<p>&#12371;&#12428;&#12414;&#12391;ZRAM&#12434;&#20449;&#22857;&#12375;&#12390;&#65292;&#29694;&#22312;&#20351;&#29992;&#12375;&#12390;&#12356;&#12427;&#20840;&#12390;&#12398;Linux&#12398;&#23455;&#12510;&#12471;&#12531;&#65288;Manjaro AMD64, Debian AMD64, Raspberry Pi 3\/4\/5 Model B&#65289;&#12392;&#20206;&#24819;&#12510;&#12471;&#12531;&#65288;AMD64, x86 32bit&#21508;&#31278;&#12487;&#12451;&#12473;&#12488;&#12525;&#65289;&#12395;&#25505;&#29992;&#12375;&#12390;&#12365;&#12414;&#12375;&#12383;&#65294;<\/p>\n\n\n\n<p>&#12381;&#12428;&#12425;&#12391;&#12399;&#29305;&#12395;&#30446;&#12384;&#12387;&#12383;&#21839;&#38988;&#12399;&#12394;&#12367;&#65292;&#12497;&#12501;&#12457;&#12540;&#12510;&#12531;&#12473;&#30340;&#12395;&#12418;&#12501;&#12449;&#12452;&#12523;&#12420;&#12497;&#12540;&#12486;&#12451;&#12471;&#12519;&#12531;&#12434;&#20351;&#29992;&#12377;&#12427;&#12418;&#12398;&#12424;&#12426;&#23569;&#12394;&#12367;&#12392;&#12418;&#24746;&#12367;&#12399;&#12394;&#12356;&#12392;&#24863;&#12376;&#12390;&#12356;&#12414;&#12377;<sup class=\"modern-footnotes-footnote \" data-mfn=\"1\" data-mfn-post-scope=\"00000000000003270000000000000000_26953\"><a href=\"javascript:void(0)\" role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000003270000000000000000_26953-1\">1<\/a><\/sup><span id=\"mfn-content-00000000000003270000000000000000_26953-1\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"1\">&#12383;&#12384;&#12375;&#65292;&#23458;&#35251;&#30340;&#12395;&#31034;&#12379;&#12427;&#12424;&#12358;&#12394;&#12487;&#12540;&#12479;&#12399;&#12394;&#12356;&#12391;&#12377;&#65294;<\/span>&#65294;<\/p>\n\n\n\n<p>&#29694;&#22312;&#12385;&#12423;&#12387;&#12392;&#12375;&#12383;&#12365;&#12387;&#12363;&#12369;&#12364;&#12354;&#12387;&#12390;Raspberry Pi Zero 2 WH&#12391;&#36938;&#12435;&#12391;&#12356;&#12414;&#12377;&#65294;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-medium\"><img decoding=\"async\" src=\"https:\/\/je1sgh.mydns.jp\/je1sghblog\/wp-content\/uploads\/2025\/05\/IMG_1184-1-480x360.jpeg\" alt=\"\" class=\"wp-image-26955\"><figcaption class=\"wp-element-caption\">Raspberry Pi Zero 2 WH<\/figcaption><\/figure>\n<\/div>\n\n\n<p>&#20170;&#26085;&#12398;&#12431;&#12364;&#23478;&#12391;Raspberry Pi&#12364;&#25285;&#12358;&#19968;&#30058;&#12398;&#20181;&#20107;&#12399;&#65292;&#38450;&#29359;&#12459;&#12513;&#12521;&#12398;&#20986;&#21147;&#12377;&#12427;RTSP&#12434;HDMI&#31471;&#23376;&#12391;&#12388;&#12394;&#12356;&#12384;&#22320;&#12487;&#12472;&#12486;&#12524;&#12499;&#12395;&#20877;&#29983;&#12377;&#12427;&#12371;&#12392;&#12391;&#12377;&#65294;<\/p>\n\n\n\n<p>&#32006;&#20313;&#26354;&#25240;&#12354;&#12426;&#12414;&#12375;&#12383;&#12364;&#65292;&#29694;&#22312;&#12399;<a href=\"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=15899\" data-type=\"post\" data-id=\"15899\">VLC&#12434;&#20351;&#12358;&#12371;&#12392;&#12395;&#33853;&#12385;&#30528;&#12356;&#12390;&#12356;&#12414;&#12377;<\/a>&#65294;&#12371;&#12398;&#20181;&#20107;&#12399;Raspberry Pi 4 Model B (RPi4)&#12394;&#12425;&#12400;&#20313;&#35029;&#12391;&#12377;&#65294;&#20309;&#26085;&#38291;&#12418;&#23433;&#23450;&#21205;&#20316;&#12375;&#12390;&#12367;&#12428;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<p>Raspberry Pi 3 Model B \/ B + (RPi3\/RPi3+)&#12391;&#12399;&#33391;&#12367;&#12390;&#19968;&#26085;&#25345;&#12388;&#12367;&#12425;&#12356;&#12391;&#65292;&#12383;&#12356;&#12390;&#12356;&#19968;&#26085;&#12395;2&#12316;3&#22238;VLC&#12364;&#33853;&#12385;&#12414;&#12377;&#65294;&#31558;&#32773;&#12399;&#12392;&#12418;&#12363;&#12367;&#23478;&#26063;&#12364;&#21033;&#29992;&#12377;&#12427;&#12395;&#12399;&#19981;&#36969;&#12391;&#12377;&#65294;<\/p>\n\n\n\n<p>&#12381;&#12428;&#12391;Raspberry Pi Zero 2 (RPi02)&#12391;&#12399;&#12393;&#12358;&#12363;&#12392;&#12356;&#12358;&#12392;&#65292;&#25968;&#26178;&#38291;&#12418;&#12388;&#12371;&#12392;&#12418;&#12354;&#12426;&#12414;&#12377;&#12364;&#65292;&#25968;&#20998;&#12391;&#33853;&#12385;&#12427;&#12371;&#12392;&#12418;&#12354;&#12426;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<p>&#12381;&#12428;&#12364;&#65292;ZRAM&#12391;&#12399;&#20840;&#28982;&#12384;&#12417;&#12391;&#65292;&#12381;&#12418;&#12381;&#12418;VLC&#12364;&#36215;&#21205;&#12375;&#12414;&#12379;&#12435;&#65294;Raspberry Pi OS&#12398;&#12487;&#12501;&#12457;&#12523;&#12488;&#35373;&#23450;&#12391;&#12354;&#12427;\/var\/swap&#12434;&#20351;&#29992;&#12375;&#12383;&#12501;&#12449;&#12452;&#12523; swap (dphys-swapfile)&#12391;&#12399;&#12381;&#12398;&#25968;&#20998;&#12363;&#12425;&#25968;&#26178;&#38291;&#12392;&#12356;&#12358;&#29366;&#24907;&#12391;&#12377;&#65294;<\/p>\n\n\n\n<p>RPi02&#12398;CPU&#12399;RPi3&#12392;&#21516;&#12376;ARM Cortex-A53&#12391;&#12463;&#12525;&#12483;&#12463;&#12364;1200&rarr;1000MHz&#12395;&#33853;&#12392;&#12373;&#12428;&#12390;&#12356;&#12427;&#12398;&#12364;&#36949;&#12356;&#12394;&#12398;&#12391;&#12383;&#12406;&#12435;&#12513;&#12514;&#12522;&#12540;&#12364;&#23569;&#12394;&#12377;&#12366;&#12427;&#12371;&#12392;&#12364;&#12371;&#12398;&#23433;&#23450;&#24615;&#12398;&#24046;&#12384;&#12392;&#24605;&#12431;&#12428;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<p>&#12402;&#12423;&#12387;&#12392;&#12377;&#12427;&#12392;&#65292;RPi3 (+)&#12398;&#29694;&#22312;&#12398;&#19981;&#23433;&#23450;&#24615;&#65288;1&#26085;&#12395;2&#12316;3&#22238;VLC&#12364;&#33853;&#12385;&#12427;&#65289;&#12418;ZRAM&#12363;&#12425;dphys-swapfile&#12395;&#25147;&#12377;&#12392;&#35299;&#27770;&#12377;&#12427;&#12363;&#12418;&#12375;&#12428;&#12394;&#12356;&#12398;&#12391;&#12420;&#12387;&#12390;&#12415;&#12414;&#12377;&#65294;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u308c\u307e\u3067ZRAM\u3092\u4fe1\u5949\u3057\u3066\uff0c\u73fe\u5728\u4f7f\u7528\u3057\u3066\u3044\u308b\u5168\u3066\u306eLinux\u306e\u5b9f\u30de\u30b7\u30f3\uff08Manjaro AMD64, Debian AMD64, Raspberry Pi 3\/4\/5 Model B\uff09\u3068\u4eee\u60f3\u30de\u30b7\u30f3\uff08AMD64, x86 32bit\u5404\u7a2e\u30c7\u30a3\u30b9\u30c8\u30ed\uff09\u306b\u63a1\u7528\u3057\u3066\u304d\u307e\u3057\u305f\uff0e \u305d\u308c\u3089\u3067\u306f\u7279\u306b\u76ee\u3060\u3063\u305f\u554f\u984c\u306f\u306a\u304f\uff0c\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u7684\u306b\u3082\u30d5\u30a1\u30a4\u30eb\u3084\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3059\u308b\u3082\u306e\u3088\u308a\u5c11\u306a\u304f\u3068\u3082\u60aa\u304f\u306f\u306a\u3044\u3068\u611f\u3058\u3066\u3044\u307e\u3059\uff0e \u73fe\u5728\u3061\u3087\u3063\u3068\u3057\u305f\u304d\u3063\u304b\u3051\u304c\u3042\u3063\u3066Raspberry Pi Zero 2 WH\u3067\u904a\u3093\u3067\u3044\u307e\u3059\uff0e \u4eca\u65e5\u306e\u308f\u304c\u5bb6\u3067Raspberry Pi\u304c\u62c5\u3046\u4e00\u756a\u306e\u4ed5\u4e8b\u306f\uff0c\u9632\u72af\u30ab\u30e1\u30e9\u306e\u51fa\u529b\u3059\u308bRTSP\u3092HDMI\u7aef\u5b50\u3067\u3064\u306a\u3044\u3060\u5730\u30c7\u30b8\u30c6\u30ec\u30d3\u306b\u518d\u751f\u3059\u308b\u3053\u3068\u3067\u3059\uff0e \u7d06\u4f59\u66f2\u6298\u3042\u308a\u307e\u3057\u305f\u304c\uff0c\u73fe\u5728\u306fVLC\u3092\u4f7f\u3046\u3053\u3068\u306b\u843d\u3061\u7740\u3044\u3066\u3044\u307e\u3059\uff0e\u3053\u306e\u4ed5\u4e8b\u306fRaspberry Pi 4 Model B (RPi4)\u306a\u3089\u3070\u4f59\u88d5\u3067\u3059\uff0e\u4f55\u65e5\u9593\u3082\u5b89\u5b9a\u52d5\u4f5c\u3057\u3066\u304f\u308c\u307e\u3059\uff0e Raspberry Pi 3 Model B \/ B + (RPi3\/RPi3+)\u3067\u306f\u826f\u304f\u3066\u4e00\u65e5\u6301\u3064\u304f\u3089\u3044\u3067\uff0c\u305f\u3044\u3066\u3044\u4e00\u65e5\u306b2\u301c3\u56deVLC\u304c\u843d\u3061\u307e\u3059\uff0e\u7b46\u8005\u306f\u3068\u3082\u304b\u304f\u5bb6\u65cf\u304c\u5229\u7528\u3059\u308b\u306b\u306f\u4e0d\u9069\u3067\u3059\uff0e \u305d\u308c\u3067Raspberry Pi Zero 2 (RPi02)\u3067\u306f\u3069\u3046\u304b\u3068\u3044\u3046\u3068\uff0c\u6570\u6642\u9593\u3082\u3064\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u304c\uff0c\u6570\u5206\u3067\u843d\u3061\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\uff0e \u305d\u308c\u304c\uff0cZRAM\u3067\u306f\u5168\u7136\u3060\u3081\u3067\uff0c\u305d\u3082\u305d\u3082VLC\u304c\u8d77\u52d5\u3057\u307e\u305b\u3093\uff0eRaspberry Pi OS\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u3067\u3042\u308b\/var\/swap\u3092\u4f7f\u7528\u3057\u305f\u30d5\u30a1\u30a4\u30eb swap (dphys-swapfile)\u3067\u306f\u305d\u306e\u6570\u5206\u304b\u3089\u6570\u6642\u9593\u3068\u3044\u3046\u72b6\u614b\u3067\u3059\uff0e RPi02\u306eCPU\u306fRPi3\u3068\u540c\u3058ARM Cortex-A53\u3067\u30af\u30ed\u30c3\u30af\u304c1200\u21921000MHz\u306b\u843d\u3068\u3055\u308c\u3066\u3044\u308b\u306e\u304c\u9055\u3044\u306a\u306e\u3067\u305f\u3076\u3093\u30e1\u30e2\u30ea\u30fc\u304c\u5c11\u306a\u3059\u304e\u308b\u3053\u3068\u304c\u3053\u306e\u5b89\u5b9a\u6027\u306e\u5dee\u3060\u3068\u601d\u308f\u308c\u307e\u3059\uff0e \u3072\u3087\u3063\u3068\u3059\u308b\u3068\uff0cRPi3 (+)\u306e\u73fe\u5728\u306e\u4e0d\u5b89\u5b9a\u6027\uff081\u65e5\u306b2\u301c3\u56deVLC\u304c\u843d\u3061\u308b\uff09\u3082ZRAM\u304b\u3089dphys-swapfile\u306b\u623b\u3059\u3068\u89e3\u6c7a\u3059\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u306e\u3067\u3084\u3063\u3066\u307f\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,23,27,28],"tags":[],"class_list":["post-26953","post","type-post","status-publish","format-standard","hentry","category-linux","category-manjaro","category-rasapberry-pi","category-security"],"publishpress_future_action":{"enabled":false,"date":"2026-05-17 09:52:58","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\/26953","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=26953"}],"version-history":[{"count":0,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/26953\/revisions"}],"wp:attachment":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=26953"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=26953"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=26953"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}