Since there is "only" a SSD disk, I considered to not use swap which I think makes hibernation impossible to work, but I don't care but for me, having suspend to ram working would be nice but doesn't work either - I have still to figure out what the cause could be.
My SSD settings:
- Enable trim support (discard) and disable file access time (noeatime)
- No swap partition
- /tmp, /var/run and /var/run/ock to ram (tmpfs)
/etc/fstab:
UUID={UUID} / ext4 rw,discard,noatime,errors=remount-ro 0 1
tmpfs /tmp tmpfs defaults,noexec,nosuid 0 0
/etc/default/rcS:
RAMRUN=yes
RAMLOCK=yes
/etc/sysctl.conf:
vm.swappiness=0
==================================
Some additional fine tuning in power management may has to be done (according to powertop)