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 this

Optimize SSD

Postby rance on 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.
rance
Level 1
Level 1
 
Posts: 1
Joined: Sat Oct 20, 2012 8:23 pm

Linux Mint is funded by ads and donations.
 

Re: Optimize SSD

Postby catweazel on 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
KDE 4.12.0, custom preemptive kernel 3.12.5,
Intel i7 4770K @ 4.7GHz, 16GB 2666MHz XMP,
4 Samsung 840 PRO 512GB SSDs in RAID0,
6TB HW RAID10, dual 24" Acer X243H,
Gigabyte nVidia GTX 680 Super Overclock
User avatar
catweazel
Level 7
Level 7
 
Posts: 1656
Joined: Fri Oct 12, 2012 9:44 pm


Return to Newbie Questions

Who is online

Users browsing this forum: Hecubus and 27 guests