LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

tmpfs ~/.cache cleaner daemon-script idea, to clean RAM space while trying to minimize SSD writes

Posted 10-27-2020 at 07:20 AM by the dsc (linux-related notes)
Updated 11-01-2020 at 03:45 AM by the dsc (maybe grammar or worse, maybe style)
Tags hack, script, ssd, tmpfs

In line with the idea of reducing how much it's written on SSD, some people suggest using tmpfs for lots of things, one of them can be the ~/.cache directory. Which must be implemented in a per-user basis or with some pre-mount script that would do such tmpfs mounts before each user login. But regardless, the point is that they may spare the SSD, but not the RAM, obviously. If you quit a cache-heavy program, its cache would still be there, leaving other programs you're running with less RAM to use....
Member
Posted in Uncategorized
Views 127 Comments 0 the dsc is offline
Old

Miscellaneous links and things that helped me on this new install, with SSD issues, systemd, and removable JFS hdd issues, and whatever else

Posted 10-25-2020 at 08:15 AM by the dsc (linux-related notes)
Updated 10-27-2020 at 10:56 PM by the dsc (addition)

"rc.local" doesn't run by default anymore, so:

https://www.troublenow.org/752/debian-10-add-rc-local/
https://www.linuxbabe.com/linux-serv...l-with-systemd

Which in turn may be useful or necessary to have /var/cache/apt/archives as a tmpfs, with this:

Code:
mkdir -p /var/cache/apt/partial 
mkdir -p /var/cache/apt/archives 
mkdir -p /var/cache/apt/archives/partial 

chown -R _apt /var/cache/apt
...
Member
Posted in Uncategorized
Views 1463 Comments 0 the dsc is offline
Old

One way to prepare for sudden SSD failure

Posted 07-01-2020 at 09:55 AM by beachboy2
Updated 07-03-2020 at 03:10 AM by beachboy2

Why SSDs die a sudden death:
https://blog.elcomsoft.com/2019/01/w...-deal-with-it/

There are several ways to prepare for sudden SSD failure.

Here I am using Grsync to manually backup the home folder (/home/fred) regularly to a second drive (/media/drive2).
https://help.ubuntu.com/community/rsync#Grsync

However, one essential refinement must be added to the usual Grsync backup procedure before the drive...
Senior Member
Posted in Uncategorized
Views 817 Comments 0 beachboy2 is offline
Old

tmpfs nfs swapfile - use one computer's RAM as SWAP for another computer

Posted 10-13-2016 at 10:51 AM by IsaacKuo
Updated 10-13-2016 at 02:11 PM by IsaacKuo

Previously, I described how to use one computer's RAM as an SSD (OS drive) for another computer. Here, I describe how to use one computer's RAM as SWAP for another computer. Bear in mind that even a RAM disk over gigabit ethernet isn't going to be as fast as a local SSD, but it's still faster and much more responsive than a local spinning hard drive.

This technique of using another computer's RAM as SWAP is a great way to augment RAMboot, as described here:

http://www.linuxquestions.org/questi...-jessie-37165/...
Senior Member
Posted in Uncategorized
Views 3374 Comments 0 IsaacKuo is offline
Old

RAMboot How-To for Debian 8 Jessie

Posted 09-19-2016 at 01:58 PM by IsaacKuo
Updated 10-17-2016 at 12:48 AM by IsaacKuo
Tags ramboot, ssd, tmpfs

I have refined and updated my RAMboot how-to for Debian 8. Honestly, my previous how-to's still work fine for Debian 8, regardless of the switch to systemd. I have, however, tightened things up.

The basic concept is to boot from a local hard drive or USB drive, using a modified initrd to unpack ramboot/image.tar.gz to a tmpfs ramdisk. From then on, the system runs entirely from ram - uncompressed. This is like running off an extremely fast SSD, but with some important differences:...
Senior Member
Posted in Uncategorized
Views 7984 Comments 4 IsaacKuo is offline

  



All times are GMT -5. The time now is 05:50 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration