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:
http://forums.linuxmint.com/viewtopic.p ... 03#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.
Optimize SSD
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Optimize SSD
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Optimize SSD
The fstab discard option is required.rance wrote: I'm just wondering if the things mentioned by Vincent here are needed:
http://forums.linuxmint.com/viewtopic.p ... 03#p461796
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
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.