Optimize SSD

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Level 1
Level 1
Posts: 1
Joined: Sat Oct 20, 2012 8:23 pm

Optimize SSD

Postby rance » Thu Nov 01, 2012 2:11 am


So I'm just curious about which things I need to do to complete my SSD optimization. I've already done everything in this tutorial:

I'm just wondering if the things mentioned by Vincent here are needed:

They are more or less the same, with a few exceptions.

I decided not to make a swap file partition altogether, considering I have excess amounts of RAM.

So is there anything I'm missing? I appreciate any help.

User avatar
Level 9
Level 9
Posts: 2664
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Optimize SSD

Postby catweazel » Thu Nov 01, 2012 2:57 am

rance wrote:I'm just wondering if the things mentioned by Vincent here are needed:

The fstab discard option is required.

Ext4 is capable of issuing TRIM commands but it's turned off by default. The discard parameter turns it on. Without it your drive won't automatically erase blocks (prefill them in the background with binary 1s) when the blocks are no longer needed by the file system. There may be an initial performance hit by turning it on *if* your system is running disk intensive apps such as databases, but the payback is faster write speeds in the long run. If you don't use the discard option then when the file system writes to a non-empty, unused block the SSD must read the whole block and erase it before it can be written to; it's this bottleneck that the TRIM command is intended to overcome.

I also recommend shrinking the first partition on a SSD by about 10% of the total drive capacity (120GB SSD = 12GB free) and leaving the space completely unused and unpartitioned. The SSD's logic board should see that empty space and use it for spare blocks in case of damage and also as additional cache when it's been given a massive file to choke on.

Mint Donor #6036
If your problem is fixed, please mark your thread as [SOLVED] by editing the title of the first message in the thread.

Return to “Newbie Questions”

Who is online

Users browsing this forum: Moem and 8 guests