[mdlug] MSI Wind SSD Upgrade Question

A. Zimmer andrew.zimmer at comcast.net
Wed Nov 12 10:58:02 EST 2014


On Wed, 12 Nov 2014 08:52:15 -0500
Brandon <bfotiu at gmail.com> wrote:

> 
> "To enable TRIM support then add the *“discard” *mount option to
> */etc/fstab*: change the default *“errors=remount-ro”* into
> *“errors=remount-ro,discard”*. Reboot and you’re done."
> http://visei.com/2011/08/how-to-enable-trim-for-ssds-in-debian-6-0-squeeze/
> 
> Is there anything else I'd need to do?
> 

Since SSDs have uniform seek times, you may want to change the I/O
scheduler for that particular drive from the default CFQ to the
NOOP scheduler.

Let's assume that the SSD is /dev/sda.  Issue the following command:

cat /sys/block/sda/queue/scheduler

You will probably see:

noop [cfq]

which indicates that the CFQ scheduler is active on this drive.

This can be changed with the following command:

echo noop > /sys/block/sda/queue/scheduler

Also, the write performance of SSD's may be affected by the use
of the "discard" mount option.  If this is the case, you can,
as a substitute for "mount discard," periodically issue the
fstrim command:

fstrim mount-point

This command could be included as a cron job (or also with that
abomination known as systemd).

Also again, if using ext4, you may want to consider disabling the
journal to reduce disk writes.  (The value of this is debatable.)



More information about the mdlug mailing list