From: Petter Reinholdtsen Date: Wed, 17 Jul 2013 22:03:35 +0000 (+0000) Subject: Explain the reasoning behind the crypt setup. X-Git-Url: https://pere.pagekite.me/gitweb/homepage.git/commitdiff_plain/c63c56b3f06c913e6b4f5d7d3f8d281b962d7564?ds=inline Explain the reasoning behind the crypt setup. --- diff --git a/blog/data/2013-07-17-new-laptop.txt b/blog/data/2013-07-17-new-laptop.txt index 7d67fef0fc..6509fe1b3a 100644 --- a/blog/data/2013-07-17-new-laptop.txt +++ b/blog/data/2013-07-17-new-laptop.txt @@ -63,6 +63,16 @@ top of this again. At the moment these parameters are tuned: +

During installation, I cancelled the part where the installer fill +the disk with random data, as this would kill the SSD performance for +little gain. My goal with the encrypted file system is to ensure +those stealing my laptop end up with a brick and not a working +computer. I have no hope in keeping the really resourceful people +from getting the data on the disk (see +XKCD #538 for an explanation why). +Thus I concluded that adding the discard option to crypttab is the +right thing to do.

+

I considered using the noop I/O scheduler, as several recommended it for SSD, but others recommended deadline and a benchmark I found indicated that deadline might be better for interactive use.