• kerrigan778@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    20
    ·
    2 days ago
    1. Don’t use SSDs for a server…
    2. They make SATA M2 adapters
    3. Seriously are you putting sata SSDs in your NAS? Don’t…
      • Gladaed@feddit.org
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        6
        ·
        1 day ago

        And most are wrong or unnecessary. What movie requires SSD performance?

        • sobchak@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          12 hours ago

          HDDs have horrible random access times, so if you need to process or just copy a lot of small files, say photos, there’s a significant penalty.

            • sobchak@programming.dev
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              11 hours ago

              Rsync, syncthing, backups, mp3s, photos, json files; idk, a lot of tasks involve large amounts of small files. I personally ran into this problem training models on millions of photos. My GPUs would only get up to 25% utilization with mirrored HDDs, so I had to switch to SSDs.

              Edit: the difference is also significant when compiling large projects or just using git. I imagine some game servers need a lot of random accesses too.

              • Gladaed@feddit.org
                link
                fedilink
                English
                arrow-up
                1
                ·
                edit-2
                10 hours ago

                Why are you doing that on a network storage as opposed to on device?

                Also who got millions of photos at home?

                • sobchak@programming.dev
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  10 hours ago

                  Not enough room in the GPU machine for all the HDDs I needed.

                  Also who got millions of photos at home?

                  People working on biological datasets.

                  • Gladaed@feddit.org
                    link
                    fedilink
                    English
                    arrow-up
                    1
                    ·
                    edit-2
                    7 hours ago

                    Why are you doing that recreationally? How are you different from a researcher?

                    Why are you using a home server for that?

    • jivandabeast@lemmy.browntown.dev
      link
      fedilink
      English
      arrow-up
      7
      ·
      2 days ago

      There are definitely valid reasons to use SSDs in a server/array. One of my proxmox servers runs 4x m.2s in raidz1 so all my vms are super snappy. Depending on what you’re running you can really see benefits, for example:

      • Elastic Stack
      • Network storage for photo editing
      • Lemmy
      • Immich

      Pretty much anything with a lot of metadata or tons of files will see benefits from running on SSDs, this comes with the caveat that cheap ssds wear quickly and are a pain in the ass but if you need it, you need it

      • Aceticon@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        1 day ago

        Indeed.

        It’s standard distributed systems design to have a hierarchy of storage with different speeds whose contents is allocated based on the frequency with which certain data is accessed, and HDDs are really only good for bulk data which is seldom accessed (basically the speed category for long term storage with low wait times when it does get needed but not really meant to be constantly accessed, which is just above things like tapes and other backup storage methods).

        So for example for a dynamic website with thousands of users most current data should be in SSDs and HDDs would maybe contain low access info such as historical data from the last couple of years and in front of those SSDs there would be a ton of memory to serve as a cache for the most accessed of all data (say, the CSS, JS and images of the home page) as in-memory data is even faster to access than data in an SSD.

        The idea that SSDs aren’t useful for servers is hilarious ignorant.

      • Gladaed@feddit.org
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        4
        ·
        1 day ago

        Ok. But then you are not a regular person running a regular home server but an enthusiast with small scale commercial needs.