Live data from Hacker News

I'm booting my Raspberry Pi 4 from a USB SSD

jeffgeerling.com

31–33 of 33 posts

Re: I'm booting my Raspberry Pi 4 from a USB SSD

#32
post #19
post #10

Earlier quoted context omitted.

Couple more things to remember: - don't use swap - make sure you have noatime on all your filesystems - identify other folders with frequently changing data (/tmp, $HOME/tmp, etc.) and also make sure you keep them in memory - you can use NFS for many of these things if that is possible

Something I never understand: Why is this not the default? So many people struggle with the same stuff over and over again, yet, there's no mechanism in Linux distros to package default settings for a use case.

You can solve most of these problems by not using an under powered or bad power supply. From what I have seen most raspberry pi users love to just take a random charger and plug it into their raspberry pi. Micro usb has been known to be totally inadequate as a power delivery mechanism for SBCs and on the armbian forums people are going to complain if you show them an SBC with micro usb. USB C is a lot better but you are still better off with the official raspberry pi power supply.

Re: I'm booting my Raspberry Pi 4 from a USB SSD

#33
post #11

Earlier quoted context omitted.

Networked storage but that won't be as fast as native drives.

I tend to disagree. It will depend on the network and the storage but it is not uncommon for network storage to actually be faster than local flash card. At home I have couple of older laptops my kids use for various things. I have installed linux on them and configured to boot over wifi and it actually sped up these machines significantly. I would not advise for everybody to do this, though. The setup is complex (th…

It's a gigabit network adapter. Ignoring the extra CPU overhead, latency, etc. that alone limits storage to less than SATA 1 speeds. UASP drives on the USB 3 port can push near SATA 3 speeds with lower latency and less CPU overhead.
Post reply on HN