Ryzen 7 Mini-PC makes a power-efficient VM host
michael.stapelberg.ch
michael.stapelberg.ch
Even the previous generation - with AM4 CPUs and DDR4 memory - of these ASRock offerings were easily enough for most users' needs (my wife still has a DeskMini X300 with a Ryzen 5 5600G as her daily driver).
A full TPM implementation is required to use DRTM (SKINIT) for measured Linux Secure Launch, which is useful for home servers to confirm that the boot loader, kernel and optional immutable OS/VMs have not been modified. Unlike "Secure Boot" SRTM, DRTM adds launch integrity with policy defined by the hardware owner. One would typically use SRTM+DRTM.
The TPM emulation in Microsoft Pluton, which is present in some Ryzen chips, might be sufficient for DRTM. It's tragic that AMD fTPM has limited functionality, since AMD provides SKINIT on all SKUs, unlike Intel where TXT DRTM is limited to vPro.
Some ASRock 4x4 (NUC-sized) mini PCs have pins for discrete TPM.
[0]: https://www.asrock.com/nettop/photo/DeskMeet%20X600%20Series... [1]: https://www.asrock.com/nettop/photo/DeskMeet%20X600%20Series...
My needs are more modest for one particular project so I don't see why I should pay for ddr5 or pcie5 ssds.
Say, do these things support setting an even lower power limit in the bios?
You don't happen to know of anything similar with more than 2 x 3.5" drive bays per chance? I'm looking for a low powered device with ECC RAM to use as a NAS.
I've been looking at HP Microserver Gen8 boxes, which I think are fairly low power, but I believe they're rather old now.
[0]: https://geizhals.eu/jonsbo-n3-schwarz-n3-black-a3062571.html [1]: https://www.jonsbo.com/en/products/N3.html
QNAP has a $600 1U short-depth (11") 4x3.5 2xM.2 2x10GbE 2x2.5GbE 4-32GB DDR4 SODIMM Arm NAS that would benefit from OSS community attention. Based on a Marvell/Armada CN9130 SoC which supports ECC, it has mainline Linux support, and public-but-non-upstream code for uboot. With local serial console and a bit of effort, the QNAP OS can be replaced by Arm Debian/Devuan with ZFS. Rare combo of low power, small size, fast network, ECC memory and upstream-friendly Linux. QNAP also sell a 10GbE router based on the same SoC, which is a successor to the Armada 388 in Helios4 NAS (RIP), https://kobol.io/helios4/
In theory, ex-Apple Qualcomm Nuvia/Oryon Snapdragon boards would make a great NAS, but it may take a while for Linux support to mature. Upcoming AMD "AI 300" Zen5 Strix Point mobile chips are intended to compete with Qualcomm, so they can hopefully be configured with low (15W-54W) power consumption, and ECC support has been good on AMD devices when the BIOS cooperates. Intel Lunar Lake has low power, but Intel ECC support is market segmented to Xeon SKUs, except for the anomalous Coffee Lake Celeron G4930T (35W TDP).
To decouple storage enclosure logistics from the NAS CPU, a mainboard with Thunderbolt or USB4 enables an external NVME enclosure with DIY bridge of multiple SATA ports or PCIe HBA to JBOD.
I think I'm right in thinking https://ukstore.qnap.com/catalog/product/view/id/215 is the machine you meant?
I've not yet built uboot myself, but these repos claim to have code for CN9130.
https://github.com/SolidRun/cn913x_build/
https://github.com/SolidRun/u-boot/tree/u-boot-v2019.10-marv...
https://solidrun.atlassian.net/wiki/spaces/developer/pages/3...
But if you only need to do lower-compute things (e.g., file serving, serving static/dynamic Web pages, home automation, running simple other server processes), some other home server options include:
* SBCs (like Rasberry Pi).
* Intel NUCs, and those mini-PCs that are marketed as corporate thin clients, and which can be gotten used for what you'd pay for a modern RaspI plus the required duct-taped supporting accessories.
* "NAS" boxes that people who want to plug&play lots of RAID storage buy, and who sometimes run additional small server stuff on on the "NAS" box.
* Retired datacenter and office rackmount servers, if you can make them quiet enough. I've eyed the Dell R210 II and later versions (1U, short-depth), but ended up going with...
* Retired short-depth 1U rackmount Atom servers. These has been my favorite, and I converted them to fanless, except for retrofitting the Flex-ATX PSU with a Noctua fan. Sometimes I'd buy retired enterprise appliances that I knew were just Supermicro hardware with different bezel or paint, but my current servers are more hand-picked parts. They draw more power than a RasPi, but have a lot less misc. fragility.
Also, if you need a GPU compute server, or a big CPU, you could do a lot worse than building it around a gaming PC that's already designed to cool big GPUs without being too loud. Personally, I squeezed a 3090 into a 4U rackmount chassis, with 3 Noctua fans, which also works, but was harder. (And if I wasn't already married to the PlayStation ecosystem for gaming, I probably would've made the GPU server double as a Steam box that happens to loan out its GPU for occasional ML crunching jobs.)
- hacking (news) hw/sw to fit local purpose
- own hardware vs rent forever
- some cloud resources require KYC
- speed of light / low latency at edge
- order of magnitude cheaper storage- The principle of being able to use your own computer, control your data, etc.
- Educational value of being able to do things, like, make your own K8s cluster from whatever level of masochism you desire (rather than the necessarily higher-level options with cloud and VPS provider offerings).
- Applications like home automation not dependent on Internet being up.
- (Like the cost of data storage) GPU compute cost, and also "reserved" guaranteed availability.
Personally, I also run some external services in AWS or Linode now, but in the past have run those from home servers and from colo boxes.
And that's 10W at idle, which is high compared to any laptop or tablet. It's more energy consumption than leaving a LED bulb on 24/7, and that's when it's not even doing anything. Even among desktops, it's more a matter of power supply efficiency (80 Plus or similar cert) and the ability of the CPU itself to throttle down a lot and/or use efficiency cores.
If power really is a concern, having a more powerful server (like in a data center) split up among multiple tenants will be far more power-efficient. Serverless funcs or hosted CI/CD pipelines even more so. At home, things like a Raspberry Pi or BeagleBone or old laptop/tablet will use less power. Even a Mac Mini will use less power (about half at idle, much less at max).
If you just want a small-chassis desktop, well, this fits the bill. It's gonna use a lot of power as soon as any work ramps up, though. That CPU has a TDP of 65W and maxes out at 150W.
They're usually related - small form factor means suboptimal cooling and not a lot of space for a very powerful power supply, which means you won't put a Threadripper inside.
It's not that you can't put an extremely power efficient setup in an ATX case; it's that usually, a small case means a power efficient setup.
These things can go up to 64 GB of RAM and 12 TB of storage at probably half the price you'd pay for your soldered down / on-die Mac mini. And what happens when a drive fails, or a memory module fails? Throw out the whole 3k board and start over? Not to mention the pain of getting proxmox or something similar running smooth.
On the other hand, if you're doing constant 24/7 GPU-intensive training, this thing is going to get loud, hot, and power-hungry, and it will be difficult to find GPUs to fit in there. If you're gaming, GeForce Now is going to be more power-efficient (datacenter cards with shared tenancy) than having your own on hot-standby all the time but most idling.
Maybe there is some in-between use case that really calls for a local desktop CPU? But usually I think using a recent laptop CPU would provide sufficient performance with a much lower power consumption.
Repairability was not a concern discussed in the article, but yes, it's a good thing to keep in mind if you're DIYing it. I was more concerned about the power usage scenarios.
I put it in a fanless case (https://streacom.com/products/fc9-fanless-micro-atx-case/) with mellanox connectx-4 nic, now I can route/NAT my internet connection in silence at line rate (25Gbps)
*because I'm an idiot. I could've read the disk specs before I bought them. I'm using shucked WD MyBook 3.5" drives.
You’ll also need to do some sleuthing work to find out what background stuff is likely to keep using them though (don’t forget stuff like ZFS auto snapshot tools) - it took me a while to find everything when I did this (I had to keep a few instances of fatrace running and watch the timing of file accesses for a couple of weeks to find everything).
I run a tailscale instance per service, even if the services are colocated in the same VM. This lets me take advantage of tailscale serve, and I can also move services between VMs without changing access or dns.
E.g. crucial 1 TB SATA SSDs went from a low of 45 to now 90 $.
https://camelcamelcamel.com/product/B078211KBB
I wanted to add a couple of 4 TB drives to my mini PC but now the price is ridiculous.
https://taoofmac.com/space/blog/2023/02/18/1845 - Intel form factor equivalent https://taoofmac.com/space/blog/2024/04/13/2100 - Ryzen mini-PC
…and yes, if it were today I’d likely go the all Ryzen route in a DeskMeet case, although the kind of mini-PCs you can get today will suffice for most people.
The price point seems insane too high to be considered "mini" imo.
Btw, thank you Michael for running a solid speedtest host which cleared my doubts about the Zyxel router init7 gave me, it's adequate enough :)
I maxed out the memory and the storage on the new system myself. At idle its 9W and when I did stress testing to max out the CPU and GPU, it was 70-80W. Even then the fan noise didn't bother my family which are very sensitive to fan noise.
That mini pc has 32Gb of ram and 2TB of storage. You simply cannot get that in a mac mini and a mac studio with these specs costs 3000 aka 3 times as much.
The tiny form factor is great and almost silent. I think the case is almost the same too