Originally Posted by toddbailey
Thanks for the link,
a lot of questions and setup to digest.. a good place to start in any event
That thread needs to be cleaned up and made concise. A background project.
A linux system does not require a swap at all ! However you must understand the consequences. If your system ever runs low on memory then the kernel will pick some process and kill it. It's not necessarily the process requesting additional memory. So some process is killed seemingly at random. IOW the system starts acting erratically.
If you have a swap partition and that fills you get the same behavior.
dd-wiz' correctly describes why a ramdisk/tmpfs swap makes no sense.
Also swap is used for suspend, and you need a swap at least as large as DRAM to suspend.
So if you don't care about suspend and you are convinced of your memory usage - go for it.
You want to mount any fs on the SSD with the 'discard' option (add it to /etc/fstab entry).
There is an 'fstrim' utility that trims mounted flesystems (some of them, ext2/3/4 at least). Use it once after install.
ext2/3/4 file systems, by default-config set aside a LOT of storage for special reserved blocks to permit logs and root activity after the disk is mostly filled. The default is 5% of disk space (~1.6GB for yours) , but IMO you only need a few MB to store some logs as to why your system failed.
To recoup the 5% of reserved ext3/4 storage you need to ....
tune2fs -r 1024 /dev/sda1 # or other ext partition
You can do this on a mounted filesystem. [1024 - 4k blocks (4MB) remain as a reserve].