Hacker News new | ask | show | jobs
by andymoe 1724 days ago
They really need to build a board with a built in slot for NVMe 2 storage. Running stuff off an sd card is a data loss nightmare and upgrading with aftermarket NVMe stuff is annoying.
2 comments

1.) Use https://en.wikipedia.org/wiki/Zram

2.) Setup your logging accordingly

3.) Let this setup write what changed only once per hour, or a few times per day to solid storage.

4.) If that doesn't suit your needs and you can live with only 4GB RAM, get one of the about a hand full to a dozen boards which do have M.2/MiniPCIE from other vendors, and maybe enjoy faster crypto.

5.) If 4. applies, still do 1!

6.) Wonder why it lasts so long a few years later with a grin.

7.) Alternatively hot-glue/duct-tape an USB-Keychain to a free USB-Port, and still do 1.

Seriously, use ZRAM!

That sounds like strapping a jet engine onto a barn. No need to go with NVMe when SATA SSDs are still available and fast enough.
I guess they mean M.2, which makes everything more compact and cableless. It also supports SATA.
Yes, more about form factor than speed but that’s a bonus.
Well the latest compute module does expose its pcie. People have already bolted nvme drives on to it.

It’s not blindly fast (iirc it’s only a single pci lane and to get the full benefit out of m.2 nvme drives you need 4 lanes)

It’s just that the pci lane is used by the USB3 host controller on the RPI4