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
rance
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

Yo,

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:
http://community.linuxmint.com/tutorial/view/293

I'm just wondering if the things mentioned by Vincent here are needed:
viewtopic.php?f=90&t=79503#p461796

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
catweazel
Level 7
Level 7
Posts: 1658
Joined: Fri Oct 12, 2012 9:44 pm

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:
viewtopic.php?f=90&t=79503#p461796


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.

HTH
Mint Testing Team & Mint Donor #3606
Intel i7 4820K @ 4.7GHz, 32GB Corsair Vengeance Pro
2133MHz XMP, 4 Samsung 850 PRO 512GB SSDs in
RAID0, 12TB HW RAID10, 3 x 24" Samsung UlHD,
Custom pre-emptive kernel 4.7.5,
Dual nVidia GTX 1080


Return to “Newbie Questions”

Who is online

Users browsing this forum: No registered users and 19 guests