{"id":1507,"date":"2016-12-14T00:45:00","date_gmt":"2016-12-14T06:45:00","guid":{"rendered":"http:\/\/linuxitos.com\/main\/es-necesario-la-swap-en-una-distro-linux\/"},"modified":"2016-12-14T00:45:00","modified_gmt":"2016-12-14T06:45:00","slug":"es-necesario-la-swap-en-una-distro-linux","status":"publish","type":"post","link":"https:\/\/linuxitos.com\/main\/es-necesario-la-swap-en-una-distro-linux\/","title":{"rendered":"\u00bfEs necesario la SWAP en una distro Linux?"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\">\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/4.bp.blogspot.com\/-aO09cV3KaWg\/WFDQv1FsXPI\/AAAAAAAAELg\/AS1rjg9zP1E84FlJDHYHsh0MgPMsSuwKACEw\/s1600\/duda-memoria-ram-es-necesaria-una-partici%25C3%25B3n-swap-en-gnu-Linux-1024x640.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img decoding=\"async\" border=\"0\" src=\"https:\/\/4.bp.blogspot.com\/-aO09cV3KaWg\/WFDQv1FsXPI\/AAAAAAAAELg\/AS1rjg9zP1E84FlJDHYHsh0MgPMsSuwKACEw\/s1600\/duda-memoria-ram-es-necesaria-una-partici%25C3%25B3n-swap-en-gnu-Linux-1024x640.png\" \/><\/a><\/div>\n<p><span style=\"font-size: large;\"><br \/><\/span><\/p>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Una pregunta que se formula muy a menudo, sobre todo por los nuevos usuarios de GNU\/Linux es: \u00ab\u00bfEs necesario una partici\u00f3n swap para instalar Linux?\u00bb.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Esta pregunta suele venir junto con otra: \u00ab\u00bfCu\u00e1nto espacio el asigno a la partici\u00f3n SWAP entonces?\u00bb.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Quiz\u00e1 ya sea todo un clich\u00e9 esta pregunta, pero nunca est\u00e1 dem\u00e1s conocer una opini\u00f3n mas. De tal manera que en este post pretendo explicar para qu\u00e9 se utiliza la partici\u00f3n swap en Linux y si es realmente necesaria en todos los casos, todo esto, con base a mi experiencia que he tenido en estos sistemas operativo.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">La memoria ram es limitada. Al encender el equipo se tendr\u00e1 disponible gran parte su memoria, ya que se supone que no se est\u00e1 ejecutado ning\u00fan programa. S\u00f3lo se estar\u00e1n ejecutando los procesos necesarios para poder hacer funcionar al sistema operativo y seg\u00fan se vaya utilizando el equipo se comenzar\u00e1 a abrir aplicaciones, como el navegador, el editor de documentos, Telegram, Skype y una larga lista. La memoria se va llenando m\u00e1s y m\u00e1s y el equipo cada vez va m\u00e1s lento. Es l\u00f3gico que no funcione tan bien como cuando no ten\u00edamos ninguna aplicaci\u00f3n iniciada.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: center;\"><span style=\"font-size: large;\">Y entonces, a todo esto surge una pregunta.<\/span><\/div>\n<div style=\"text-align: center;\"><span style=\"font-size: large;\">\u00bfQu\u00e9 pasa cuando ya no queda m\u00e1s memoria RAM?<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Al ir abriendo m\u00e1s aplicaciones hasta el punto de llenar toda la memoria, llegar\u00e1 un instante en el que no se podr\u00e1 ejecutar ninguna m\u00e1s. Ser\u00e1 entonces cuando Linux comience a matar procesos y obviamente, no queremos eso.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Los procesos que matar\u00e1 Linux ser\u00e1n aquellos que no comprometan la estabilidad del sistema. Tienen prioridad aquellos que hacen funcionar el sistema operativo antes que Skype o el navegador. En este momento cedemos el control al sistema operativo para que gestione las tareas como \u00e9l crea conveniente y por lo menos el equipo siga funcionando.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: x-large;\">Memoria RAM + swap<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">La memoria RAM y la swap permiten simular una RAM de mayor tama\u00f1o que la f\u00edsicamente instalada. Esto tiene como ventaja que proporciona un espacio de memoria adicional que es a veces necesaria para continuar ejecutando procesos. Ya se sabe entonces que Linux matar\u00e1 procesos cuando la memoria f\u00edsica instalada se acabe y no haya espacio para m\u00e1s.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: x-large;\">Memoria swap<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">La memoria swap o de intercambio utiliza espacio en el disco duro en lugar de en el m\u00f3dulo de memoria RAM. La escritura en disco (al menos en los mec\u00e1nicos) es lenta y el uso de esta memoria puede causar un descenso de rendimiento en el sistema. Por otra parte, es preferible que el equipo vaya algo m\u00e1s lento a que empiece a cerrar programas.<\/span><\/div>\n<p><span style=\"font-size: large;\"><br \/><\/span><span style=\"font-size: large;\">Ahora, debo aclarar algo:<\/span><br \/><span style=\"font-size: large;\"><br \/><\/span><\/p>\n<blockquote><p><span style=\"font-size: large;\">Que haya asignado un espacio en disco para la memoria swap no quiere decir que tenga que utilizarse obligadamente.<\/span><\/p><\/blockquote>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Obviamente, la memoria RAM es mucho m\u00e1s r\u00e1pida, pero el uso de la swap es algo que puede salvarnos la vida en un determinado instante.<\/span><\/div>\n<p><span style=\"font-size: large;\"><br \/><\/span><span style=\"font-size: x-large;\">\u00bfY entonces es necesario la memoria swap?<\/span><br \/><span style=\"font-size: large;\"><br \/><\/span><\/p>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Si tienes una m\u00e1quina con 1GB de RAM desde mi punto de v\u00edsta, s\u00ed necesitas swap, aunque seg\u00fan el uso que le vayas a dar. Como ya he mencionado anteriormente, si se abren muchas aplicaciones el uso de la RAM crecer\u00e1 y llegar\u00e1 un momento en el que la memoria se llene.<\/span><\/div>\n<p><span style=\"font-size: large;\"><br \/><\/span><\/p>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">En mi laptop personal tengo 16GB de RAM, por lo que no necesito memoria swap de manera obligatoria o necesaria. Sin embargo tengo asignada 8GB. Ya que he llegado a ejecutar hasta 5 m\u00e1quinas virtuales, entornos de desarrollo abiertos, Telegram, navegadores, &nbsp;varias cosas m\u00e1s, y &nbsp;he llegado a usar hasta 12GB de RAM como m\u00ednimo. Por lo tanto, la probabilidad que se agote es mucha, y no quiero por alguna raz\u00f3n esto pase y el SO mate alg\u00fan proceso &nbsp;que estoy utilizando, o peor a\u00fan, que reinicie el entorno de escritorio.<\/span><\/div>\n<p><span style=\"font-size: large;\"><br \/><\/span><span style=\"font-size: x-large;\">\u00bfCu\u00e1nto espacio le asigno a la partici\u00f3n swap?<\/span><br \/><span style=\"font-size: large;\"><br \/><\/span><span style=\"font-size: large;\">En caso de que sea necesaria, esto es lo que se recomienda para la swap:<\/span><br \/><span style=\"font-size: large;\"><br \/><\/span><span style=\"font-size: large;\">&#8211; 1 GB de RAM o menos: la misma cantidad para la swap.<\/span><br \/><span style=\"font-size: large;\">&#8211; Entre 2 GB y 4 GB de RAM: la mitad para la swap.<\/span><br \/><span style=\"font-size: large;\">&nbsp;M\u00e1s de 4 GB de RAM: 2 GB de swap.<\/span><br \/><span style=\"font-size: large;\"><br \/><\/span><span style=\"font-size: x-large;\">\u00bfC\u00f3mo s\u00e9 si se est\u00e1 usando la SWAP?<\/span><br \/><span style=\"font-size: x-large;\"><br \/><\/span><span style=\"font-size: large;\">En la mayor\u00eda de las distros se puede instalar la utilidad htop, top o atop, para ver la cantidad de recursos que est\u00e1 usando cada proceso.<\/span><br \/><span style=\"font-size: large;\"><br \/><\/span><\/p>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Tengo una PC en el trabajo, con Fedora 25 y Gnome 3.22 con 8GB en RAM, y estaba realizando unas pruebas en red con m\u00e1quinas virtuales, 2 en Virtualbox con windows y 1 con Centos en VMware, adem\u00e1s, el navegador Yandex , Chrome, el editor de texto, y otras utilidades, el resultado de htop fue el siguiente:<\/span><\/div>\n<p><span style=\"font-size: large;\"><br \/><\/span><\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/4.bp.blogspot.com\/-jR9rY3-Cj3M\/WFDWnPcLVKI\/AAAAAAAAELw\/Qkx34x1JEBI_17qYprhWUOoHEN8spwZCQCLcB\/s1600\/Captura%2Bde%2Bpantalla%2Bde%2B2016-12-13%2B19-44-03.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img decoding=\"async\" border=\"0\" src=\"https:\/\/4.bp.blogspot.com\/-jR9rY3-Cj3M\/WFDWnPcLVKI\/AAAAAAAAELw\/Qkx34x1JEBI_17qYprhWUOoHEN8spwZCQCLcB\/s1600\/Captura%2Bde%2Bpantalla%2Bde%2B2016-12-13%2B19-44-03.png\" \/><\/a><\/div>\n<p><span style=\"font-size: large;\"><br \/><\/span><\/p>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Pr\u00e1cticamente la memoria SWAP ha entrado en uso, en este caso, s\u00ed es necesario contar con ella. Esto demuestra entonces, que depender\u00e1 mucho de los programas y el uso que se le d\u00e9 al equipo.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: x-large;\">Adicional: utilizar zswap<\/span><\/div>\n<p><span style=\"font-size: large;\"><br \/><\/span><\/p>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Zswap es un m\u00f3dulo que se integr\u00f3 a partir del Kernel 3.11 a Linux y b\u00e1sicamente lo que hace es funcionar como compresor de paginado para mejorar el uso de RAM y Swap en un sistema.<\/span><\/div>\n<p><span style=\"font-size: large;\"><br \/><\/span><\/p>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">La ventaja de Zswap con respecto a Zram radica en el hecho de que ya viene integrado en cualquier kernel Linux de cualquier distro a partir de la versi\u00f3n 3.11 (s\u00f3lamente tenemos que habilitarlo en caso de que no lo est\u00e9) mientras que zRAM se tiene que instalar aparte y en algunas distros como fedora esto es un tedio. Por otro lado, Zswap est\u00e1 pensado para beneficiar a todo tipo de equipos, desde el m\u00e1s antiguo con el m\u00ednimo de RAM disponible hasta el m\u00e1s nuevo y moderno al ser s\u00f3lo un compresor que en t\u00e9rminos simples hace que \u00abm\u00e1s aplicaciones quepan en la memoria RAM\u00bb (o ante los ojos del usuario as\u00ed se nota aunque de fondo sea m\u00e1s compleja su funci\u00f3n) mientras que zRAM ocupa equipos con al menos 1GB de RAM para \u00abhacer impacto\u00bb pues realmente s\u00f3lo es una swap que corre dentro de la RAM.<\/span><\/div>\n<p><span style=\"font-size: large;\"><br \/><\/span><\/p>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Al tener Zswap activado no s\u00f3lo hay una mejor gesti\u00f3n de RAM en el sistema sino que tambi\u00e9n los procesos enviados a swap son much\u00edsimo m\u00e1s r\u00e1pidos al intercambiar I\/O con la RAM, traduci\u00e9ndose esto en una computadora que:<\/span><\/div>\n<p><span style=\"font-size: large;\"><br \/><\/span><span style=\"font-size: large;\">a) Va a ser dif\u00edcil que se vuelva lenta.<\/span><\/p>\n<p><span style=\"font-size: large;\">b) En caso de que se vuelva lenta va a regresar pronto a operaci\u00f3n rescatable en lugar de congelarse por completo.<\/span><br \/><span style=\"font-size: large;\"><br \/><\/span><span style=\"font-size: large;\">En algunas distros ya viene activado por default zswap, en otros casos es necesario hacerlo.<\/span><br \/><span style=\"font-size: large;\"><br \/><\/span><span style=\"font-size: large;\">Para saber si ya est\u00e1 activado, ejecutar el siguiente comando:<\/span><br \/><span style=\"font-size: large;\"><br \/><\/span><\/p>\n<div style=\"background-color: white; border: 0px; color: #262626; font-family: &quot;Carrois Gothic&quot;, sans-serif; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<pre style=\"background: rgb(54, 63, 72); border-radius: 6px; border: 0px; box-sizing: border-box; color: white; font-family: menlo, monaco, monospace; font-style: inherit; font-weight: inherit; line-height: 15.68px; margin-bottom: 1.1em; max-width: 100%; outline: 0px; overflow: auto; padding: 13.125px 16.4062px; vertical-align: baseline; white-space: pre-wrap; word-wrap: break-word;\">dmesg | grep zswap<\/pre>\n<div style=\"font-size: 12.8px;\"><\/div>\n<\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Si muestra una salida parecida a esta, quiere decir, que ya est\u00e1 activada:<\/span><\/div>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/2.bp.blogspot.com\/-aY9VtxX09vU\/WFDaAvgFTmI\/AAAAAAAAEL8\/UrvYe19ZvZsDLrpS_G0hCqXf9XsKvNsdQCLcB\/s1600\/Captura%2Bde%2Bpantalla%2Bde%2B2016-12-13%2B23-33-31.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img decoding=\"async\" border=\"0\" src=\"https:\/\/2.bp.blogspot.com\/-aY9VtxX09vU\/WFDaAvgFTmI\/AAAAAAAAEL8\/UrvYe19ZvZsDLrpS_G0hCqXf9XsKvNsdQCLcB\/s1600\/Captura%2Bde%2Bpantalla%2Bde%2B2016-12-13%2B23-33-31.png\" \/><\/a><\/div>\n<p><span style=\"font-size: large;\"><br \/><\/span><\/p>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">En caso de que no, entonces abrir el archivo&nbsp;<\/span><span style=\"font-size: x-large;\">sudo gedit \/etc\/default\/grub<\/span><span style=\"font-size: large;\"> y buscar la l\u00ednea que comienza por&nbsp;<\/span><b><span style=\"font-size: x-large;\">GRUB_CMDLINE_LINUX<\/span><\/b><span style=\"font-size: large;\"> y agregar al final antes de las comillas&nbsp;<\/span><b><span style=\"font-size: x-large;\">zswap.enabled=1<\/span><\/b><\/div>\n<p><span style=\"font-size: large;\"><br \/><\/span><span style=\"font-size: large;\">De tal manera que el archivo quedar\u00e1 se la siguiente manera:<\/span><br \/><span style=\"font-size: large;\"><br \/><\/span><\/p>\n<pre style=\"background-attachment: initial; background-clip: initial; background-image: url(&quot;assets\/shadow.png&quot;); background-origin: initial; background-position: 50% 100%; background-repeat: repeat-x; background-size: initial; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-shadow: rgb(204, 204, 204) 0px 0px 3px; box-sizing: border-box; font-family: &quot;Courier 10 Pitch&quot;, Courier, monospace; font-size: 1.5rem; font-stretch: normal; font-style: inherit; font-weight: inherit; line-height: 1.6; margin-bottom: 10px; max-width: 100%; outline: 0px; overflow: auto; padding: 9.5px; tab-size: 4; text-shadow: rgb(255, 255, 255) 0px 1px 0px; vertical-align: baseline; word-break: break-all; word-wrap: break-word;\"><span style=\"border: 0px; font-family: menlo, monaco, consolas, &quot;courier new&quot;, monospace; font-size: 15px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; line-height: 18.5714px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; white-space: pre-wrap;\"><span style=\"background-color: whitesmoke; color: #333333;\">GRUB_TIMEOUT=5<br \/>GRUB_DISTRIBUTOR=\"$(sed 's, release .*$,,g' \/etc\/system-release)\"<br \/>GRUB_DEFAULT=saved<br \/>GRUB_DISABLE_SUBMENU=true<br \/>GRUB_TERMINAL_OUTPUT=\"console\"<br \/>GRUB_CMDLINE_LINUX=\"rd.lvm.lv=fedora\/root rd.lvm.lv=fedora\/swap rhgb quiet <\/span><span style=\"background-color: red;\"><span style=\"color: white;\">zswap.enabled=1<\/span><\/span><span style=\"background-color: whitesmoke; color: #333333;\">\"<br \/>GRUB_DISABLE_RECOVERY=\"true\"<\/span><\/span><\/span><\/pre>\n<p><span style=\"font-size: large;\"><br \/><\/span><span style=\"font-size: large;\">Ahora, actualizar el grub o reiniciar el equipo:<\/span><br \/><span style=\"font-size: large;\"><br \/><\/span><span style=\"font-size: large;\">Ubuntu:<\/span><\/p>\n<div style=\"background-color: white; border: 0px; color: #262626; font-family: &quot;Carrois Gothic&quot;, sans-serif; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<pre style=\"background: rgb(54, 63, 72); border-radius: 6px; border: 0px; box-sizing: border-box; color: white; font-family: menlo, monaco, monospace; font-style: inherit; font-weight: inherit; line-height: 15.68px; margin-bottom: 1.1em; max-width: 100%; outline: 0px; overflow: auto; padding: 13.125px 16.4062px; vertical-align: baseline; white-space: pre-wrap; word-wrap: break-word;\">sudo update-grub<\/pre>\n<\/div>\n<p><span style=\"font-size: large;\">Fedora:<\/span><\/p>\n<div style=\"background-color: white; border: 0px; color: #262626; font-family: &quot;Carrois Gothic&quot;, sans-serif; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<pre style=\"background: rgb(54, 63, 72); border-radius: 6px; border: 0px; box-sizing: border-box; color: white; font-family: menlo, monaco, monospace; font-style: inherit; font-weight: inherit; line-height: 15.68px; margin-bottom: 1.1em; max-width: 100%; outline: 0px; overflow: auto; padding: 13.125px 16.4062px; vertical-align: baseline; white-space: pre-wrap; word-wrap: break-word;\">grub2-mkconfig -o \/boot\/grub2\/grub.cfg<\/pre>\n<\/div>\n<p><span style=\"font-size: large;\">Arch:<\/span><\/p>\n<div style=\"background-color: white; border: 0px; color: #262626; font-family: &quot;Carrois Gothic&quot;, sans-serif; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<pre style=\"background: rgb(54, 63, 72); border-radius: 6px; border: 0px; box-sizing: border-box; color: white; font-family: menlo, monaco, monospace; font-style: inherit; font-weight: inherit; line-height: 15.68px; margin-bottom: 1.1em; max-width: 100%; outline: 0px; overflow: auto; padding: 13.125px 16.4062px; vertical-align: baseline; white-space: pre-wrap; word-wrap: break-word;\">sudo update-grub<\/pre>\n<\/div>\n<p><span style=\"font-size: large;\"><br \/><\/span><\/p>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Si se ejecuta el comando de comprobaci\u00f3n de zswap de nuevo, ahora ya deber\u00e1 mostrar como activado.<\/span><\/div>\n<p><span style=\"font-size: large;\"><br \/><\/span><span style=\"font-size: x-large;\">Conclusi\u00f3n:<\/span><\/p>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">La partici\u00f3n SWAP, aparentemente no es necesaria si no se va a utilizar el equipo para actividades que requieran uso de la memoria RAM de manera exigente. Aunque, nunca est\u00e1 de m\u00e1s prevenir y dejarle por lo menos 2GB de SWAP, s\u00f3lo por si acaso.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Este tema es bastante controvertido en la comunidad Linux, as\u00ed que los animo a dejar sus comentarios sobre si la swap es necesaria o no.<\/span><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Una pregunta que se formula muy a menudo, sobre todo por los nuevos usuarios de GNU\/Linux es: \u00ab\u00bfEs necesario una partici\u00f3n swap para instalar Linux?\u00bb. Esta pregunta suele venir junto con otra: \u00ab\u00bfCu\u00e1nto espacio el asigno a la partici\u00f3n SWAP entonces?\u00bb. Quiz\u00e1 ya sea todo un clich\u00e9 esta pregunta, pero nunca est\u00e1 dem\u00e1s conocer una [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,4,263,174,264],"tags":[],"class_list":["post-1507","post","type-post","status-publish","format-standard","hentry","category-fedora","category-linux","category-ram","category-swap","category-zswap"],"_links":{"self":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts\/1507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/comments?post=1507"}],"version-history":[{"count":0,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts\/1507\/revisions"}],"wp:attachment":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/media?parent=1507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/categories?post=1507"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/tags?post=1507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}