• MonkderVierte@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    Careful with SD; they quickly wear out with lots of small writes. I once fried one as homedir while trying to compile Firefox.

    • greybeard@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      Each write to a memory location wears out that location slightly degrading it’s oxide layer. Flash memories compensate for this by “wear-leveling” which spreads the writes around to different locations to make sure the device wears out evenly.

      It will mark bad locations and stop using them. If you run with the device almost full then it cannot effectively wear level and the few open locations will be overused and wear out.

      It’s not specifically small writes, it’s the number of writes to any one location. But of course it’s faster to do small writes so you end up with more if they are all small.

      Also, there are flash memories optimized for performance that will wear out faster and others that are optimized for longevity that write slower.

      Keeping the device cool will extend it’s life also.

      For longest life, keep the device cool and mostly empty and minimize writes. In critical applications find a device that optimizes lifetime over performance.

    • IndustryStandard@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      Endurance SD cards made for cctv cameras are the way to go. The Endurance versions are slower and slightly more expensive but they last a lot of writes.

    • Zess@lemmy.worldBanned
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      Sounds like you got a shitty SD card. High endurance cards are recommended for frequent writing.

    • PraiseTheSoup@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      4 months ago

      Are SD cards not still the standard storage for digital cameras? I can think of few things designed to produce more small writes than a digital camera.

      • CMonster@discuss.online
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        This person is confusing me. I use SD cards for my cameras and drones and routinely move files and reformat them with no issue. I have several cards that are over 6 years old and used daily. SD is the standard for all current cameras and drones.

      • Swedneck@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 months ago

        they’re more reliable but they still wear out, but i don’t really think it’s a problem you need to worry about, just have in the back of your mind that you’ll want to make a backup after a while so you’re not sitting there with a dying sd card with all your data on it.

        But also IIRC flash storage specifically fails to write data as it wears out, so it’s not like the data is gone.