NAS dual network ports, SMB multi-channel stacking for speed, and the previously dusty network card is back to life

Last year, I wrote < article about aggregating links >a href="https://www.shunot.com/en/lybk/1006.html"I had already revealed that dual-port aggregation network card I bought for over 200 yuan was plugged into my N100 mini host. Because my 8-port foolproof switch didn't recognize LACP, it was interrupted and dropped half, so I was downgraded to primer-backup mode—usually only one cable was running, the other was just on standby. My conclusion at the time was "redundancy is needed, not fake speed boosts." After all, I was the only heavy user at home, with single-threaded speeds of 110MB/s horizontally. The second port of that card was left to gather dust for over a year.
Last month, while browsing Synology's official knowledge base, I came across an article titled "What is SMB3 Multi-Channel." After reading it, I couldn't sit still: this feature doesn't care about switches at all—even foolproof switches run it, and single file copies really add up. I spent the whole night running it and got it fixed. Copying stuff from the study to the NAS went from 110MB/s to just over 200 km/s. This road had been laid out for a long time; it took me a year to prepare it before I remembered to take a look.
To clarify: SMB multi-channel and link aggregation is not
just one layer of workThese two things are easy to mix—both are 'multiple network cables bundled together,' but the layers of work are completely different. The link is aggregated at the network port layer, and the switch agrees with you that "these two ports count as one." How data is distributed is determined by the switch using five-tuple hashes—a TCP connection only recognizes one line in its lifetime, and a single file copy is always 110. This is also why it must be a managed switch; foolproof switches simply cannot understand what the LACC is saying.
SMB multi-channel is at the protocol layer, a feature inherent in SMB 3.0, and it was available in Windows 8. During file transfer, the client and NAS negotiate to open several TCP connections—one through this port, one through that port—so that single large file can be split and run simultaneously. The switch was kept in the dark throughout; in its eyes, it was just four ordinary devices each plugged into a network cable for data transmission, with no configuration needed.
For example: chain aggregation means the property management of a community merges two lanes into a single avenue. The rules are set by the property management, and if the property management doesn't intervene, you have no choice; SMB multi-channel means the courier company sends two separate vehicles for separate deliveries, and property management is completely unaware. So my foolproof switch at home actually works without any modifications.
| Compared to Necklink | Aggregation (LACP), | SMB multi-channel |
|---|---|---|
| port layer, the switch participates in | the protocol layer, NAS and client negotiate among | |
| switch requires | a managed and LACP system | Just use a foolproof switch |
| Single file copying, | single connection, nailing one wire; no overlay | ,multiple connections really stack. |
| Who benefits | ?All traffic passing through the network port is split together | , only SMB file access (which happens to be file copying |
Pre-account Bonus: You need to have more on both sides to talk about doubling the amount
SMB multi-channel requires "multiple paths from the client to the NAS." Only adding dual network cards to the NAS, and the computer is single, so those two cables can only allow the TV and computer to run separately, and the single device is still 110. To double the copy speed of my computer, the computer needs two ports on the other end.
My study desktop motherboard comes with a gigabit port. I rummaged through the drawer and found an old PCIe gigabit network card (82583 plan, a handful of 15 yuan on Xianyu), screwed it in, and plugged both ports into that foolproof switch. On the NAS side, the two ports of the aggregator card were already plugged in, and in primary and backup mode, the second port was idle, but now I can use them all. IP settings are fixed: NAS uses 192.168.31.10 and 31.11, computers use 31.201 and 31.202, as long as the same network subnet is used, SMB will pair automatically.
Doing the hardware calculations: the NAS card cost over 200 yuan back then (bought it all), the computer card cost 15 yuan, and the switch was changed with zero. Compared to the genuine 10Gbps card—2.5G network cards cost over 200 yuan, and you still need a switch to keep up. I calculated that the full set starts at 2,000 yuan. If you have an unused double-mouthed car at home, this road is almost a free pick.
My setup: Feiniu and a lineup, cousin Synology with a hook
Feiniu doesn't have graphics switches on this side, so you have to use SSH. First, press open the SSH section to open the portal, log in, modify the Samba configuration file, and add a line in the [global] section:
server multi channel support = yes
This is a parameter available in Samba 4.4 and is turned off by default. After adding and restarting the SMB service (turn off the file service switch in Feiniu backend before turning it on, or restart the corresponding service with systemctl), both wires will be waiting for the signal. Just a side note: remember to back up your configuration after the changes. After the major update to Feiniu, I checked again. The specs are still there, but it's worth getting into the habit of taking a quick look.
My cousin's Synology is much easier. After DSM 7.1.1 Update 5, in the Control Panel → File Services→ SMB→ Advanced Settings → Others, there is a checkmark for "Enable SMB3 Multi-Channel" and save it. His second-hand four-bay drive has dual network ports, so I asked him to turn it on too, matching the copy speed for both front and back to match mine. The old DSM version didn't have this option, so upgrade first.
On the Windows computer, nothing is needed; the SMB multi-channel client is enabled by default. To confirm how many paths it recognizes, open a PowerShell and knock it off
Get-SmbMultichannelConnection
If pairing is successful, you will see two NAS connections in the list: one client IP for one NAS IP, 31.201 for 31.10, and 31.202 for 31.11. The first time I typed, there was only one line. After a long search, I found that the PCIe network card driver wasn't fully installed. I reinstalled the driver in Device Manager, and the second line popped up.
Test: The network port bottleneck is unlocked, now it's the hard drive's turn to speak
Thestudy files were copied large to the NAS, and before the change, they were stuck at 110MB/s. After the update, there are two scenarios. This result really illustrates the issue.
Copying to the SSD download drive: That old SATA SSD didn't have mechanical drives, but actual tests pushed it to 200~215MB/s. Still a bit short of the theoretical 225 for two gigabit wires. Where is the difference? the N100 CPU. Two gigabit SMB streams had to handle all the soft interrupts and encryption tasks. Looking at the top sirq accounted for 70-80%, the CPU had already over-reached the soft routing level at this level. If you really want to max out the 225 yuan, you'll have to spend more money—there's no need for that.
A quick note on the experience with the TV and box: they have a single network card and still use the same 110 as usual, but the NAS has two ports serving multiple devices at once, which is much more convenient. During evening rush hours, when I copy files, it's much less competitive than during the single-port era.
Four pitfalls—know before stepping into
themThe first pitfall, iperf3 couldn't detect it. After finishing my setup, I excitedly ran the iPerf3, but it was still 940Mb, which left me stunned. Later, I remembered that iPerf3 is a single-threaded tool, and single-threaded is just a single wire connecting a single thread, so naturally it can't measure multiple channels. Either add -P4 and open four streams, and you'll see around 1.7GB, or don't trust it—just copy a large file and check Task Manager for the most practical experience.
The second pitfall: no chance between the two Synology. When my cousin learned about this feature, his first reaction was to run both his and his mother-in-law's Synology units side by side, but it ended in failure. Samba supports multi-channel as a server and does not as a client; Synology Mutual Copy still uses the client-side library, with the same speed as before. This feature is currently only for Windows clients; macOS support is incomplete, so don't expect too much.
The third pitfall is not to overlay link aggregation. If a NAS network port is set up with a bond before opening multiple channels, the two cables in the system are already merged into one port, while SMB still sees a single port. If you want to play multi-channel, you have to break down the aggregation, and the network ports will be independent and each will have its own IP. My card happened to have been cleaned up long ago, so I just swapped it out.
The fourth pitfall: don't take the switch port for granted. It's fine to connect two cables into the same foolproof switch, but if your home has two switches cascaded together—two NAS ports plugged into one and two computers into the other—the intermediate cascade cable becomes a new bottleneck, and speed is calculated by the cascaded cable. Plugging both ends into the same switch is the most worry-free.
Who is worth messing with, and who is avoided
If you have a dual-port NAS or dual-port aggregation card, this is the cheapest way to revive idle hardware. Replacing a second-hand network card on a computer costs a little over ten yuan—no fool would do that. Frequently transferring large files from Windows to NAS—editing materials, virtual machine images, 4K original drives—yields the most direct returns. For protocols like iSCSI mounted on block protocols, SMB multi-channel can't help, another story.
For NAS with a single network port, consider whether to add a SIM card or just go straight for 2.5G. 2. 5G solution solves everything for just over 200 yuan per cable, saving chassis space compared to gigabit dual SIM multi-ports, and slightly faster than speed. speed The algorithm from the three-book article is directly applied. If it's already over 10 Gbps, don't even look back—225MB/s means nothing to you.
At home, I only have one Windows computer that occasionally copies small files. At 110MB/s, I copy a movie for just over a minute. It's really not worth building a case for this. This is my occupational habit. Paired with that foolish switch at home old topology, the whole setup is nearly double the price. This bargain is hard to sleep. If you ask me if I regret not getting it sooner—regret it, the second line of that card slept for over a year.
