7 watts idle – building a low powered server/NAS on Intel 12th/13th gen
mattgadient.com
mattgadient.com
For me personally I found my ideal price-performance config to be the following hardware:
Board: Fujitsu D3417-B2
CPU: Intel Xeon 1225 V5 (better the also compatible 1275v6, but its way more expensive)
RAM: 64GB ECC RAM (4x16GB)
SSD: WD SN850x 2TB (consumer SSD)
Case: Fractal Design Define Mini C
Cooling: Big block no name, passively cooled by case fan
Power: Pico PSU 120W + 120W Leicke power supply
Remote Administration via Intel AMT + MeshCommander using a DP Dummy Plug
I bought this config used VERY CHEAP and I am running Proxmox - it draws 9.3W idle (without HDDs). There are 6 SATA ports and a PCIe port, if anyone would like to add more space or passthrough a dedicated GPU.It may be hard to get, but I paid €380,00 in total. Does not work very well for Media Encoding, here you should go for a Core i3 8100 or above. Alternatively you could go for the following changes, but these might be even harder to get for a reasonable price:
Boards: GIGABYTE C246N-WU2 (ITX), Gigabyte C246-WU4 (mATX), Fujitsu D3517-B (mATX), Fujitsu D3644 (mATX)
Power: Corsair RM550x (2021 Version)
Cheap used Workstations that are good servers are Dell T30 or Fujitsu Celsius W550. The Fujitsu ones have D3417(-A!) boards (not -B) having proprietary power supplies with 16 power pins (no 24pin ATX but 16pin). There are Adapters on Aliexpress for 24PIN to 16pin (Bojiadafast), but this is a bit risky - I'm validating that atm.Ryzen possibilities are pretty rare, but there are reports that the AMD Ryzen 5 PRO 4650G with a Asus PRIME B550M-A Board is drawing about 16W Idle.
Hope I could help :-)
Which ones?
This vdev only contains data; it's not running the OS / root.
I personally don't need more than 10TB space, so 2 10TB Seagate EXOS in ZFS mirror would just work fine with 120W as long as you don't run Prime95 the whole time. You might go up to Pico PSU 150 then.
However, thank you for pointing that out. I did not know that.
A lot of bad reputation of WD from that time is actually from the shitty PSUs, not the drives themselves.
Staggered spin-up it was called.
Turned on one disk after another.
So the PSU didn't bother, or stalled.
Done.
i get 9w idle and amd pro cpus have ECC support which is a requirement for me on any real computer. i disable most components on the board. it's bottom tier consumer quality.
best part is when i need to burn many more watts the integrated gpu is pretty decent
It surprises me that people are happy with 64GB+ builds of non-ECC, especially for NAS (ie. very long term storage, where corruptions probably wouldn't be noticed for years).
Periodically I look at replacing my small fleet of HP micro Gen8's, which use Xeons, have 4 x 3.5" bays (with proper h/w RAID1), but max out at a frustratingly low 16GB. They're quite robust, but because of their age - and HP - a horse veterinarian approach to component failures is usually indicated.
A Ryzen + ECC whitebox build is massively appealing, but almost everyone's build-out includes caveats like 'check the datasheet of the mobo and CPU' (because series aren't consistent), and about half the time a terrifying disclaimer to the effect of 'ECC is present / enabled in the kernel, but I can't tell if it's actually functioning properly'.
Used Intel Systems are just way cheaper, because nobody seems to want them anymore... Everyone wants a >= 8 core ryzen :-) I personally don't need this for a little Proxmox / NAS kind of system.
However, I'm hoping for frame.work to announce official ECC support[1] on their Notebook boards (pretty likely this will never happen). I would love to just use the coolermaster case with small efficient modern notebook hardware for 600 bucks just because I don't need additional harddisks and I would just buy one to support the company.
[1]: https://community.frame.work/t/ecc-error-correcting-code-def...
True DDR5 ECC memory exists, and is not hard to find—just look for “server” RAM.
the laptops see two unexplainable crashes per 6 mo.
They work just fine. The pinout is well known [1]. You can also adapt a normal ATX PSU if you boost 5VSB to 11V.
Fujitsu boards are great, and very inexpensive to purchase in the EU. Someone has even reverse engineered the license for the KVM features of their remote management (iRMC S4/S5) [2]
[1] https://web.archive.org/web/20200923042644/https://sector.bi...
[2] https://watchmysys.com/blog/2023/01/fujitsu-irmc-s4-license/
If so, I wonder if there is a hit in efficiency because of the required step-up / step-down converters in that adapter.
However, on my board there seems to be an unsoldered 24pin connector, that could be just used as is with a little soldering, but since it is on-hold my replacement system if my ...-B variant dies, I'm not willing to risk too many experiments :-)
I have no experience with this particular vendor/brand but the adapters are not complex. If you're concerned, verify that it has 11VSB before you plug it into the motherboard. Otherwise it's entirely passive (passing through PS_ON#, PWR_OK, and 12V)
> If so, I wonder if there is a hit in efficiency because of the required step-up / step-down converters in that adapter.
It should be quite nominal. The boost converters have a very high efficiency (>85%) and standby power is typically below 10W max.
We'll see :-)
My Synology NAS for example has 8 GB RAM and a J4150 processor. Runs about 15 containers, Wireguard and on top DSM (which is Synology's OS). Usually idles around 1-3%.
Software makes all the difference - DSM has been by far the biggest benefit and surprise to me and I would be deprived of time with anything else. I'm running TrueNas as a second backup server but it no way compares to DSM. Sometimes I don't want to trawl through logs and trial and error just to get a basic CRON setup to backup a file off another server, there's countless examples where DSM has just worked.
I really think Synology is missing a trick here, they clearly have software that is miles ahead of everything else and customizable should you need to. They should be more like Microsoft of the NAS world, making DSM run on non Synology platforms, or at least making it easier to do yourself. It's a great OS and it sells itself and can easily be a way to up sell stuff like Active backup for business.
> Xpenology is a bootloader for Synology’s operating system, called DSM (Disk Station Manager), and is used on their NAS devices. DSM is running on a custom Linux version developed by Synology ... Xpenology creates the possibility to run the Synology DSM on any x86 device like any PC or self-built NAS. So, you can benefit from the powerful multimedia- and cloud features of DSM without buying the hardware NAS from Synology. Many people prefer this because they can pick out their own (more powerful) processor and RAM to handle things like transcoding video.
I think we'd still arrive at a weird place where we see people buying Asustor or other NAS hw just to run DSM even if it's not supported and but not a complete hack.
People buy convenience and DSM offers everything NAS related it really well.
I suppose they have internal plans to make DSM go the other way and lock out attempts like Xpenology. They aren't late either as other rival is still miles behind.
Specifically, I have a DS1520+ with five 16TB Seagate Iron Wolf Pro HDDs in a RAID6 config (have another, sixth identical HDD as a cold spare in the closet) and it has been running absolutely flawlessly for the now two years I've had it.
My track record with Linux installations otherwise is "I keep killing them by just breathing on them, god damn.". I'm a walking Linux genocide horror show.
And you dont get Kernel version upgrade in between DSM.
Some parts (e.g., RAM) are re-used across multiple builds
It's interesting to wonder: How much $$ is the hardware cost vs the lifetime energy costs? Is a more power-hungry machine that would operate for 4 years better than one that would operate for 2 years?
The motherboard + CPU is USD 322 right now on pcpartpicker. At USD 0.25/kWh (well above my local rate but below the highest rates in the US), 36W continuous over 4 years is also about $315. So, a ~43W, 4-year system might well be cheaper to buy and operate than a 7W, 2-year system.
It's interesting, the upgrade interval has held for 20 years already and so it becomes easy to understand the amortisation, 16 years of use, but really only 8 as the primary and 8 as the backup.
Idle no VM ~60-70W.
Idle TrueNAS VM drives spinning ~90-100W.
Idle TrueNAS & Fedora Desktop with GPU passthrough ~150W
In a few weeks the 570 is replaced by 7900 xtx. The RAM adds a lot of W. 3-5W per 8GB of RAM depending on the frequency is common for DDR5.
I was expecting around 50-100W for Proxmox+TrueNAS. I did not consider the power draw of the RAM when I went for 96GB.
My home net is 1G with two MikroTik hAP ax3 which are connected with the single 2.5G poe port they have (and one powers the other).
For less power consumption Ryzen 8000 is coming up (wait for Jan 8th, CES) and the APU tend to be monolithic and draw a lot less power than the chiplets.
Only the Embedded chips have MACs built in.
Either way, it's awful there is not more 10 GbE connectivity available default. There's no reason it shouldn't be the next level up, we have been at 1 / 2.5 for far too long.
ASUS ProArt X670E-Creator WIFI, 10G & 2.5G at 460€
10G simply isn't that cheap. The cheapest 5 port switch is 220€. Upgrading my home net would be rather expensive.
My fibre internet is faster than the 2.5 GbE.
A UDM-Pro could be added to the mix but simply pushes the issue out.
A used datacenter/server grade SFP+ switch could be the way to go but have to get up to speed on the basics of the equipment I’d need.
Open to ideas and suggestions!
I have…
* AMD Ryzen 7 PRO 5750GE
* 128GB ECC DDR4-3200
* Intel XL710-QDA2 (using QSFP+ to a quad-SFP+ passive DAC breakout)
* LSI 9500-16i
* Eight WD 16TB HDDs (shucked)
* Two 2TB SK Hynix P41 Platinum M.2 NVMe SSD
* Two Samsung 3.84TB PM9A3 U.2 NVMe SSD
* Two Samsung 960GB PM893 SATA SSD
So that’s the gist. Has a BMC, but dual 40GbE and can sustain about 55GbE over the network (in certain scenarios, 30-35GbE for almost all), running TrueNAS scale purely as a storage appliance for video editing, a Proxmox cluster (on 1L SFFs with 5750GEs and 10GbE idling at 10W each!) mostly running Apache Spark, a Pi4B 8Gb k3s cluster and lots more. Most of what talks to it is either 40GbE or 10GbE.
There is storage tiering set up so the disks are very rarely hit, so they’re asleep most of the time. It mostly is serving data to or from the U.2s, shuffling it around automatically later on. The SATA SSDs are just metadata. It actually boots off a SuperMicro SuperDOM.
——
The Zen 3 Ryzen PRO 5750GEs are unicorns, but super low power. Very tiny idle (they’re laptop cores), integrated GPU, ECC support, and the memory protection features of EPYC. 92% of the performance of a 5800X, but all 8C/16T flat out (at 3.95GHz because of an undervolt) caps at just under 39W package power.
The LSI 9500-16i gave me all the lanes I needed (8 PCIe, 16 SlimSAS) for the two enterprise U.2 and 8 HDDs, and was very low idle power by being a newer adapter.
The Intel dual QSFP+ NIC was deliberate as using passive DACs over copper saved 4-5W per port (8 at the aggregation switch) between the NIC and the switch. Yes, really. Plus lower latency (than even fiber) which matters at these transfer speeds.
The “pig” is honestly the ASRock X570D4U because the BMC is 3.2W on its own, and X570 is a bit power hungry itself. But all in all, the whole system idles at 50W, is usually 75-80W under most loads, but can theoretically peak probably around 180-190W if everything was going flat out. It uses EVERY single PCIe lane available from the chipset and CPU to its fullest! Very specific chassis fan choices and Noctua low profile cooler in a super short depth 2U chassis. I’ve never heard it make a peep, disks aside :)
So the Ryzen PRO line is a "PRO" desktop CPU. So typical AM4 socket, typical PGA (not BGA), etc. However they were never sold directly to consumers, only OEMs. Typically they were put in USFF (1L) form factors, and some desktops. They were sold primarily to HP and Lenovo (note: Lenovo PSB fuse-locked them to the board -- HP didn't). For HP specifically, you're looking at the HP ProDesk and EliteDesk (dual M2.2280) 805 G8 Minis... which now have 10GbE upgrade cards (using the proprietary FlexIO V2 port) available straight from HP, plus AMD DASH for IPMI!
You could for a while get them a la carte from boutique places like QuietPC who did buy Zen 3 Ryzen PRO trays and half-trays, but they are long gone. They're also well out of production.
Now if you want one, they're mostly found from Taiwanese disassemblers and recyclers who part out off-lease 1L USFFs. The 5750GEs are the holy grail 8-cores, so they command a massive premium over the 6-core 5650GEs. I actually had a call with AMD sales and engineering on being able to source these directly about a year ago, and though they were willing, they couldn't help because they were no longer selling them into the channel themselves. Though the engineer sales folks were really thrilled to see someone who used every scrap of capability of these CPUs. They were impressed that I was using them to sustain 55GbE of actual data transfer (moving actual data, not just rando network traffic) in an extremely low power setup.
-- -----
Also, I actually just logged in to my metered PDU, and the system is idling right now at just 44.2W. So less than the 50W I said, but I wanted to be conservative in case I was wrong. :)
44.2W that has over 84TiB usable storage, with fully automagic ingest and cache that helps to serve 4.5GiB/sec to 6.5GiB/sec over the network ain't bad!
My HP ProDesk 405 G8 Minis with a 2.5GbE NIC (plus the built in 1GbE which supported AMD DASH IPMI) idled at around 8.5W, and with the 10GbE NICs that came out around June, are more around 9.5W -- with a 5750GE, 64GB of DDR4-3200 (non-ECC), WiFi 6E and BT 5.3, a 2TiB SK Hynix P31 Gold (lowest idle of any modern M.2 NVMe?), and modern ports including 10Gb USB-C. Without the WiFi/BT card it might actually get down to 9W.
The hilarious thing about those is they have an onboard SATA connector, but also another proprietary FlexIO connector that can take an NVIDIA GTX 1660 6GB! You want to talk a unicorn, try finding those GPUs in the wild! I've never seen one for sale separately! If you get the EliteDesk (over the ProDesk) you also get a 2nd M2.2280 socket for mirroring.
I have three of those beefy ProDesk 805 G8 Minis in a Proxmox 8 cluster, and it mostly runs Apache Spark jobs, sometimes with my PC participating (how I know the storage server can sustain 55GbE data transfer!), and it's hilarious that you have this computerized stack of napkins making no noise that's fully processing (reading, transforming, and then writing) 3.4GiB/sec of data -- closer to 6.3GiB/sec if my 5950X PC is also participating. I don't need the cloud, we have cloud at home!
-----
If you want a 5750GE, check eBay. That's where you'll find them, and rarely NewEgg. Just don't get Lenovo systems unless you want the whole thing, because the CPUs are PSB fuse-locked to the system they came in.
4750GEs are Zen 2s and cheaper (half the price), and pretty solid, but I think four fewer PCIe lanes. Nothing "wrong" with a 5750G per se, but they cap more around 67-68W instead of 39W.
Just if you see a 5750GE, grab it ASAP. People like me hunt those things like the unicorns they are. They go FAST! Some sellers will put up 20 at a time, and they'll all be gone within 48 hours.
-----
I really look forward to the Zen 4 versions of these chips, and the eventual possibility of putting 128GiB of memory into a 1L form factor, or 256GiB into a low power storage server. I won't need them (I'm good for a looooong time), but it's nice to know it'll be a thing.
Intel 15th gen may be great too, as it's such a massive architecture shift plus a new process node. Intel also tends to have really low board chipset power consumption, and really low idles.
Obscenely capable home servers that make no noise and idle in the 7-10W range are utterly fantastic.
They're also available cheaply on Aliexpress, and reportedly work ok.
Well, there are different models (with different numbers of PCIe lanes), so very much a case of "do your research first". :)
My build is storage, gaming and a bunch of VMs.
Used Epyc 7000 was the other option for a ton more PCIe. I have no need for more network speed.
As I said, you can't recoup the ROI from the reduced power consumption, even if you're paying California or Germany power prices. Though you can definitely get the number lower!
I had this system (and the 18U rack) in very close proximity in an older, non-air conditioned home for a while. So less heat meant less heat and noise. I also deliberately chased, "how low can I go (within reason)" while still chasing the goal of local NVMe performance over the network. Which makes the desire to upgrade non-existent, even 5+ years from now.
Not cheap, but a very fun project where I learned a lot and the setup is absolutely silent!
I think that's wrong. It would mean 4*6=25W per DIMM.
I also have 48GB DDR5 DIMMs and HwInfo shows 6W max per module.
This is official support, just like 2 dimms are officially supported only at 5200MHz. People have been running them higher.
How are you measuring the power? At the wall? I think you are measuring the memory controller too, not just the dimms.
APM is disabled on all HDDs because it just leads to delay and wear for mythological power savings that isn't going to happen in this setup. Note that SMART rarely/never predicts failures, but one of the strongest signals of drive failures is slightly elevated temperatures (usually as a result of bearing wear).
This creates enough waste heat such that one room never needs heating, but cooling isn't strictly needed either because there's no point to reducing datacenter ambient below 27 C.
Apparently this board supports ecc with this chip: Supermicro X13SAE W680 LGA1700 ATX Motherboard
Costs 550.
One option is building around that and having some pcie 4.0 to nvme boards hosting as many nvme drives as needed. Not cheap though but around home affordable.
And yes they start at around 500.
If you want to step up to being able to serve an entire case or 4U of HDDs, you’re going to need pcie lanes though, in which case w680 with i5-12600k and a single ecc udimm and a SAS HBA in the pcie slot with integrated Ethernet is probably as low wattage as you can get. Shame w680 platform cost is so high, am4/zen2 is cheaper to the point of still being viable.
You can also get Xeon, embedded Xeon, am5, am4 (without an iGPU).
There’s nothing inherently wrong with running a raid without ecc for 5 years, people do it all the time and things go fine.
Same with TrueNas mini
You could be like “well that’s stupid, I’m going to make a balls to the wall build server that also serves storage with recent components” but the build server components will become obsolete faster then the storage components, it can lead to incidental complexity to try and run something like windows games on a NAS operating system because you tried to consolidate on one computer, being forced to use things like ECC will compromise absolute performance, you’ll want to have the computer by your desk potentially but also in a closet since it has loud storage, you’re liable to run out of pcie lanes and slots, you want to use open cooling for the high performance components and a closed case for the spinning rust, it’s all a bit awkward.
Much simpler is to just treat the NAS as an appliance that serves files, maybe runs a plex server, some surveillance, a weather station, rudimentary monitoring, and home automation. Things for which something like a v2000 is overkill. Then use breeding edge chips in things like cell phones and laptops. Then have the two computers do different jobs. Longer product cycles between processors makes things like support cheaper to maintain for long term periods of time and offer low prices.
I did build mine 2 years ago, so the 246 motherboards are less available now, the C252 is another option which will take you up to 11th gen Intel.
Love my X9 and X11 boards.
The hardware is much more purpose equipped to store files long term and not the 2-3 years between consumer SSDs'
It's not to say self-hosting storage can't or shouldn't be done, its just about how many recoveries and transitions have you been through, because it's not an if, but a when.
What hardware would that be, specifically? The low end embedded platforms that don't even support ECC?
> how many recoveries and transitions have you been through
3 or 4, at this point, using the same 2 disk zfs mirror upgraded from 1TB to 3TB to 10TB.
I’m not sure where low end comes from, most people start with a Pi, old computer or something, and grow from there.
Storage like a home appliance is a good thing.
Synology supports their hardware for about 10 years since release. They are the "Apple"-like of NAS.
The tl;dr of my rant was around shortcomings in NFS permission configuration, and a failure of the iSCSI feature (the appliance crashed when you sent it data).
Further, these appliances invariably use vanilla RAM sticks, so you're exposed to gentle memory-based file corruption you probably won't notice for years.
So I'd argue the hardware is 'better equipped', and I'd also argue the software as shipped matches the marketing promises accompanying same.
Things have doubtless changed - I'm sure those bugs are long gone now - but unless you're looking at an ECC appliance, I'd say you're better off building your own white box.
[0] https://jeddi.org/b/brief-rant-on-trying-to-use-iscsi-on-a-q...
Synology actually allows ECC DRAM and even sells it and list which models would accept them.
But yeah, at the price of a full featured model with an x86 CPU and SO/DIMM RAM and 4+ drives you are in the territory of building your own, with a lot more of control and without DSM (in Synology case) shenanigans.
EDIT: actually the biggest problem here is actually finding a good case, because even ATX cases now usually don't have more than 2-3 3.5" bays by default and often don't have 5.25" at all.
Both Qnap and synology wt the least offer ECC capable nas. So much so they are getting better established in the smb and enterprise space. It’s a good thing you’ve pointed out to include ECC in your appliance search.
My preference and statement for storage as appliance includes experience of building my own boxes and working with servers in my own rack in a data centre for over a decade, out of my pocket.
The cloud is someone else’s computer, but I want my own storage and cloud and something easily recommendable to others when it comes up, even when they aren’t techies.
Besides, if we’re going that back in time we could just run a scsi raid array with a fibre channel connected to a power hungry server :)
The other feature - NFS - I'd say is one of two core features for a NAS (the other being SMB/CIFS) and it was lacking basic granularity in its ACL.
I'll note that at the time the 'app store' associated with that product has a hundred or more rinky-dinky add-ons & plugins - php admin, helpdesk product, that kind of thing. I suppose some customers found those useful.
But I'd argue those were less useful features for a NAS than being able to reliably receive & send files, or conveniently secure access to those files.
So my concern is not around ephemeral tech / feature failures, but the marketing-driven design, complexity of troubleshooting where it met the opacity of the software, and the barely-there value-add / extra-cost of a stack like that (especially for people handy with screwdrivers and a CLI).
Looking at your list, I ended up going with QNAP to be safe .. for flexibility to get anything I needed the way I wanted to. The choices at the time were a ARM based CPU or intel celeron with very low power. I went with the latter, to realize I probably would have been good as well with the Synology I was eyeing.
The bliss of set and forget, and multiple types and locations of backups happening with good reliability is thanks to one change in the NAS space.
Existing players were expensive, and to the degree that there is profit in large enterprise storage customers wanting a backup locally in each field office for example, the NAS industry has been able to provide enterprise class features down market relatively quick and affordably.
Your posts made me recall how much I had to research the enterprise features to try and find what I wanted, equivalently in a NAS, and it ended up definitely on the Prosumer/SMB models, but ultimately in the high throughput NAS' that focused on video.
I somehow ended up with 2.5 GbE so long ago. In my case I could have just bought used fibre channel scsi enclosures, but I wanted to be mindful of power needs, and in turn backup power. It wasn't an ideal time to buy then, but is much better now. In fact, I can probably buy a second or third used version on what I have and it will work together pretty OK, including ECC if I want.
I try and remember to follow a rule to spend and buy 10-15% more capacity than I need when buying, if not one level up to get true long term utility value. For example, always at least 2 more empty drive bays than you need. If you're buying a car, consider a hatchback. If your'e buying a hatchback, consider a small SUV, etc. Buy a little bigger and nicer to let your life grow into it, or buy thrice.
Tried something similar in the past:
- https://vermaden.wordpress.com/2019/04/03/silent-fanless-fre...
- https://vermaden.wordpress.com/2023/04/10/silent-fanless-del...
If you can fit your storage on an SSD (or RAID-mirrored pair), and don't need much compute, you can do a low-power server (like to run little services for yourself) using an SBC like a RasPi, or something like a NUC.
Personally, I currently have a couple 1U Atom servers that run fanless except for the Noctua fans that I swapped into the PSUs. Advantages over RasPi include SATA and ECC RAM, and were also easier to buy over Covid. (I also have a 4U GPU server, which is currently off when not in use, because I haven't invested in figuring out how to low-power idle it like the article writer has.)
Even an N305 fits the purpose, the N100 would be even less https://www.reddit.com/r/MiniPCs/comments/12fv7fh/beelink_eq...
Performance is actually better than my quad core i5-6500 mini PC. Definitely no slouch.
I wonder if in a few years they might not eat the whole mini PC market. If the price can come down such that they’re competitive with the various kinds of Pis…
Also the N100 only supports 16G RAM, and this guy has 64G. Number of pcix lanes (9 vs. 20) probably matter for their use case as well. And the i5 does seem quite a bit faster in general.
Comparison: https://ark.intel.com/content/www/us/en/ark/compare.html?pro...
The same happened with the previous generations of Intel Atom CPUs, they have always worked without any apparent problems with more memory than the maximum specified by Intel.
I’ve got cloudflare setup for dns management and a few simple sites hosted on it like blogs and Gitea. It has an sd card slot that I use as extra storage.
Sure it’s not nearly as awesome as the setup detailed here but I couldn’t recommend it more if you just want a small simple home server.
of course one input is how much data do you have. for many 1 modern disk is plenty of space, so you go raid 1 and redundancy is only so you don't need to wait for off site backups to restore after failure.
That's my setup for nearly 1/3 PB.
So a couple years ago, I downsized to a single 2TB SSD in a smallish ATX case - and another in a completely different machine that gets rsync'd every 4 hours. My nas is now just my last desktop's hardware with two SSDs - one boot, one larger storage running plex, smbd, backups of misc stuff on cron, duplicity backup to the cloud, etc on Ubuntu. If I didn't have this extra hardware, I'd probably just run two medium powered NUCs with a nvme boot disk and a bigger SSD for storage.
It's all very very simple and I have it setup so I can run some LXC containers should I want to do some dev work there, but I usually have other hardware for that anyway.
How does he get raidz2 to spin down without busting the raidset? Putting drives into sleep states isn't usually good for in-CPU zfs is it? Is the l2arc doing heavy lifting here?
Good comments about ECC memory in the feedback discussion too.
I believe this is on the order of 30-60s from memory.
l2arc likely works quite well for a home NAS setup allowing for the drives to be kept spun down most of the time.
Strangely I also built (about 10 years ago now) a home NAS utilizing a bunch of 2.5" 1TB Seagate drives. I would not repeat the experiment as the downsides in performance was simply not worth the space/power savings.
Then again, I also built a ZFS pool out of daisy chained USB hubs and 256 (255?) free vendor schwag USB thumb drives. Take any advice with a grain of salt.
ZFS is designed for HDD-based systems after all. actually it works notably kinda poorly for SSDs in general - a lot of the design+tuning decisions were made under the assumptions of HDD-level disk latency and aren't necessarily optimal when you can just go look at the SSD!
however, tons and tons of drive spin-up cycles are not good for HDDs. Aggressive idle timeout for power management was famously the problem with the WD Green series (wdidle3.exe lol). Best practice is leave the drives spinning all the time, it's better for the drives and doesn't consume all that much power overall. Or I would certainly think about, say, a 1-hour timeout at least.
https://www.truenas.com/community/threads/hacking-wd-greens-...
However, block-level striping like ZFS/BTRFS/Storage Spaces is not very good for spinning down anyway. Essentially all files will have to hit all disks, so you have to spin up the whole array. L2ARC with a SSD behind it might be able to serve a lot of these requests, but as soon as any block isn't in cache you will probably be spinning up all the disks very shortly (unless it's literally 1 block).
Unraid is better at this since it's a file-level striping - newer releases can even use ZFS as a backend but a file always lives on a single unraid volume, so with 1-disk ZFS pools underneath you will only be spinning up one disk. This can also be used with ZFS ARC/L2ARC or Unraid might have its own setup for tiering hot data on cache drives or hot-data drives.
(1-disk ZFS pools as Unraid volumes fits the consumer use-case very nicely imo, and that's going to be my advice for friends and family setting up NASs going forward. If ZFS loses any vdev from the pool the whole pool dies, so you want to add at least 2-disk mirrors if not 4-disk RAIDZ vdevs, but since Unraid works at a file-stripe level (with file mirroring) you just add extra disks and let it manage the file layout (and mirrors/balancing). Also, if you lose a disk, you only lose those files (or mirrors of files) but all the other files remain intact, you don't lose 1/8th of every file or whatever, and that's a failure mode that aligns a lot better with consumer expectations/needs and consumer-level janitoring. And you still retain all the benefits of ZFS in terms of ARC caching, file integrity, etc. It's not without flaws, in the naive case the performance will degrade to 1- or 2-disk read speeds (since 1 file is on 1 disk, with eg 1 mirror copy) and writes will probably be 1-disk speed, and a file or volume/image cannot exceed the size of a single disk and must have sufficient contiguous free space, and snapshots/versioning will consume more data than block-level versioning, etc. All the usual consequences of having 1 file backed by 1 disk will apply. But for "average" use-cases it seems pretty ideal and ZFS is an absolutely rock-stable backend for unraid to throw files into.)
anyway it's a little surprising that having a bunch of individual disks gave you problems with ZFS. I run 8x8TB shucked drives (looking to upgrade soon) in RAIDZ2 and I get basically 8x single-disk speed over 10gbe, ZFS amortizes out the performance very nicely. But there are definitely risks/downsides, and power costs, to having a ton of small drives, agreed. Definitely use raidz or mirrors for sure.
5400 drives? How many and how bad the performance was?
I recall these having pretty similar performance to quality USB drives at the time - just more consistently. They maxed out somewhere around 6-8MB/sec for large writes and 25-30MB/sec for sustained reads.
This was at a time when consumer 7200rpm SATA models were hitting probably close to 120MB/sec sustained reads. Time flies and my memory isn't what it's used to be - but I'm fairly sure those numbers are ballpark accurate. I still have a half dozen of these laying around the house somewhere I should track down one day.
I recently made a RAID5 from a pack of a brand new WD10JUCT (1Tb, 5400, 512e, 3Gb/s!, but! CMR) and under Windows softraid they showed up to 500MBs of sequential reads/writes. Sure, when I installed them in R720 with PERC which doesn't understand 512e/4kn drives and then slapped VMDKs on it... things got slow but not 25-30MB/s.
And my experience with different RAIDs says RPM doesn't really matters, you would get N x Usable_Stripe_Count MB/s in sequential access anyway and with enough spindles you would get fine enough access time too.
Probably there was a problem somewhre else, like 30MBs is clearly up to USB2 speeds and even 4200rpm should show a better numbers.
That particular build worked fine, it was just really slow. It was a very ill-advised plan to begin with - I was using 5.25" -> 2.5" hotswap bay converters for the 2.5" laptop drives. The idea at the time I guess was less noise and power, but mostly it was just to say I did it I think.
Other than it being extremely slow it lasted as my home NAS for 5 or 6 years until I outgrew it.
These days I run a 250TB ZFS pool as my "main" pool, utilizing the 8TB Seagate SMR drives of yesteryear. I have had very little problems with them, but it was a very careful pool design after many years of running ZFS on production systems. So far I've had a few drive failures (as expected) and we are probably ticking closer to decade than I'd like to admit. It performs far better than I need it to - as it's very much WORM style storage for backups and media.
You could always use an rpi if you want to go with ARM, and you’ll want something with ARMv8.
There are some NAS models with Arm-based CPUs and multiple SSDs/HDDs, but those have a very low throughput due to using e.g. only one PCIe lane per socket, with at most PCIe 3 speed.
Not really.
ARM (and to lesser degree, RISC-V) are often used and optimized for low-power usage and/or low-heat. x64 is often more optimized for maximum performance, at the expense of higher power usage and more heat. For many x64 CPUs you can drastically reduce the power usage if you underclock the CPU just a little bit (~10% slower), especially desktop CPUs but also laptops.
There are ARM and RISC-V CPUs that consume much less power, but they're also much slower and have a much more limited feature-set. You do need to compare like to like, and when you do the power usage differences are usually small to non-existent in modern CPUs. ARM today is no longer the ARM that Wilson et al. design 40 years ago.
And for something connected to mains, even doubling the efficiency and going from 7W to 3.5W doesn't really make all that much difference. It's just not a big impact on your energy bill or climate change.
There is no need to have something faster. The SATA 3 bus would saturate a 2.5 GB card anyway. The home network in Cat 6A so it could go up to 10 GB. We'll see what happens some years from now.
If you have a NAS that is idle most of the time, and want to minimise power consumption, how about an embedded-cpu based WoL generator? Sniff packets destined for the fileserver, which is otherwise in deep sleep, and automagically wake it up when relevant traffic is detected, with the relevant WoL packet. You'd get say <300mA consumption at 3v3, and full performance on wake. It would be transparent to the machines attempting to access the server. If idle power measurement is your criteria, this might be a way forwards?
The machine idle with just 1 nvme is 16 watts. I managed to go to 12 watts with the powersaver mode in tuned but I have random ssh freezes and I didn't find any relevant doc to solve the problem.
But as soon as the machine is in light use, just a network transfer for example the power usage go through the roof: 30 watts.
Now I have loaded it with 2 internal 3.5 hard drives, I have a VM with Docker running, a torrent client and Syncthing (so nothing terribly intensive). The thing never goes below 40 watts and is currently at 60 (I'm copying data onto the drives).
I would never have bought a desktop class CPU if it wasn't for these articles that promise unreachable low power draw.
4 nodes have 8gb ram and one has 16gb.
CPU in each is i5-6500.
Each has an NVMe that is split for OS and journal and a spinning HDD.
The cluster idles at 75W and full load about 120W. That is intense ceph traffic not other workloads.
In practice, I found I needed a bit more power but you can get some of the Fujitsu boards with a CPU for $30-40, which is hard to beat.
my university issued T4220 convertible laptops, with wacom digitizers in the screens. I rarely used it but the pivot in the screen made it indestructible, it survived numerous falls hitting the corner of the screen/etc because the screen simply flops out of the way and pivots to absorb the energy. I later got a ST6012 slate PC that my uni bookstore was clearing out (also with a wacom digitizer, and a Core2Solo ULV!). Both of them are extremely well-thought-out and competently designed/built hardware. Doesn't "feel" thinkpad grade, but it absolutely is underneath, and featured PCMCIA and bay batteries and other power-user features.
https://www.notebookcheck.net/Fujitsu-Siemens-Lifebook-T4220...
https://www.ruggedpcreview.com/3_slates_fujitsu_st6012.html
They also did a ton of HPC stuff for Riken and the other japanese research labs, they did a whole family of SPARC processors for mainframes and HPC stuff, and pivoted into ARM after that wound down. Very cool stuff that receives almost no attention from mainstream tech media, less than POWER even.
https://www.youtube.com/watch?v=m0GqCxMmyF4
Anyway back on topic but my personal cheat-code for power is Intel NUCs. Intel, too, paid far more attention to idle power and power-states than the average system-integrator. The NUCs are really really good at idle even considering they're using standalone bricks (my experience is laptop bricks are much less efficient and rarely meet 80+ cert etc). A ton of people use them as building blocks in other cases (like HDPlex H1 or Akasa cases), they don't have a ton of IO normally but they have a SATA and a M.2 and you can use a riser cable on the M.2 slot to attach any pcie card you want. People would do this with skull canyon f.ex (and HDPlex H1 explicitly supports this with the square ones). The "enthusiast" style NUCs often have multiple M.2s or even actual pcie slots and are nice for this.
https://www.amazon.com/ADT-Link-Extender-Graphics-Adapter-PC...
And don't forget that once you have engineered your way to pcie card formfactor, you can throw a Highpoint Rocket R1104 or a SAS controller card in there and run multiple SSDs (up to 8x NVMe) on a single pcie slot, without bifurcation. Or there are numerous other "cheat code" m.2 devices for breaking the intended limits of your system - GPUs (Innodisk EPV-1101/Asrock M2_GPU), SATA controllers, etc.
https://www.youtube.com/watch?v=M9TcL9aY004 (actually this makes the good point that CFExpress is a thing and is very optimized for power. No idea how durable they are in practice, and they are definitely very expensive, but they also might help in some extreme low power situations.)
Personally I never found AMD is that efficient at idle. Even with a monolithic apu you will want to dig up an X300TM-ITX from aliexpress, since this allows you to forgo the chipset. Sadly AMD does not allow X300 to be marketed directly as a standalone product, only as an integrated system like a nuc or laptop or industrial pc, despite the onboard/SOC IO being already quite adequate for beige box usage. Gotta sell those chipsets (hey, how about two chipsets per board!?). But OP article is completely right that AMD’s chipsets just are not very efficient.
Since we're talking about Japan, Intel is affectionately called the IdleM@ster as a pun on the very popular IdolM@ster franchise.
but yeah, it's true, the paradox of intel is that they can get it so wrong in the big picture and execution and integration but sometimes the little details are so right. I225V is a mess. Sapphire Rapids has 700W transients above average. But idle power and interactive scenarios on client processors is a dream. They still tend to be better than AMD on their driver side and general platform validation and stability (as much as that has been a doubtful thing and continues to be going forward, it's true).
Thinking about chucking in 25gbit cards.
If one uses SSD or M.2 drives, there are some solutions on the market that provide high speed hardware RAID in a separate external enclosure. Coupled with a laptop board they could make for a decent low power system. Not sure how reliable USB or Thunderbolt is compared to internal SATA or PCIe connections though... would be interesting to find out.
sudo hdparm -Y /dev/sdXMy NAS is powered down most of the time for this reason, only booted (IPMI) remotely when needed.
Although the actual idle power consumption in the article seems to be a tad higher than 7 watts, it's so much lower, it's not such a big deal to run it 24/7 and enjoy the convenience.
Loved the write-up!
1gbe seems a bit anemic for a NAS
4 is not enough for homelab type servers.
Plus at least 2x M.2.