The Raspberry Pi can boot off NVMe SSDs now
jeffgeerling.com
jeffgeerling.com
Rasberry PI 8GB + WiFi + Bluetooth
NVMe >= 128gb
Power supply appropriate for PI+NVMe (3.5A perhaps?)
Case with appropriate cooling
Ubuntu >= 20.04
I would pay up to $200 USD for such a product. Why not an intel NUC? Because I want to leave this on 24/7 and run various cron jobs etc, so I want the low-power ARM chip.Yes I can build it myself, but shopping for, gathering all the parts etc is time consuming and I'd rather be writing my apps etc to run on the device instead...
EDIT: formatting
Idk about Ubuntu though. Raspberry Pi OS is based off of Debian and optimized for the pi.
Edit: Ah I was unfamiliar but of course there is an Ubuntu release for the pi. https://ubuntu.com/download/raspberry-pi
Edit2: Ah I jumped straight to the Tofu board but I didn’t see that TFA features another nice board for this purpose.
But the Pi4 can use as much as 15W, it has left the realm of "low powered" devices long time ago.
I have a very old(2013) HP workstation that I use as a NAS, with a 2nd gen i5, and when running it uses 20W of power, measured by myself.
[1] https://ark.intel.com/content/www/us/en/ark/products/52207/i...
So AMD and Intel measure TDP differently because obviously they do.
Intel's TDP is based on the max the CPU can generate while AMD is based on what an average user would encounter.
https://www.extremetech.com/computing/319402-intels-desktop-...
"It’s easy to see why Intel hasn’t changed the way it defines or communicates TDP to its customers: It would make the company’s high end look vastly worse compared with AMD. A Core i9-10850K will draw up to 265W. If you want an AMD CPU with that kind of power budget you have to buy a Threadripper."
TDP is worst case sustained heat output for selecting heatsinks, not representative of typical consumption at all. Typical CPU fans are also like 12V/0.25A max with power variable between 50 to 100% or so. 20W idle is thus very believable for a build by a sane person[2].
1: https://www.gamersnexus.net/images/media/2017/CPUs/tr-1950x/...
2: Personally I often end up with more substantial configurations like 12V/1.5A 80mm with couple 12V/1A as sides but my suspicion is my lack of sanity is a huge contributor to that
With the Intel AX200 WiFi 6 and BT 5.0 disabled, it idles at barely 12W. Running a bunch of virtualized loads (nothing crazy) in XCP-NG, it's consistently under 20W despite no matter what's running on it. If I had it going flat out (with a 5GbE NIC plugged in via USB Type-C) under something like heavy video rendering (CPU+GPU+storage) loads it peaks at about 48-50W.
We're entering an era of pretty fantastic power consumption, especially if you shy further away from Intel SKUs at the moment. The Intel SKUs are pretty frugal, but the AMD ones genuinely sip power and are only getting better.
Some current Intel NUC models can manage less than 5W idle power as well, e.g. https://www.anandtech.com/show/15571/intel-nuc10i7fnh-frost-... but don't have the limitations of the Pi.
Either I got lucky with the two I own, or your environment was to harsh for them?
1.https://www.raspberrypi.org/documentation/hardware/raspberry... 2. https://ark.intel.com/content/www/us/en/ark/products/52207/i...
This website gather specs on them and you can find used ones as low as 20 bucks on eBay. Many will draw 10-20 watts, like a Raspberry.
1: https://dareneiri.github.io/Asus-Chromebox-With-Full-Linux-I...
RPI really doesn't belong in this type of a device you're describing.
New batch due soon.
I think once AMD spools up with 7nm we'll have machines like this with even lower power.
You might go slightly over budget with an i3 (unless you shop for a deal). You need to install a NVMe yourself, as well as RAM. The i3 can be run in a silent mode, but there are some third party cases around which let you go fanless. I don't understand why Intel is not selling a fanless NUC with an i3 / m3. There's a lot of potential. Same for AMD.
Or is it about having it all pre-built and pre-installed?
From what I could find the RPi chips are made in 27nm, and while you can't exactly linearly extrapolate from that, I wouldn't be surprised to find that a 7nm smartphone chip can get you the same performance as the RPi at 1/3rd the power consumption.
https://www.raspberrypi.org/blog/raspberry-pi-4-on-sale-now-...
If you're optimizing for price and power consumption get an older SKU with an Atom, if you want more horsepower anything 10th gen with 4 cores will handle just about anything you can throw at it, and the idle power consumption is quite good too.
It's got a DDR3 ram slot and can host 8GB ram, along with a sata port and a slot for a 2.5" disk. It also has 4GB of on-board storage that I really don't care about.
The processor is a single-core atom that clocks at about 1.4GHz with a TDP of about 5W.
I don't really care much about speed for this machine because it will become a home vpn gateway running PFSense. The CPU has AES-NI instruction, and that's what convinced me to get it.
My current vpn gateway is a Dell Optiplex FX160 which is still an atom and performs okay-ish, but has got no AES-NI and no internal storage beyond a dumb 2GB disk-on-module, on which pfsense barely fits and consumes about ~17 Watts powered on.
edit: Ok sorry, apparently I miscalculated and it's actually possible to build this for less than $200.
8GB Pi4 is $75
256GB NVMe M.2 SSD is ~$40
cases with a fan are ~$25
power supply is like $10 but let's say $20
That brings us to $160 give or take. Where is the extra $90 going?
I think $200 is doable with a healthy profit margin.
> NVMe
pick one
For $15 you can add Bluetooth and Wifi [5] if you really want. Instead I chose to treat myself to $21-$40 worth of eMMC5 storage for the OS [6].
[0] $80 https://pine64.com/product/rockpro64-4gb-single-board-comput... [1] $45 https://pine64.com/product/rockpro64-metal-desktop-nas-casin... [2] $4 https://pine64.com/product/rockpro64-30mm-tall-profile-heats... [3] $13 https://pine64.com/product/rockpro64-12v-5a-us-power-supply/... [4] $6 https://pine64.com/product/rockpro64-pci-e-x4-to-m-2-ngff-nv... [5] $15 https://pine64.com/product/rockpro64-1x1-dual-band-wifi-802-... [6] https://pine64.com/product/16gb-emmc-module/?v=0446c16e2e66
I love raspberry pis but pi-mania is absolutely out of control. I can't count how many $100+ programmer hours I have seen wasted waiting for a $10 pi to boot, build, or generally stop being slow. I have witnessed the deep shame of a multi-million dollar exhibition center-featuring a RPi kiosk deployed in front of customers that chugs so hard the sales team takes shifts intercepting people before they can poke at it and realize how much of a dog it is. But at least they saved $200 on not using a laptop, right?
If you want to dip your toes in the hardware world from the comfort of ubuntu at impulse buy prices, pis are great, but they stop making sense very quickly once you exit that specialized vertical.
https://www.phoronix.com/scan.php?page=news_item&px=Raspberr...
"It's not as fast as a new Intel processor" is not new information...
Would it be any good with a bunch of H265 5mp cameras hanging off it?
I want to put security cameras around my house, but naturally I want to DIY.
Intel QuickSync for H265 might be what you're looking for; should be able to find a few 7th gen processors that support it.
https://www.intel.com/content/www/us/en/support/articles/000...
That site is honestly incredible.
Example eBay listing: https://www.ebay.com/itm/DELL-OPTIPLEX-7040-SFF-DESKTOP-INTE... (no storage drive on this, but it has NVME, so for $50 you can add more storage than many use cases need, and it'll be much faster and more durable than SBC eMMC or SD solutions).
And it literally was in lightly used (basically perfect) shape and no issues at all.. they even threw in a cheap WiFi dongle.
It’s amazing what you can get on eBay for value as far a large used computers go.. obviously it’s YMMV as far as the seller you happen to buy from and the condition of the item you receive.. but for me, this machine was super awesome and fast (I hadn’t bought or built a desktop PC in at least 10 years prior to this)...
4 x64 AMD Puma cores at 1.5GHz, dual-channel DDR3 4GB SODIMM (1600MT/s), 16GiB m.2 storage, mPCIe, gigabit ethernet, 6x USB 2.0, 2x USB 3.0. 7W in idle and it's fast enough to run Gentoo. I paid 25 EUR for it. You can expand RAM (up to 16GiB) and storage if you wish for a little bit more.
PC recycling companies buy these by weight and there is very little in terms of secondary market. Most of these end up in landfills, while being perfectly capable little home servers.
Usually NASes are thought of as not too power efficient; but that’s because of the HDDs in them. Remove the spinning rust, remove the problem.
Surprised me since the NAS is running an Intel processor.
If you're not too picky about specs, eBay will give you one of these nodes for around $200, although you might have to supply the NVMe.
Argon40 has a M.2 (SATA B and M keys) to USB 3 addon part as well. So if you have a Pi4 that has already been configured to boot from USB, this is a drop in part.
I find that my Pi4 has trouble maxing out the USB3 and SATA M.2 SSD's throughput. NVMe seems like overkill.
https://smile.amazon.com/gp/product/B07WP8WC3V/ - Argon ONE V2 Raspberry Pi 4 Case for the RasPi 4
https://smile.amazon.com/gp/product/B08MHYWJCP/ - Argon ONE M.2 Raspberry Pi SSD Board
What I like about this case is that the entire case acts like a heatsink for the CPU and Ram... and the internal daughterboard provides full size HDMI ports.
IMNSHO, it's a no brainer if you already have a Pi... but even a NUC isn't a turnkey solution if you're set on Ubuntu. Still need to install that as well.
You can find Atoms and Celerons (e.g. N3060) just as low power (5W). Plenty of such low-power mini PCs are available. Ones with 128GB are well within your price range... here's just one for $158: https://amazon.com/dp/B08T71WXL3
Or you can go with one of the few which include M.2 slots... I have a couple, myself.
Amazon and Minisforum are good places to start.
[1] https://geekworm.com/collections/raspberry-pi/products/raspb...
I suspect they'd be fine if I was running a read-only rootfs, but with a lot of the applications I run(i.e. HomeAssistant) you need R/W capability.
Most microSD cards optimize for only one thing—storing large, sequentially-written video files, then copying them off. Rinse and repeat.
Even some of the fancy "100 MB/sec+" microSD cards only get like 1-2 MB/sec in random access patterns.
Longevity is longer for SSDs but it's not that bad for uSD cards either. If you setup your system so that there are no pointless writes all the time, they last 3-5 years, no problem, and probably more.
The biggest benefit is that uSD cards are much lower power. And unless the use case is very storage heavy, like a constantly accessed database, or backups, SSD is just a waste of resources.
Define pointless writes.
I suspect it occurs when a card loses power while in the middle of shifting data around for wear leveling purposes. Presumably, some internal data structure gets borked in a way that the card's embedded MCU firmware didn't anticipate and can't recover from.
Power loss is definitely a threat to an SD card in a Pi. But I've seen many cards go bad while the system is still running, so it's not the whole story.
Weirdly, I've had a number of cards that entered a state where they would be inaccessible under Linux or Mac OS. But they could easily be recovered by a re-format under Windows. No idea why. Perhaps the manufacturers test a lot more thoroughly with Windows?
I like to imagine in my head that the MCU in an SD card can detect its voltage dropping quickly enough to get into a safe state most of the time. With all the recommended capacitance around the socket, it might actually have a few milliseconds to work with after external power loss. When you pull the card out of a socket, though, the MCU stops working before it has time to do anything about it.
I didn't have many issues with my consumer cards of choice, which are Sandisk Ultra A1, which I chose because they are cheap, not too slow and not too fast (interface limit is 23MiB/s and there's no point using faster cards), made by the actual manufacturer of the NAND chips not just some packager buying random NAND chips from a bucket on the spot market, and have verifiable origin via scratch codes.
Not sure about their failure modes, because all of the cards I had fail on me so far were Samsung ones. (some/most of them probably fakes, because I bought them on aliexpress, and Samsung didn't give a crap about consumers being able to verify origin of the card, until very recently and for select cards only)
So far I'm very happy. Cheap and reasonably reliable low power storage.
I guess if I had 10000's of cards in the wild in harsher conditions, I'd care if 1/100 failed on me per year. But in home conditions, 1/100 per year means 1 card failing every 2-3 years in any of my devices, which is very tolerable, and easy to recover from.
I've been doing stuff like this manually for years, and usually throwing away what gets logged.
That's simply not true.
Do they use the same error correction algorithm, perhaps? (I honestly haven't looked into it much) An alternate possibility is that the USB3 and ethernet transport error correction is working fine and it's the devices that are not storing data accurately... that seems less likely to me, but somewhere in there is a SATA bus that also has to do error correction.
In any case I don't feel great about a statement like "USB commonly has signal integrity issues" since the way I work wouldn't be possible if it were true. It's not perfect, for sure, but I honestly feel very good about my USB-connected SSD storage relative to so many other things I've used in the past: various optical drives, floppies, SD cards, and some not-great hard drives.
The quality of the PHYs and media matter greatly. If you’re not using the cheapest PHYs, aren’t in a noisy environment (ie many USB devices connected to the same controller), and have high quality cables/connectors (that are also short and far away from crosstalk aggressors), then you may never see errors.
Something working well in a cozy scenario doesn’t make it a good solution. I could run an out of spec 2 meter cheap SATA cable in a bundle and never see errors. What matters is BER margins at real world scenarios. USB should be implementing more aggressive error correction at layer 1 for what they’re doing. It shouldn’t be the job of higher layers to handle signal integrity issues.
It's fair to point out that my decent results with this equipment might partially be down to a pretty RF-quiet environment, avoiding USB hubs for all the reasons a person might want to avoid USB hubs, avoiding piling on devices, and so on. Trying to make some of this equipment fail would be an interesting thing to experiment with someday.
The best way to avoid this (without having a pci-e ssd connected to the Pi) is booting from a read-only FS on the SD card and then mounting a USB connected SSD for writing data.
If you want to have a "fake" R/W system take a look at https://yagrebu.net/unix/rpi-overlay.md which is a R-only FS which writes changes into RAM only. I run my PIs with that.
However, I continue to be frustrated in actually procuring a compute module 4 of my own.
All of the suppliers are either out of stock or require an order of 200+. I recently placed an order for 2x CM4008032 from Digi-Key but it is on back order and who knows when it will actually ship.
Am I the only one having these problems procuring CM4 ?
https://www.microcenter.com/product/631005/mcm-electronics-r...
And there are a few online retailers with such combos available, but only 1GB RAM.
I have had two open orders for 4 GB CM4 Lite modules (I like the Lite model because I don't need the eMMC for most projects) since October / launch day :(
https://www.digikey.com/en/products/detail/raspberry-pi/SC02...
... search for "pi compute module 4" in digikey. I see 5 different ones in stock now.
Also, Adafruit has this one in stock: https://www.adafruit.com/product/4791
I even imagine a Pi-like device with no ports but a number of full USB4 (which include Thunderbolt which is PCIex) ports and a GPIO to arrive once. This seems like the ultimate universal PC for me...
Any tips here on how to keep the thing awake and alive?
Everytime, the Pi boots up, it need to re-synchronize time and I have to hard-code a NTP server IP, since DNSSEC won't work without correct time.
I don't know why, but my suspicion is that the Broadcom hardware is seriously gimped by being closed source.
Seriously, just open source stuff already, and let us do the development for you!
They're already testing the waters of in-house silicon with the RP2040, an in-house Linux SoC would be the next step
Realistically a Pi Linux SoC would probably be more open than Broadcom hardware, but not completely open. IP blocks they license from 3rd parties (e.g. the GPU) may still have NDA strings attached, and the wireless firmware would still need to be an untinkerable black box to get regulatory approval.
It would still be a step up from Broadcom who won't give you anything until you sign an NDA and commit to buying 10 million units and offer up your firstborn child.
I just measured, and my M1 MacBook Air takes 32 seconds to boot to the unlock screen, and then a further 8 seconds after the password is entered before it reaches the desktop. As I'm sure you're aware, the M1 processor is no slouch, and Apple includes an NVMe SSD with respectable (though not mind blowing) performance in this laptop.
NVMe absolutely screams for data transfer rates. And according to these tests, using NVMe adds 30 ms to the boot process.
Something is wrong.
Really disagree. Loading a few megabytes of kernel would take way less than a second even on microSD. eMMC can be noticeably faster, yet you’re still saying it takes 6 seconds on your eMMC BeagleBoard.
Hardware initialization takes time.
Can it be faster? Probably, but you haven’t provided a compelling example by referencing the BeagleBoard being one second faster.
7.7 seconds isn’t mind blowing, but it’s not crawling. It’s more than adequate here.
If they optimize it more in the future... cool.
If you want open systems, the upcoming RISC-V SBC revolution seems likely to be much friendlier than Broadcom, but the Pi is already more open than most ARM platforms, in my opinion.
I did update the post with a benchmark I forgot to include—NVMe direct is 10% faster than the NVMe-to-USB 3.0-to-Pi adapter, so there is definite and easily-measurable overhead loss in the protocol translations.
Plus the potential (I don't know... but some people say it could happen) for different weird issues to present themselves when going from PCI to USB to PCI again.
Both the CM and the NVMe?