I recently switched to a UniFi router from a Netgear router, and now my Hubitat crashes every day and needs to be power cycled to be rebooted. I'm not sure why this didn't happen before with my Netgear router, but based on the reading in the forums I've done, I'm assuming this is because I have a 10G network with some devices configured to use Jumbo frames. My question is, is there a way to fix this without turning off jumbo frames on all my devices? Does Hubitat plan to fix this?
-Hank
@gopher.ny is likely the person to comment on the official position, though I suspect the answer may be no.... In the meantime @rlithgow1 might have alternate networking options he can suggest as a community member.... Amongst others... Including @mavrrick58
If you don't mind me asking what are you doing at home that makes you think you need jumbo frames? Do you have a known use case to need it like runing some kind of NAS Block storage device, There are very few cases were jumbo frames is actually a benifit.
Can you just disable jumbo frames at the switch port or VLAN level? I use jumbo frames on my 10G VLANs but not on my IoT VLAN where my Hubitat lives..
The simple answer to that question is that I do a large amount of video editing and am often copying 1tb+-sized video projects to NAS devices that store video. This is not something most normal people do — but I have worked in film/tv for a long time.
With a caveat that I don't pretend to be a networking expert, my more nuanced response is: I have used iperf to test network speed between my laptops and NAS devices, and there is a significant speed penalty if I don't use jumbo frames which prevents me from reaching full 10G transfer speeds. Having said that, it is also possible that since I doubt the NAS drives are fast enough to usually saturate 10G, it's possible that, in practice, jumbo frames aren't actually helping me much outside of iperf tests. (It's quite difficult for me really know, because since the NASs have 8 drives, they can hypothetically read/write data faster than a given single drive can).
In short, maybe you're still right and I should just switch to standard frames again.
I actually think your use case IS the perfect situation where jumbo frames would be useful and could potentially save you time. That said, if you can't move Hubitat to a VLAN without jumbo frames, or if your switch doesn't support disabling it at the port level, then maybe you will just need to disable jumbo frames globally.
Just buy a cheap switch that doesn't pass jumbo frames? Put the Hubitat behind that switch.
Maybe something like this? Not sure if it will pass jumbo frames, but I doubt it does. www.amazon.com/TP-Link-Ethernet-Splitter-Unmanaged-TL-SF1005D/dp/B000FNFSPY
I did start trying the other day to create an IoT VLAN (I've never done that before), but I started running into problems where I couldn't figure out how to use the Hubitat and Hue if they weren't on the same network as my phones and laptops, etc. Is it possible to use the Google Home app and the Hue app without going through the cloud somehow if they're on an IoT? (Forgive my ignorance on this; this very fancy network stuff is new to me.)
I'll also investigate if there's a way to disable jumbo frames on the switch I have.
I'd suggest posting back here if/when you figure that out. There may be others who would want a setup like yours...
Does your NAS have Flash Drives or is it running a Raid 5 Array with a hardware raid controller. Just trying to get an idea of what should be expected from your NAS.
In theory a 10gbit interface can transfer around 1.2GB per secod so a few fast SSD's can certainly saturate it. If they are spinning disk not likely once you add in over head.
So yea.. in theory with Iperf i would expect 10GB to run faster with Jumbo frames on then off. But this is about actual use case. So the whole idea of jumbo frames is about reducing the overhead taken up in each packet. So essentially that overhead is 1/4th with 9k jumbo frams. The other aspect is some technologies encapsolate TCP Packets so they add their overhead beyond the 1500mtu size. The reality of it though is that in general Swithces have enough power to process even the packest for a 10GB link with 1500 MTU.
So since you mentioned you are doing video editing on a nas how does that connection translate to your computer. Is it using something like NFS or ISCSI for block level storage, or are you using something like CIFS/SMB for regular windows filesharing.
If it is CIFS/SMB for filesharing then Jumbo frames isn't doing anything for you even if you had 8 nvme drives that an do 8GB per second.
I know who to call on for network storage now...
Also do you have dual nics in your NAS and computer you use it with?
@sburke781 i work in infrastructure and have unfortunately learned the wrong way when jumbo frames shouldn't be used. To put it simply about 15 years ago one the companies network engineer i work for and I took down our core switch nightly for about 2 weeks. Fragmentation can be really bad with Jumbo frames when it goes over non Jumbo frame interfaces.
If you have a good setup to really use Jumbo frames my suggestion would be to setup a isolated vlan in your network gear and then have your your computer and your nas dual homed and attached to that isolated network for jumbo frame connectivity between them. That is if the switch can do it.
It's still boggling that this is a problem on a modern piece of equipment like the C7 or C8.
Is it just not high enough of a priority? Won't sell any more units? Focus away from Ethernet to WiFi?
It is the only piece of network equipment I own that has this problem.
Yes.
It won't sell any more units, wifi is likely better for newer customers the jumbo frame support and as such it isn't a high priority.
The simple truth is Jumbo frames as explained above isn't of any use for most people. It is really only useful under two circumstances as i mentioned earlier. In those cases it is best to have dedicated gear and keep your 1500mtu and 9k mtu gear separate.
Jumbo frames will kill it. Hubitat has no plans to fix this. You can get a cheap 100mb hub to put Hubitat on and plug the hub into your main switch and that will prevent jumbo frames from hitting the hub.
As of UniFi network controller v8.0, Jumbo Frames is a global network switch - either yes or no for all the networks.
It's overridable on the individual switch settings page
Found it! Nice! So basically one can buy the cheapest Flex Mini, have Hubitat connected to it, and disable Jumbo Frames for that switch only, while having it enabled for the rest of the system. Sweet!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.