How to Optimise SSD to increase lifetime?












1















Do I need to change any settings of Ubuntu Gnome 17.04 to increase the lifespan of my samsung ssd drive? or is it optimized by default?










share|improve this question

























  • No, you don't need to do anything.

    – Pilot6
    Apr 24 '17 at 21:59
















1















Do I need to change any settings of Ubuntu Gnome 17.04 to increase the lifespan of my samsung ssd drive? or is it optimized by default?










share|improve this question

























  • No, you don't need to do anything.

    – Pilot6
    Apr 24 '17 at 21:59














1












1








1








Do I need to change any settings of Ubuntu Gnome 17.04 to increase the lifespan of my samsung ssd drive? or is it optimized by default?










share|improve this question
















Do I need to change any settings of Ubuntu Gnome 17.04 to increase the lifespan of my samsung ssd drive? or is it optimized by default?







ssd 17.04






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 25 '17 at 3:24









Sumeet Deshmukh

4,46563272




4,46563272










asked Apr 24 '17 at 21:28









LauLau

11113




11113













  • No, you don't need to do anything.

    – Pilot6
    Apr 24 '17 at 21:59



















  • No, you don't need to do anything.

    – Pilot6
    Apr 24 '17 at 21:59

















No, you don't need to do anything.

– Pilot6
Apr 24 '17 at 21:59





No, you don't need to do anything.

– Pilot6
Apr 24 '17 at 21:59










1 Answer
1






active

oldest

votes


















2














TRIM function for SSD has been enabled by default since Ubuntu 14.04. This is the major function to help increase the performance and life of your disk.



So, short answer is yes it is optimized, since TRIM is the major function you should worry about. Although you can always check another settings, see link below.



TRIM enables an operating system to notify the SSD of pages which no longer contain valid data. For a file deletion operation, the operating system will mark the files sectors as free for new data, then send a TRIM command to the SSD. After trimming, the SSD will not preserve any contents of the block when writing new data to a page of flash memory, resulting in less write amplification (fewer writes), higher write throughput (no need for a read-erase-modify sequence), thus increasing drive life.



Reference:



Trim- Wikipedia
How to optimize your Solid State Drive for Linux Mint 18.1, Ubuntu 16.04 and Debian






share|improve this answer


























  • That's not precisely correct. Your filesystem has to be mounted with the discard option, which is not the default. Without that mount option, you must periodically run something like fstrim $mountpoint_or_file.

    – Michael Mol
    Apr 29 '17 at 22:38











  • It is run automatically each week by /etc/cron.weekly/fstrim which comes with package util-linux, which is also installed by default.

    – goetzc
    Jul 30 '17 at 18:19













  • Actually the second referenced article mentions whole bunch of other changes to default installation besides TRIM.

    – vucalur
    Oct 29 '17 at 16:49











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f908513%2fhow-to-optimise-ssd-to-increase-lifetime%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














TRIM function for SSD has been enabled by default since Ubuntu 14.04. This is the major function to help increase the performance and life of your disk.



So, short answer is yes it is optimized, since TRIM is the major function you should worry about. Although you can always check another settings, see link below.



TRIM enables an operating system to notify the SSD of pages which no longer contain valid data. For a file deletion operation, the operating system will mark the files sectors as free for new data, then send a TRIM command to the SSD. After trimming, the SSD will not preserve any contents of the block when writing new data to a page of flash memory, resulting in less write amplification (fewer writes), higher write throughput (no need for a read-erase-modify sequence), thus increasing drive life.



Reference:



Trim- Wikipedia
How to optimize your Solid State Drive for Linux Mint 18.1, Ubuntu 16.04 and Debian






share|improve this answer


























  • That's not precisely correct. Your filesystem has to be mounted with the discard option, which is not the default. Without that mount option, you must periodically run something like fstrim $mountpoint_or_file.

    – Michael Mol
    Apr 29 '17 at 22:38











  • It is run automatically each week by /etc/cron.weekly/fstrim which comes with package util-linux, which is also installed by default.

    – goetzc
    Jul 30 '17 at 18:19













  • Actually the second referenced article mentions whole bunch of other changes to default installation besides TRIM.

    – vucalur
    Oct 29 '17 at 16:49
















2














TRIM function for SSD has been enabled by default since Ubuntu 14.04. This is the major function to help increase the performance and life of your disk.



So, short answer is yes it is optimized, since TRIM is the major function you should worry about. Although you can always check another settings, see link below.



TRIM enables an operating system to notify the SSD of pages which no longer contain valid data. For a file deletion operation, the operating system will mark the files sectors as free for new data, then send a TRIM command to the SSD. After trimming, the SSD will not preserve any contents of the block when writing new data to a page of flash memory, resulting in less write amplification (fewer writes), higher write throughput (no need for a read-erase-modify sequence), thus increasing drive life.



Reference:



Trim- Wikipedia
How to optimize your Solid State Drive for Linux Mint 18.1, Ubuntu 16.04 and Debian






share|improve this answer


























  • That's not precisely correct. Your filesystem has to be mounted with the discard option, which is not the default. Without that mount option, you must periodically run something like fstrim $mountpoint_or_file.

    – Michael Mol
    Apr 29 '17 at 22:38











  • It is run automatically each week by /etc/cron.weekly/fstrim which comes with package util-linux, which is also installed by default.

    – goetzc
    Jul 30 '17 at 18:19













  • Actually the second referenced article mentions whole bunch of other changes to default installation besides TRIM.

    – vucalur
    Oct 29 '17 at 16:49














2












2








2







TRIM function for SSD has been enabled by default since Ubuntu 14.04. This is the major function to help increase the performance and life of your disk.



So, short answer is yes it is optimized, since TRIM is the major function you should worry about. Although you can always check another settings, see link below.



TRIM enables an operating system to notify the SSD of pages which no longer contain valid data. For a file deletion operation, the operating system will mark the files sectors as free for new data, then send a TRIM command to the SSD. After trimming, the SSD will not preserve any contents of the block when writing new data to a page of flash memory, resulting in less write amplification (fewer writes), higher write throughput (no need for a read-erase-modify sequence), thus increasing drive life.



Reference:



Trim- Wikipedia
How to optimize your Solid State Drive for Linux Mint 18.1, Ubuntu 16.04 and Debian






share|improve this answer















TRIM function for SSD has been enabled by default since Ubuntu 14.04. This is the major function to help increase the performance and life of your disk.



So, short answer is yes it is optimized, since TRIM is the major function you should worry about. Although you can always check another settings, see link below.



TRIM enables an operating system to notify the SSD of pages which no longer contain valid data. For a file deletion operation, the operating system will mark the files sectors as free for new data, then send a TRIM command to the SSD. After trimming, the SSD will not preserve any contents of the block when writing new data to a page of flash memory, resulting in less write amplification (fewer writes), higher write throughput (no need for a read-erase-modify sequence), thus increasing drive life.



Reference:



Trim- Wikipedia
How to optimize your Solid State Drive for Linux Mint 18.1, Ubuntu 16.04 and Debian







share|improve this answer














share|improve this answer



share|improve this answer








edited Feb 15 at 17:49

























answered Apr 24 '17 at 22:17









Peter ArkPeter Ark

33828




33828













  • That's not precisely correct. Your filesystem has to be mounted with the discard option, which is not the default. Without that mount option, you must periodically run something like fstrim $mountpoint_or_file.

    – Michael Mol
    Apr 29 '17 at 22:38











  • It is run automatically each week by /etc/cron.weekly/fstrim which comes with package util-linux, which is also installed by default.

    – goetzc
    Jul 30 '17 at 18:19













  • Actually the second referenced article mentions whole bunch of other changes to default installation besides TRIM.

    – vucalur
    Oct 29 '17 at 16:49



















  • That's not precisely correct. Your filesystem has to be mounted with the discard option, which is not the default. Without that mount option, you must periodically run something like fstrim $mountpoint_or_file.

    – Michael Mol
    Apr 29 '17 at 22:38











  • It is run automatically each week by /etc/cron.weekly/fstrim which comes with package util-linux, which is also installed by default.

    – goetzc
    Jul 30 '17 at 18:19













  • Actually the second referenced article mentions whole bunch of other changes to default installation besides TRIM.

    – vucalur
    Oct 29 '17 at 16:49

















That's not precisely correct. Your filesystem has to be mounted with the discard option, which is not the default. Without that mount option, you must periodically run something like fstrim $mountpoint_or_file.

– Michael Mol
Apr 29 '17 at 22:38





That's not precisely correct. Your filesystem has to be mounted with the discard option, which is not the default. Without that mount option, you must periodically run something like fstrim $mountpoint_or_file.

– Michael Mol
Apr 29 '17 at 22:38













It is run automatically each week by /etc/cron.weekly/fstrim which comes with package util-linux, which is also installed by default.

– goetzc
Jul 30 '17 at 18:19







It is run automatically each week by /etc/cron.weekly/fstrim which comes with package util-linux, which is also installed by default.

– goetzc
Jul 30 '17 at 18:19















Actually the second referenced article mentions whole bunch of other changes to default installation besides TRIM.

– vucalur
Oct 29 '17 at 16:49





Actually the second referenced article mentions whole bunch of other changes to default installation besides TRIM.

– vucalur
Oct 29 '17 at 16:49


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f908513%2fhow-to-optimise-ssd-to-increase-lifetime%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to make a Squid Proxy server?

Is this a new Fibonacci Identity?

19世紀