4 ms·
What are you using for a filesystem? NFS? My worry would be saturating the older 100Mbit connections when downloading things like docker images.
by mmastrac 6y ago
What are you using for a filesystem? NFS?
My worry would be saturating the older 100Mbit connections when downloading things like docker images.
- mkj 6y ago100mbit is similar to a slow sd card or usb stick anyway?
- takeda 6y agoThat's more a problem of docker than NFS though. You probably would be better if you just use it traditionally or use something like NixOS. There was a project that I read about a while ago: https://matthewbauer.us/blog/nixiosk.html https://matthewbauer.us/blog/nixiosk.html
- threentaway 6y agoThe Pi4 can do 300-350mbps, which is faster than most people's internet connection.
- vetinari 6y agoNetbooting and mounting NFS root would be done over local lan, the speed of internet connection has no relevance there.
- threentaway 6y agoRight, I was referring to my parent comment that talked about pulling Docker images which come from the internet unless you set up a proxy.
- vetinari 6y agoOk, that depends on the docker images; things like pihole are relatively small (300 MB, including all layers); I would be more afraid of running containers over NFS slowed down by rpi ethernet, than downloading the images themselves.
- threentaway 6y agoAgreed. I'd have it set up so that there is some local storage via a USB3 thumb drive to hold the container images, which anecdotally pretty easily hits 80MB/s for reads, often hovering in the 100-110MB/s range.
- zbrozek 6y agoTrue, but if you're netbooting you're probably not going to the internet.
- bscphil 6y agoActually, just tested on my local network, got ~940 Mbps sending and receiving. Pi4 has real Gbit now, not limited by the USB bandwidth any more.
- ehonda 6y agoI can download large files from my pi at 900mb/s and upload around 800mb/s. The hard drives attached to the pie are formatted ext3. If you use an NTFS drive though, you will get speeds around what you are describing.
- LeoPanthera 6y agoYes, TFTP for the boot rom, and then NFS for the root fs. I don't use docker or any other kind of container system because it's so easy to just reboot a Pi into a new OS on demand. Everything runs natively.
- Gibbon1 6y agoThat's what we did when developing our original Embedded Linux stuff. Once you get it working it's really nice. You have your standard tools, version control, etc running locally on your system.
- Dylan16807 6y ago> My worry would be saturating the older 100Mbit connections when downloading things like docker images. Is that too slow? I feel like 30 seconds to fill up half the ram is a perfectly acceptable boot time.