1. Current Location: Home >  Router Encyclopedia >  Giant Frame is a hidden switch for 10Gbps intranets. After turning it on, I tested it: Gigabit is only six points faster

Giant Frame is a hidden switch for 10Gbps intranets. After turning it on, I tested it: Gigabit is only six points faster

Giant frame MTU9000 compared with standard frame 1500, full-link three-point settings and ping test commands

Last time I messed with < a href="https://www.shunot.com/en/nas/1265.html" > SMB multi-channel, two network ports bundled together, SSD copy card at 208MB/s. I said the N100's soft interrupts are almost at their limit. Someone in the comments suggested using giant frames. I was stunned for a moment—wasn't MTU supposed to not exceed 1500? I even wrote in the MTU article that "making it bigger is a dead end." Later, I realized: that phrase was about the way out, but the giant frame control was about the courtyard's affairs. This week, I dug up my home intranet and tried it out. There were gains and lessons, so I'll break it down and talk about it.

What is a giant frame: the same car, with the cabin rising from 1500 to 9000

Let me recap: the MTU 1500 is an Ethernet long-standing convention, carrying up to 1500 bytes of cargo per trip. Jumbo Frame means enlarging the cabin, loading around 9000 bytes in a single trip—note it's 'vertical', not an exact number: Intel network cards are 9014, Realtek is rated 9K, some use 9214, and each brand has different standards for counting frame heads. Don't worry about numbers not matching; just use the smallest one in the link as the team's maximum limit.

What is zooming in on the carriage diagram? For each trip, whether it's 1500 or 9000, the fixed overhead is about 38 bytes: frame head 14, validation 4, pre-lead code 8, frame gap 12. At 1500, the paper line speed efficiency is 97.5%, while at 9000, it's 99.6%—just two percentage points off. To put it another way: three small cars merged into one big truck for one trip, with the same amount of cargo, but two fewer drivers are hired, and the toll is only paid once. So the real strength of giant frames isn't in 'running faster,' but elsewhere.

The real benefit: reducing the CPU from connecting to five-sixths of the door

Calculate the frame count. Gigabit line speeds reach 125MB/s, plus 38 bytes per frame, so at 1500 Mbps, that's 81,274 frames per second; Switching to 9000 bytes, that's 13,830 frames per second. Each frame the network card receives interrupts the CPU (interrupt), then transfers data via DMA. At the same maximum gigabit of RAM, the CPU drops from 80,000 gates per second to 14,000 times, and interrupt load is cut to one-sixth— The soft interrupts mentioned in the router CPU article are exactly this.

Qianzhao doesn't make much difference in this account; the bottleneck is likely elsewhere. At 10 Mbps, that's shocking: at 1500 bytes, it runs at 810,000 frames per second, which is enough for a typical CPU just to handle interrupts; Switching to 9000 bytes is 140,000 frames per second, which is much more effortless. So people who play with 10 Mbps always mention giant frames—it's not a speed switch, it's a switch that reduces CPU load.

This burden reduction is visible in the system. In Synology or Linux SSH, click the top button, and use the number 1 to expand each core's single column; the SI column is the software interrupt usage. When my N100 ran 208MB/s for copiing, the Si of all four cores combined was already around 30%; After enabling giant frames and running the same task, the SI drops to just over 10%. Speed only increased by six points, but the CPU had plenty of breathing room—if you still had Docker containers and surveillance footage running in the background, that bill would be worth more than the speed account.

My test: all three must be open, and if one leaks the net, the packet will quietly be lost

Excitedly, I first opened the study desktop: Device Manager→ Network Adapter→ Network Card Properties→ Advanced → Giant Frame, and chose 9014 bytes. Then I copied the file—but it froze halfway through, and I couldn't even load the shared folder. Ping NAS works, but it just doesn't work.

This is the darkest pitfall of giant frames: a one-vote veto across the entire chain. My link is a desktop network card → 8-port fool switch ( the topology articleThe NAS in the → of the three locations is silently discarded on that device if any one of the 9000 large packets is not recognized—note that it's "silent," no errors, no slicing, just thrown directly. Small packets still go as usual, so ping still works, ARP works fine, but once a large file is transferred, it dies. Later, I also changed the NAS side: in the Control Panel→ network→ network interface→ select the interface→ edit→ manually set the MTU to 9000; In Feiniu's network settings, find the MTU label. In SSH, a line of ip link set dev network card name mtu 9000 works too. Don't rush to test after Windows is modified; it's best to disable the network card and reactivate it again (or simply restart). Some large network cards won't take effect if you don't restart after modification, and you might mistakenly think 'turning on is useless.'

The switch ring is the easiest to be confused. For the management type, there is a settings page for "Giant Frame" or "Maximum Frame" in the backend; just check it; Point-and-shoot phones fall into two camps—some quietly forward large packets, some quietly discard them. The specs page may not even mention it, and there's no unified answer. So 'testing to determine life or death' is the only reliable method. My 8-port point-and-shoot laptop plugged in and tested to get 9000 forwards—pretty lucky. The built-in LAN ports of home routers are also uneven, and the spec pages rarely mention this. When planning the link, try not to include routers as a necessary route for large vehicles, leaving the switch to serve the wired route.

: increased , ,
ConfigurationMTU 1500,MTU 9000,
gigabit single port 110MB/s116MB/s, five multi-points
dual network ports, multiple channels208MB/s221MB/s, six points

After

fiddling with the gigabit intranet for half a day, it was already six points faster. The reason is straightforward: the bottleneck of gigabit is the network port itself, and the CPU reserves extra space that can't be used. The main arena for giant frames is in 10 Gigabit— the 10 Gigabit section is calculated, mechanical drives at most 200 to 300MB/s, and a full-flash array can only fill 10 Gigabit ports. At that point, the CPU is the real bottleneck, and giant frames are worth the price.

With just one command, you can see if you

can fit a large truck

Don't guess, guess. Linux and Synology SSH are being knocked out:

ping -M do -s 8972 192.168.31.10

-M do means 'no sharding.' 8972 equals 9000 minus 20 for the IP header and 8 for the ICMP header. This is the same logic as the MTU test for 1492, except this time it goes downward, and this time it goes upward. If the echo is clear, this road will be recognized as a big truck; If it shows 'Message too long' or 'not working,' there is a spot stuck at 1500 in the link. Windows corresponds to ping -f -l 8972 target IP.

I also checked a boundary on the test machine: when the network card MTU is 1500, 1472 bytes can be sent out, but the 1473-byte kernel directly rejects "Message too long"—the gate is only this high, not even one centimeter is allowed, and the kernel won't even send it. This is different from being silently dropped off by a switch halfway: one is stopped by the gatekeeper, the other is that no one signs for the goods when they arrive, and the inspection is clearly distinguished.

Here's another fun fact: if you check the IP link for lo trading, the MTU for the loopback port 127.0.0.1 is naturally 65536. The local device you ping every day is actually running "giant frames" all the time, but no one cares.

Two paths, don't let giant frames get involved

One is wireless. WiFi has no such thing as giant frames: the frame structure and aggregation method of 802.11 are two different from Ethernet, and the Jumbo Frame option is not found in the wireless card driver. When the AP bridges wired and wireless, it even disassembles the large packet, making the effort pointless. So this switch only makes sense for wired intranets. Fortunately, mixing them doesn't cause problems: when a TCP connection is established, both ends will report each other's maximum segments. Pressing the smaller one, a 9000 NAS and a 1500 phone will automatically drop small packets when talking, so the massive frame doesn't completely disconnect the wireless device. The real breakage is that there is a section of the cable section that isn't fully opened.

The other is the road out. A large 9000 packet needs to be sent out for the internet, so the router has to be split into six 1500 units before shipping—unpacking is an extra expense, and on top of that, the PPPoE side still owes 8 bytes. The 1492 is the standard for going out. That's exactly what the MTU article is about. The correct understanding is: giant frames are a private matter; once you step outside, they automatically follow the rules outside, and the router will be removed for you, so you don't have to worry, but don't expect it to be easy either.

By the way, if you have iSCSI running at home (using a NAS drive as a local drive on the computer), that's the scenario I've seen where giant frames should be enabled—block storage is sensitive to latency and CPU, the iSCSI article about "only playing on the local network," which exactly coincides with the domain of giant frames.

Who should be opened? A form makes it clear

For a day , running , perfect for . The access
your home situation, should you use
10Gbps/2.5G internal network + all-flash NAS? Move large files everyand open them with no eyes open, CPU load is visible
iSCSI or virtualized storageblock storage
Gigabit intranet, NAS is a mechanical drive—don't mess with it. It's hard to get all six points
device is on WiFi, or mainly for speeding up internet—it's not possible. Wireless and the road you travel outside are not under its
control

Here's the order at the end: first make sure the internal network is all wired and all devices are supported, then start from one end, use 8972 ping to check every location, then send all three green points to verify the large file. If unlocking it causes a strange problem, the primary suspicion is always "one unlocked spot"—first readjust all MTUs back to 1500 to see if they can go or not, then queue them one by one. My foolproof switch didn't even mention support on the specs page; it was only tested before using it. Remember to retest this when changing machines—don't assume it works like I did.

Read More


Copyright Notice Scan to read on mobile
All Rights Reserved: 《SHUNOT》 => 《Giant Frame is a hidden switch for 10Gbps intranets. After turning it on, I tested it: Gigabit is only six points faster》
Article URL: https://www.shunot.com/en/lybk/1283.html
Unless otherwise stated, all articles are original by 《SHUNOT》. Reposting is welcome! Please indicate the original URL when reposting, thank you.

Contact Us

Online Consultation: Click here to send me a message

WeChat ID: master_135

Scan to follow