On 05/11/12 10:07, Toby Corkindale wrote:

>   * set the 'discard' mount flag if you're using ext4, or 'ssd' on btrfs.
> (This tells the SSD when you've deleted stuff to free up space, and 
> allows it to work a lot more efficiently)

That option is "discard" for btrfs too, the "ssd" option (which is
automatically set if the kernel detects the disk as being
non-rotational) determines allocation and commit log strategies.

The "discard" option is not set by default as it can result in poor
performance on some SSDs.

>   * set 'relatime' mount flag as well; it helps performance on 
> everything, and in ssd cases, avoids a bunch of unnecessary writes.

That's the default on any vaguely modern kernel (set as default in
2.6.30 in 2009). :-)

cheers,
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC
_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to