Should I enable jumbo frame size of 9000 bytes for my NICs?
The deal is this: If everything on your network supports jumbo frames, than by all means, enable it and test. If your NICs are reasonable, and your cabling is without serious problems, you might see an increase in performance. How much? It depends on a lot of factors: how many computers, how good/fast is your switch, network traffic patters, etc. But generally not more than 10% percent in a typical home network or small office network environment.
Here are some testing results from boche.net:
Warning
If you have at least one device on your network that does not support jumbo frames (network printer, SIP phone, etc.) then you cannot use jumbo frames at all. Otherwise you won't be able to talk to that device.
Gagan Gupta
Updated on September 18, 2022Comments
-
Gagan Gupta almost 2 years
I have the below XML string
<config crc="ED00B382"> <setup crc="D5D63153" name="NEW"> <master comment="" gui_namewidth="160" gui_valwidth="40" name="MASTER" type="u8"> <item comment="" name="Name" value="0"/> </master> <enum comment="" gui_namewidth="160" gui_valwidth="40" name="Name" type="u8"> <item comment="" name="1" value="0"/> </enum> </setup> <data crc="8E5E4B77" name="NEW"/> </config>
Now, I wanted to remove the initial space character from each line from it. What is the best way of it? Main problem is that space character can be there in the string inside the data part. so I cannot simply write str.replace(" ", ""); as it will also replace any two space character inside <> as well.
-
Admin over 12 yearsThis is hard to say without knowing the details of your network.
-
Damien_The_Unbeliever over 8 yearsIf you're using proper XML tools, that know and understand what XML is, why do you care about ignorable space?
-
Frédéric over 8 yearsMay you give some more context? Is this xml file recurrently generated, with those spaces, and you want to have it generated without them? If yes, how is it generated? External source you can not control? Your own code? If its generated by your own code, may you supply it? ...
-
Gerald Schneider over 8 yearsby "initials space", do you mean the indentation? I don't see any value starting with a space.
-
Admin about 5 yearsI wonder if this has changed in 2019 and beyond. As far as I've seen, all recently 1Gbps devices support jumbo frames, but Wi-Fi devices do not.
-
-
Ram over 12 yearsIt can improve a good bit more depending on the nature of your traffic - a home network is unlikely to see better than 10% improvement due to usage pattern.
-
haimg over 12 years@Ram: True. I'll extend my answer a bit.
-
Chris Thompson over 12 yearsI have a small ioMega NAS box that actually gets almost double the throughput using jumbo frames, but that's because the large frames allow more data transfer with lower CPU utilization (it has a low-end ARM-compatible cpu)
-
haimg over 12 years@Rushino: Yes of course.
-
LSerni over 11 yearsBoth of you are probably right. Some setups will allow jumbo packets to be fragmented. Some others will not. Here's what Jeff Atwood had to say on the matter: codinghorror.com/blog/2009/03/… . Anyway, there's nothing wrong in just trying. If it doesn't work, well, it doesn't work.
-
null1941 over 8 yearsOr you want to write a program for this?