leaving unused space on SSD (to increase lifetime)?












1















I am reading that SSD need to have some "garbage collection".



For an SSD which would be the main device of a Linux desktop (the precise model I bought is Samsung SSD 970 EVO M2 - 2Tbytes), does it make sense to leave a small part of it unused?



I'm thinking of e.g. partitioning that SSD such that 2% of it remains in an empty Linux partitioning.



My dream is that by leaving some unused space, I might improve the life time of that SSD (because the firmware inside it would "rotate" that unused space). Does that make sense?



But I am not a hardware guy at all, so I could be very wrong.



This could be a related question (on "unix&linux").










share|improve this question























  • Why the downvote?..

    – Basile Starynkevitch
    Jan 9 at 17:41
















1















I am reading that SSD need to have some "garbage collection".



For an SSD which would be the main device of a Linux desktop (the precise model I bought is Samsung SSD 970 EVO M2 - 2Tbytes), does it make sense to leave a small part of it unused?



I'm thinking of e.g. partitioning that SSD such that 2% of it remains in an empty Linux partitioning.



My dream is that by leaving some unused space, I might improve the life time of that SSD (because the firmware inside it would "rotate" that unused space). Does that make sense?



But I am not a hardware guy at all, so I could be very wrong.



This could be a related question (on "unix&linux").










share|improve this question























  • Why the downvote?..

    – Basile Starynkevitch
    Jan 9 at 17:41














1












1








1








I am reading that SSD need to have some "garbage collection".



For an SSD which would be the main device of a Linux desktop (the precise model I bought is Samsung SSD 970 EVO M2 - 2Tbytes), does it make sense to leave a small part of it unused?



I'm thinking of e.g. partitioning that SSD such that 2% of it remains in an empty Linux partitioning.



My dream is that by leaving some unused space, I might improve the life time of that SSD (because the firmware inside it would "rotate" that unused space). Does that make sense?



But I am not a hardware guy at all, so I could be very wrong.



This could be a related question (on "unix&linux").










share|improve this question














I am reading that SSD need to have some "garbage collection".



For an SSD which would be the main device of a Linux desktop (the precise model I bought is Samsung SSD 970 EVO M2 - 2Tbytes), does it make sense to leave a small part of it unused?



I'm thinking of e.g. partitioning that SSD such that 2% of it remains in an empty Linux partitioning.



My dream is that by leaving some unused space, I might improve the life time of that SSD (because the firmware inside it would "rotate" that unused space). Does that make sense?



But I am not a hardware guy at all, so I could be very wrong.



This could be a related question (on "unix&linux").







linux partitioning ssd






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 9 at 17:20









Basile StarynkevitchBasile Starynkevitch

982411




982411













  • Why the downvote?..

    – Basile Starynkevitch
    Jan 9 at 17:41



















  • Why the downvote?..

    – Basile Starynkevitch
    Jan 9 at 17:41

















Why the downvote?..

– Basile Starynkevitch
Jan 9 at 17:41





Why the downvote?..

– Basile Starynkevitch
Jan 9 at 17:41










1 Answer
1






active

oldest

votes


















1














SSD use TRIM
to avoid too many write operations that will shorten its life expectancy.
However, as TRIM works on much larger blocks than are allocated by the operating
system for sectors, there can be a problem when TRIM requires empty space
for relocating sectors from partially-empty blocks.



For this reason, SSD manufacturers practice Over-Provisioning, which is extra
space that the SSD can use but the operating system cannot allocate.
The SSD firmware will also do Garbage Collection to compact used space
and free as much space as possible.



In spite of Over-Provisioning, it is counseled to leave more free space on the SSD.
The numbers mentioned vary between 10% to 25%, but there are absolutely no
studies that show an optimal number. In short, these numbers are only theoretical
guesses.



I would still think that 2% is a bit low, as 10% was the lowest that I ever saw
mentioned in the articles that I have encountered.



For more information I would recommend the article
The SSD Anthology: Understanding SSDs and New Drives from OCZ
and especially the section
"Putting Theory to Practice: Understanding the SSD Performance Degradation Problem".






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    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%2fsuperuser.com%2fquestions%2f1392378%2fleaving-unused-space-on-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









    1














    SSD use TRIM
    to avoid too many write operations that will shorten its life expectancy.
    However, as TRIM works on much larger blocks than are allocated by the operating
    system for sectors, there can be a problem when TRIM requires empty space
    for relocating sectors from partially-empty blocks.



    For this reason, SSD manufacturers practice Over-Provisioning, which is extra
    space that the SSD can use but the operating system cannot allocate.
    The SSD firmware will also do Garbage Collection to compact used space
    and free as much space as possible.



    In spite of Over-Provisioning, it is counseled to leave more free space on the SSD.
    The numbers mentioned vary between 10% to 25%, but there are absolutely no
    studies that show an optimal number. In short, these numbers are only theoretical
    guesses.



    I would still think that 2% is a bit low, as 10% was the lowest that I ever saw
    mentioned in the articles that I have encountered.



    For more information I would recommend the article
    The SSD Anthology: Understanding SSDs and New Drives from OCZ
    and especially the section
    "Putting Theory to Practice: Understanding the SSD Performance Degradation Problem".






    share|improve this answer




























      1














      SSD use TRIM
      to avoid too many write operations that will shorten its life expectancy.
      However, as TRIM works on much larger blocks than are allocated by the operating
      system for sectors, there can be a problem when TRIM requires empty space
      for relocating sectors from partially-empty blocks.



      For this reason, SSD manufacturers practice Over-Provisioning, which is extra
      space that the SSD can use but the operating system cannot allocate.
      The SSD firmware will also do Garbage Collection to compact used space
      and free as much space as possible.



      In spite of Over-Provisioning, it is counseled to leave more free space on the SSD.
      The numbers mentioned vary between 10% to 25%, but there are absolutely no
      studies that show an optimal number. In short, these numbers are only theoretical
      guesses.



      I would still think that 2% is a bit low, as 10% was the lowest that I ever saw
      mentioned in the articles that I have encountered.



      For more information I would recommend the article
      The SSD Anthology: Understanding SSDs and New Drives from OCZ
      and especially the section
      "Putting Theory to Practice: Understanding the SSD Performance Degradation Problem".






      share|improve this answer


























        1












        1








        1







        SSD use TRIM
        to avoid too many write operations that will shorten its life expectancy.
        However, as TRIM works on much larger blocks than are allocated by the operating
        system for sectors, there can be a problem when TRIM requires empty space
        for relocating sectors from partially-empty blocks.



        For this reason, SSD manufacturers practice Over-Provisioning, which is extra
        space that the SSD can use but the operating system cannot allocate.
        The SSD firmware will also do Garbage Collection to compact used space
        and free as much space as possible.



        In spite of Over-Provisioning, it is counseled to leave more free space on the SSD.
        The numbers mentioned vary between 10% to 25%, but there are absolutely no
        studies that show an optimal number. In short, these numbers are only theoretical
        guesses.



        I would still think that 2% is a bit low, as 10% was the lowest that I ever saw
        mentioned in the articles that I have encountered.



        For more information I would recommend the article
        The SSD Anthology: Understanding SSDs and New Drives from OCZ
        and especially the section
        "Putting Theory to Practice: Understanding the SSD Performance Degradation Problem".






        share|improve this answer













        SSD use TRIM
        to avoid too many write operations that will shorten its life expectancy.
        However, as TRIM works on much larger blocks than are allocated by the operating
        system for sectors, there can be a problem when TRIM requires empty space
        for relocating sectors from partially-empty blocks.



        For this reason, SSD manufacturers practice Over-Provisioning, which is extra
        space that the SSD can use but the operating system cannot allocate.
        The SSD firmware will also do Garbage Collection to compact used space
        and free as much space as possible.



        In spite of Over-Provisioning, it is counseled to leave more free space on the SSD.
        The numbers mentioned vary between 10% to 25%, but there are absolutely no
        studies that show an optimal number. In short, these numbers are only theoretical
        guesses.



        I would still think that 2% is a bit low, as 10% was the lowest that I ever saw
        mentioned in the articles that I have encountered.



        For more information I would recommend the article
        The SSD Anthology: Understanding SSDs and New Drives from OCZ
        and especially the section
        "Putting Theory to Practice: Understanding the SSD Performance Degradation Problem".







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 9 at 20:00









        harrymcharrymc

        256k14268568




        256k14268568






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • 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%2fsuperuser.com%2fquestions%2f1392378%2fleaving-unused-space-on-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

            Probability when a professor distributes a quiz and homework assignment to a class of n students.

            Aardman Animations

            Are they similar matrix