Package: util-linux Version: 2.20.1-5.5 Severity: wishlist Hello,
Modern SSDs need regular TRIMming [1] to retain their performance. Without it, write performance severely (like 1/50th) goes down over time, as writing a single block incurs reading/updating/writing back several physical blocks. There are two main methods for doing this, synchronously using the "discard" mount option or asynchronously using fstrim [2]. Colin King did some extensive benchmarking and found that on desktops and servers you usually want a cron'ed fstrim [3]. I propose to add a cron.d job to util-linux by default which regularly trims SSD partitions if they support it and don't already have the "discard" mount option set. We'll put a cron job like that into the upcoming Ubuntu 14.04 LTS so that this kind of housekeeping will always be done unless the admin already set it up manually. Is that something you'd consider for Debian as well? My current script is at [4], you can just put it into /etc/cron.daily/ or .weekly/ (but for an official fix I'd rather use cron.d, so that it's easier to adjust by admins) Thanks, Martin [1] http://en.wikipedia.org/wiki/Trim_%28computing%29 [2] http://en.opensuse.org/SDB:SSD_discard_%28trim%29_support [3] https://blueprints.launchpad.net/ubuntu/+spec/core-1311-ssd-trimming [4] http://people.canonical.com/~pitti/scripts/fstrim -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
signature.asc
Description: Digital signature

