Not to take away anything from the fun of figuring out Thunderbolt on Linux, and such. But, I wonder if a NAS with a 40 Gbps or even 100Gbps NIC hooked up to a Thunderbolt to Ethernet adapter would achieve a better result without extra effort.
probably, but thunderbolt would cost 5x less for equivalent 40Gbps NIC
Ultra fast Thunderbolt NAS with Apple M1 and Linux
41–50 of 102 posts
Re: Ultra fast Thunderbolt NAS with Apple M1 and Linux
#42this blog uses webp as image format without a fallback option. Had to switch to Firefox because Safari wouldn't display the pictures.
Thanks for pointing this out. I’ll add a fallback using the “picture” element (TIL). I also use some javascript to delay rendering until the browser window stays on an image. That could very well be introducing some wonkiness.
Re: Ultra fast Thunderbolt NAS with Apple M1 and Linux
#43Earlier quoted context omitted.
That's very strange. Is this a versioning problem (i.e. Catalina not being supported anymore?) or is there some kind of hardware restriction? From what I can find, Catalina should still be supported for more than a year from now, right? Edit: well, that's bizarre. Caniuse.com [0] lists the same restriction, WebP is only available from Big Sur onwards. And then people wonder why nobody likes developing for Safari. [0]…
For media formats the support is often dependent on the OS. It's been that way forever (ask anyone deploying video in early html5 and getting it to work cross-os and cross-platform). I guess it's more expected with videos, but images are (usually) handled the same.
I suppose Apple doesn't want to include a software fallback for platforms where hardware isn't available to discourage developers from using the format. It's not like Apple would need to write any complicated decoding algorithms when there's already an open source implementation that's free to use.
Re: Ultra fast Thunderbolt NAS with Apple M1 and Linux
#44Where by "ultra fast" it is meant that it is much slower than a directly-attached SSD that occupies the same port.
Local storage and Networked storage always have their places. Local solid state storage almost always gets you better performance because you negate the overhead of network. Unless, you’re talking fancy arrays connected to saturate 100G NICs. Local storage falls apart the moment you need that storage accessible from another machine…
Re: Ultra fast Thunderbolt NAS with Apple M1 and Linux
#45Just yesterday I was thinking how badly I want an obscenely fast local datastore for Docker. I am managing a handful of clients right now who are all using Docker containers for their microservice environments and my local machine runs out of disk daily. What I really want is lightning quick network storage, but I don't think it would be feasible to roll out 10g networking in my current rental home.
Just curious what size is your hard drive? I had this pain with my last macbook. I ALWAYS ran out of disk space. Never again! I went with a 1 TB drive for my M1.
I'm shocked by how much disk I've used actually.
Re: Ultra fast Thunderbolt NAS with Apple M1 and Linux
#46 root@nas-04:~ # ifconfig thunderbolt0 10.1.1.2
root@nas-04:~ # ifconfig thunderbolt0
thunderbolt0: flags=4163 mtu 1500
inet 192.168.10.2 netmask 255.0.0.0 broadcast 10.255.255.255
The IP on the interface is different than the one that it was theoretically configured with. My suspicion is that perhaps the IP used was changed at some point and this is just an editing slip.> Now that the interface has an IP, we have to add a static host route entry for it to communicate:
If both sides are configured with an appropriate netmask on the same subnet, there's no need for a specific host route.
Re: Ultra fast Thunderbolt NAS with Apple M1 and Linux
#47> In this post I discuss how you can upgrade a NAS Server by adding Thunderbolt 3 for lightning fast connectivity at 20 or 40Gbps. This is an interesting angle of attack, though I'll note that 10Gbps Ethernet was added as an option on the M1 Mac Minis.
I wonder what's the simplest option. could it be made to work with a virtual interface, like wireguard?
Re: Ultra fast Thunderbolt NAS with Apple M1 and Linux
#48Earlier quoted context omitted.
For media formats the support is often dependent on the OS. It's been that way forever (ask anyone deploying video in early html5 and getting it to work cross-os and cross-platform). I guess it's more expected with videos, but images are (usually) handled the same.
Maybe with hardware decoding, but software decoding is often done in browsers when hardware support is not available. I suppose Apple doesn't want to include a software fallback for platforms where hardware isn't available to discourage developers from using the format. It's not like Apple would need to write any complicated decoding algorithms when there's already an open source implementation that's free to use.
I'm just saying it's not unprecedented to have the same browser version supporting different audio/video/image formats depending on OS or hardware.
For image formats it's not as usual, but if someone is making a site only supporting webp then I'd assume they'd look up some support matrixes beforehand.
Re: Ultra fast Thunderbolt NAS with Apple M1 and Linux
#49Re: Ultra fast Thunderbolt NAS with Apple M1 and Linux
#50Just yesterday I was thinking how badly I want an obscenely fast local datastore for Docker. I am managing a handful of clients right now who are all using Docker containers for their microservice environments and my local machine runs out of disk daily. What I really want is lightning quick network storage, but I don't think it would be feasible to roll out 10g networking in my current rental home.
why don't you simply use one or many nvme thunderbolt/usb disks and move the caches there?