SSD

From Bibliotheca Anonoma

Swapfile[edit]

Warning: Never put the swapfile on a brtfs partition.

Instead of creating a large swap partition, you can create a Swap file, which will be dynamically enlarged and reduced based on need.

If you have a /var partition, it would probably be best to put the swapfile under /var.

https://wiki.archlinux.org/index.php/Swap#Swap_file

Swappiness[edit]

You will want to reduce your system swappiness to as low as possible.

https://wiki.archlinux.org/index.php/Swap#Swappiness

Profile-sync-daemon[edit]

Relocate your Firefox/Chromium profile to your RAM, to reduce read/writes on the SSD.

https://wiki.archlinux.org/index.php/Profile-sync-daemon

To enhance performance, you can also make overlayfs mode available to psd by allowing your user to run the psd-overlay helper tool.

https://wiki.archlinux.org/index.php/Profile-sync-daemon#What_is_overlayfs_mode.3F

tmpfs for compilation[edit]

Compile your programs in the tmpfs, to reduce wear on the SSD.

You can set makepkg to use the built-in tmpfs by setting /etc/makepkg.conf's BUILDDIR to /tmp/makepkg.

Note that if the file you are compiling is in the range of hundreds of megabytes, you may want to compile on the SSD instead by prefixing such a command with BUILDDIR=. .

BFQ Scheduler[edit]

Consider using the Linux-ck kernel, which contains the Brain Fuck Scheduler (BFS) and Budget Fair Queueing (BFQ), offering significant speed improvements for SSDs.

https://wiki.archlinux.org/index.php/Linux-ck

etc.[edit]

http://apcmag.com/how-to-maximise-ssd-performance-with-linux.htm/

https://wiki.archlinux.org/index.php/Solid_State_Drives#Tips_for_Maximizing_SSD_Performance

https://wiki.debian.org/SSDOptimization