I have been using an old PC as NAS and running docker containers (Immich, Nextcloud, paperless-ngx etc.). I got 5 3.5" HDD disks and a Nvme. Even on idle, I am consuming 50-60w. A friend of mine is selling a Qnap NAS which is a dedicated machine and probably consumes less power, although I don’t know if it’s worth it.

  • merthyr1831@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 hours ago

    I’m probably in a similar boat thanks to 4x NAS drives (in 2x mirror vdevs so essentially half as power efficient too). I wonder if using an SSD or two for things like caches would help with power draw since you could defer disk usage for longer by relying on a more efficient cache.

    SnapRAID is also an option. One benefit is that multiple disks don’t need to be spinning at once to access data. Downside is that your parity isn’t calculated in real time so less data redundancy.

  • BrightCandle@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 hours ago

    I use a 5600g on b450 ITX board and 4x 8GB Seagate drives and see about 35W idle and about 40W average. It used to be 45W because I was forced to use a GPU in addition to a 3600 to boot (even though its headless, just a bad bios setup that I can’t fix) and getting a CPU with graphics dropped my idle consumption quite a bit. I suspect the extra wattage for your machine is probably the bigger motherboard and the less efficient CPU.

    It is possible to get the machine part down into single digits wattage and then about 5W a drive is the floor without spinning them down, so the minimum you could likely see with a much less powerful CPU is about 30-35W.

  • beeng@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 hours ago

    If the aim is to save money, figure out how long it will take you to break even. Then the service life of such a machine

  • LeTak@lemm.ee
    link
    fedilink
    English
    arrow-up
    21
    arrow-down
    1
    ·
    1 day ago

    Most of the power draw is from the hdds. I have the same issue. If you want less power consumption. Invest in SSD or SSD and HDD hybrid where you store quick access files on SSD and rare access on hdd (then you can spin them down with timeout of , let’s say 30-60 min). This should save some energy

    • Onomatopoeia@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      8
      ·
      edit-2
      1 day ago

      In my experience using a PC as a NAS, the power draw isn’t necessarily the drives as they spin down when idle.

      I have an old desktop setup as NAS - with 2 drives or eight drives, idle power draw is virtually the same, about 100w, regardless of the OS (Windows, Linux, UnRAID, Proxmox).

      I also have an old consumer NAS, with five 4TB drives, and it idles under 20w (I think last I checked it was ~15w… I need to check it again and write that down).

      Two very similar systems, one designed to be a NAS, the other a desktop. It really comes down to the motherboard design and capabilities.

      I also have a Dell SFF that idles at about 15w, regardless of drive count - one drive or four (and to get four I added a SATA expansion card and rigged some power splitters, really pushing the power supply). That box idling the same, even when pushed well past design, is pretty telling.

      And don’t think that SSD drives would do better - spinning disk drives generally have far better idle power than SSD does, and usually much better write power consumption.

      So it really depends, and mostly on the motherboard itself. Yes, you’ll get more power usage with more drives, but that’s at write and read time. My SFF idles at 12w, peaks at 80w when converting videos, the read/write power is negligible, same with the NAS (I transfer hundreds of gigs between them every few days).

      • LeTak@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 hours ago

        Good point. I looked mostly at the spec sheet from the manufacturer and for example the Samsung 870 Evo vs Seagate IronWolf NAS Drive. Side note, AFAIK NVME drives have a higher power consumption. Especially PCIe 5.0.

        My NAS with 2 HDDs from Seagate has a total powerdraw of around 30-40w. And I don’t spin the drives down.

        1. Latency of accessing files/loading times
        2. Lifespan reduction because of spin up / spin down Head moves (the most common for head crash, as I learned from my Teacher)
      • WhyJiffie@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        And don’t think that SSD drives would do better - spinning disk drives generally have far better idle power than SSD does, and usually much better write power consumption.

        I wonder if they can be “spinned down” like hard drives. their startup time would be much faster, so it’s shutdown could even be on a tighter schedule. I mean probably they dont have an internal idle timer, but who cares if you can just have something like hd-idle that shuts it down according to a better schedule.

      • WhyJiffie@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        In my experience using a PC as a NAS, the power draw isn’t necessarily the drives as they spin down when idle.

        that’s not always the default setup, especially with enterprise drives. also if you have some kind of monitoring, that can keep the drives from going down (for that, use linux hd-idle instead of drive internal idle timer), and it can also wake them up (for that, prometheus node exporter’s smart collector first checks whether a drive is up, and only then collect stats). Interestingly, checking temps with smartctl always spins up my drives, while linux hwmon can give me live temp stats even while the drives are down

    • Bags@piefed.social
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 day ago

      If you can figure out how to get a qnap to spin down its disks, please let me know lol. I’ve been searching for months and haven’t found a reliable solution. I basically only need to access it once a day at MOST, so having the disks spinning away for like 99% of their life sucking down power is something I’d like to avoid. The problem seems to be that even with a perfectly clean slate, no services running, the system set up in their own RAID0 SSD pool, the HDD’s, even with 0 bytes of data on them, are being pinged for access at least once a minute. I’m assuming it’s some log being written to, but it’s not anything visible in the file system, and I haven’t been able to find any solution online, lots of people seem to have the same issue.

      I’m tempted more and more every day to just grab one of those low-power embedded ITX boards and build up a custom rig. Other than the disk spinning constantly, the TS-462 does everything I need perfectly.

      • vane@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        21 hours ago

        I remember to have it working with default software I got but it was 10 years ago.

        Then they added this bloatware like media streaming addon or notification center. I have now entware with minidlna and set minidlna scanning disk once per day because media streaming was scanning all the time.

        I haven’t figure out how to permanently kill their /usr/local/sbin/ncd, ncdb, qNoticeEngined, qulogdb, NotificationCenter, mariadb processes. If I figure out it it probably start working again.

      • WhyJiffie@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 day ago

        The problem seems to be that even with a perfectly clean slate, no services running, the system set up in their own RAID0 SSD pool, the HDD’s, even with 0 bytes of data on them, are being pinged for access at least once a minute.

        if it’s for drive health stats, and the device runs linux, hd-idle could help. it only counts actual block device (so, storage) access as activity

        edit: https://github.com/adelolmo/hd-idle

        • Bags@piefed.social
          link
          fedilink
          English
          arrow-up
          2
          ·
          23 hours ago

          They run a custom vendor-locked distro named QTS, so they’re not really as easy to modify as a normal system, I don’t think you can even install programs like that.

          I’ll definitely bookmark it though if I ever get around to building my own solution, thanks!

      • Onomatopoeia@lemmy.cafe
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        Wow, QNAPS don’t spin down disks? Geez, what a crappy design choice. Thanks for that tidbit, I was considering one for my next NAS.

        • Bags@piefed.social
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          1 day ago

          I have no idea if it’s a QNAP-wide issue, or just some specific models, I haven’t bothered to do that much research. I’m guessing that the discs WOULD spin down if you have that option selected if they weren’t constantly being pinged a couple times a minute. That constant pinging is the part I can’t seem to track down.

          An excerpt from a post I was reading while researching this sums it up prettt well: “700 posts about spindown/sleep/standby not working in the QNAP HDD Spin Down Forum. No one seems to be able to resolve it. Qnap clearly couldn’t care less.”

          The only solution that I’ve found that seems to work is to install some other operating system on it, which kind of defeats the purpose of buying a turn-key NAS, and is slightly outside my comfort zone right now. I just ordered a kill-a-watt, so I’ll see how much power it’s taking with/without drives and go from there if it’s worth my time to dive into an OS swap, or building a custom rig.

  • cmnybo@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    3
    ·
    21 hours ago

    My NAS uses a similar amount of power. The drives use most of the power. The PC uses less than 20W on its own. Upgrading to a couple of large helium filled drives will save a good bit of power. SATA drives tend to use a little less power than SAS drives too.

  • the_riviera_kid@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 day ago

    I have an old dell power edge that I got from work that I used as a NAS for a while, it sucked down more juice than the old PC I was using and was stupidly loud all the time. I ended up transferring everything back to my old PC and now that turd just sits there waiting for someone else to be dumb enough to buy it from me. I wouldn’t waste the money personally.

  • JASN_DE@feddit.org
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 day ago

    A big portion of that is caused by the drives, so you’d have to compare the empty QNAP vs your empty machine. Also, depending on which NAS appliance, check that the CPU is actually powerful enough to run all your services.

    • Onomatopoeia@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      Drives only consume power on reads and writes, if your NAS spins them down as it should (and apparently QNAP *doesn’t, which I didn’t know).

      As per my other comment - 8 drives or 1 drive, same idle power for desktop hardware. My actual NAS uses about 1/8 the power at idle for 5 drives.

      • WhyJiffie@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 day ago

        Drives only consume power on reads and writes, if your NAS spins them down as it should (and apparently QNAP *doesn’t, which I didn’t know).

        not really. not all drives spin down by themselves, by default. and even if they do, it’ll happen relatively long after reads and writes, a the while it’ll consume power.

    • greybeard@feddit.online
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 day ago

      I use a KillaWatt device. It is a simple device you plug into the outlet and then plug the device you want to measure into it. I’ve had mine for a long time so I have no idea what a new one would cost, but I’m guessing sub $30.

    • Novocirab@feddit.org
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      1 day ago

      Some local libraries (e.g. in Heidelberg) or ecological initiatives lend devices to measure electricity consumption at the power plug. In particular, this is useful to measure other appliances as well.

      Specifically for computers, they probably have some means to tell you their own consumption, but they may not be accurate or complete and will most certainly omit any peripherals, e.g. external hard drives.

    • atk007@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      I actually have an extension cord with IoT chip. Can measure power consumption via home assistant.

  • just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    1 day ago

    “Old PC” meaning what, exactly? Need some specs.

    In general, a Qnap or Synology box is going to be much lower wattage than a full PC.

      • tburkhol@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 day ago

        I switched from an I3-530, nominal TDP 73W, to an N-100, nominal TDP 7W, and power from the wall didn’t change at all. Even the i3 ran around 0.1 CPU load, except when transcoding, and I’m left with the impression that most of the power goes into HDDs, RAM, maybe fans, and PS losses. My sense is that the best way to decrease homelab power use is to minimize the number of devices. Start with your seyrver at 60W, add a WAP at 10-15W, maybe a switch at 10-15W… Not because of the CPUs, necessarily, but because every CPU every CPU comes with systems to keep the CPU going, keep the power regulated, etc.

          • tburkhol@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 day ago

            You can only spin drives down if they’re idle. If you have a service that touches it - say, homeassistant logging data, tvheadend updating EPG - then they’re going to keep spinning.

            • CmdrShepard49@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 day ago

              I would hope one would use an SSD for something like HomeAssistant. HDDs really shine as bulk media storage (music, pictures, video) not as storage for what would be the equivalent of running an OS on it.

        • atk007@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          Thank you, this is what I needed to know. I thought n100 (similar to what dedicated nas has 6-10w) would bring power down considerably, and thanks to you, I now know it’s not the case.

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 day ago

    You’ll want to look up the QNAP as well. I’ve seen reports with quite some variety on the power consumption. Depending on the exact model, it could be somewhere in the range from 25W to 55W… So could be less, could be the same. And have a look at the amount of RAM if you want to run services on it.

    • atk007@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      Ram is definitely abysmal on Qnap, so it’s one reason for hesitation. But I wanted to get some idea how much power saving is possible on dedicated NAS. If it’s not much, I would rather keep my PC.

      • hendrik@palaver.p3x.de
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 day ago

        Sure, I have an old PC with an energy efficient mainboard and a PicoPSU and I wouldn’t want anything else. I believe it does somewhere around 20W-25W though. And I have lots of RAM, a decent (old) CPU and enough SATA ports… Well, I would go for a newer PC, they get more energy efficient all the time… But it’s a lot of effort to pick the components unless some PC magazine writes something or someone has a blog with recommendations.