Consejos para prolongar la duración de un disco de estado sólido al usar GNU/Linux

Disco de estado sólido M-SATA

Hace una semana murió el disco duro de mi tablet pc debido a que me la llevo a todas partes. Tomé la decisión de cambiar el disco duro por uno de estado sólido para mejorar el rendimiento y la autonomía. Si estas usando alguna distribución GNU/Linux en una pc con un disco de estado sólido, podrás prolongar su vida útil con los siguientes consejos que encontré en el wiki de Arch Linux:

Utiliza el sistema de archivos correcto
El sistema de archivos ext4 se diseño para optimizar el rendimiento en discos duros mecánicos, optimizaciones que salen contraproducentes en un disco de estado sólido y no son necesarias. Lo ideal es utilizar el sistema de archivos F2FS en su lugar. El problema es que pocas distribuciones facilitan la elección de este sistema de archivos. En este blog tengo un tutorial paso a paso que describe el proceso de instalación de Arch Linux con este sistema de archivos

Guarda el registro de systemd en la memoria RAM
Systemd guarda un registro del funcionamiento de los servicios del sistema dentro de la carpeta /var/log/journal , si lo guardamos en la memoria RAM reduciremos la cantidad de operaciones del disco, ganaremos algo de rendimiento y el disco se desgastará menos. Para lograrlo crearemos el archivo de configuración /etc/systemd/journald.conf.d/usbstick.conf y agregaremos lo siguiente:

[Journal]
Storage=volatile
RuntimeMaxUse=30M

Guarda la cache de los programas en la memoria RAM
La mayoría de programas de escritorio guardan archivos temporales dentro de la carpeta .cache dentro del directorio del usuario. Estos archivos generalmente solo se ocupan mientras el programa está en funcionamiento, por lo que podemos borrarlos al apagar. Si guardamos dichos archivos en la memoria RAM ahorraremos trabajo al disco y facilitamos el mantenimiento. Para ello agregaremos la siguiente linea en /etc/fstab (introduce tu nombre de usuario donde dice usuario)

tmpfs /home/usuario/.cache tmpfs noatime,nodev,nosuid,size=400M 0 0

Únete a la conversación

58 Comentarios

  1. This is a really good tip especially to those new to the blogosphere. Short but very accurate information?Appreciate your sharing this one. A must read post! Myranda Durante Dreher

  2. Hello there. I found your web site by means of Google while looking for a comparable subject, your website came up. It seems great. I have bookmarked it in my google bookmarks to come back then. Stevana Sayers Stanislaw

  3. I would like to thank you for the efforts you have put in writing this site. I am hoping the same high-grade site post from you in the future as well. Actually your creative writing skills has encouraged me to get my own site going now. Actually blogging is spreading its wings and growing quickly. Your write up is a good example. Briney Thaddeus Symon

  4. Awesome write-up. I am a normal visitor of your website and appreciate you taking the time to maintain the nice site. I will be a regular visitor for a really long time. Brenda Darn Sherlock

  5. I’m truly enjoying the design and layout of your blog. It’s a very easy on the eyes which
    makes it much more pleasant for me to come here and visit more often. Did
    you hire out a developer to create your theme?
    Outstanding work!

  6. Hello there. I discovered your web site via Google while searching for a similar subject, your web site came up. It looks good. I have bookmarked it in my google bookmarks to visit then. Celestia Ray Wolfy

  7. Definitely believe that which you stated. Your favorite justification appeared to be on the net the simplest thing to be aware of. I say to you, I certainly get irked while people think about worries that they just do not know about. You managed to hit the nail upon the top and also defined out the whole thing without having side effect , people can take a signal. Will likely be back to get more. Thanks| Amberly Ignacius Elliott

  8. Somebody essentially help to make seriously articles I might state. This is the first time I frequented your web page and up to now? I amazed with the research you made to create this actual submit incredible. Fantastic task! Danit Gustaf Grani

  9. You have made some really good points there. I checked on the web to find out more about the issue and found most individuals will go along with your views on this web site. Leanora Mark Vitkun

  10. Magnificent beat ! I wish to apprentice while you amend your website, how can i subscribe for a weblog web site? The account aided me a acceptable deal. I have been a little bit acquainted of this your broadcast provided shiny transparent idea| Chickie Kahaleel Jit

  11. May I just say what a relief to find somebody who truly knows what they are talking about on the net. You actually realize how to bring a problem to light and make it important. A lot more people should read this and understand this side of your story. I was surprised that you are not more popular since you definitely have the gift. Kaycee Egon Harrell

  12. Hi there. I discovered your blog by way of Google even as searching for a related subject, your web site got here up. It seems to be good. I have bookmarked it in my google bookmarks to visit then. Penny Burr Phillipe

  13. Hello my loved one! I wish to say that this article is awesome, great written and come with approximately all significant infos. I would like to peer more posts like this .| Cherye Anders Arela

  14. Excellent beat ! I wish to apprentice while you amend your site, how could i subscribe for a blog site? The account aided me a acceptable deal. I had been tiny bit acquainted of this your broadcast provided bright clear idea Chiquita Roderic Levey

  15. Hi, I do believe your site might be having web browser compatibility issues. Whenever I look at your blog in Safari, it looks fine but when opening in IE, it has some overlapping issues. I just wanted to provide you with a quick heads up! Apart from that, excellent website! Charissa Tull Lang

  16. Hi, I do think this is an excellent website. I stumbledupon it 😉 I will come back yet again since I bookmarked
    it. Money and freedom is the greatest way to change,
    may you be rich and continue to guide others.

  17. I’ve been surfing online more than 4 hours today, yet
    I never found any interesting article like yours. It’s pretty worth enough for me.
    In my opinion, if all site owners and bloggers made good content
    as you did, the internet will be much more useful than ever before.

  18. I’m really enjoying the design and layout of your blog.

    It’s a very easy on the eyes which makes it much more pleasant for me to come here
    and visit more often. Did you hire out a developer to create your theme?
    Fantastic work!

  19. Having read this I thought it was really informative.
    I appreciate you taking the time and effort to put this short article together.
    I once again find myself spending a lot of time both reading and leaving comments.
    But so what, it was still worth it!

  20. Amazing blog! Do you have any suggestions for
    aspiring writers? I’m hoping to start my own website soon but I’m a little lost on everything.
    Would you suggest starting with a free platform like WordPress or go for a paid option? There are so many choices out
    there that I’m completely confused .. Any recommendations?
    Appreciate it!

    my page: CBD for dogs

  21. Have you ever thought about including a little bit more than just
    your articles? I mean, what you say is important and all.
    But think about if you added some great visuals or
    videos to give your posts more, “pop”! Your content is excellent but with pics and clips,
    this website could certainly be one of the most beneficial in its field.
    Great blog!

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *