Test the packet forwarding performance of soft routing, you can see before selecting a soft routing motherboard

Test the packet forwarding performance of soft routing, you can see before selecting a soft routing motherboard

Spread the love

After several days and nights, I finally finished testing several different groups on hand, in order to have more “specimens”, one after another received the J4125, 3865U, J1900 motherboard, testing the routing system are OPENWRT version: OpenWrt R21.2.1 / LuCI Master (git-21.035.34289-13f96d1)

软路由小包转发性能测试

Hardware motherboard these pictures will not be sent, because there is no photo.

The CPU information of the model to be tested is as follows.

软路由小包转发性能测试

This article only talk about small packet forwarding performance, VT-d and AES these will not talk about, all tests are also installed under the physical machine soft routing system.

J1800 onboard dual RTL8111F gigabit port, has been used as a print server.

J1900 is the first picture inside the one, but also not ITX size, called 3.5-inch motherboard, a mechanical hard drive so large size, just when I got N2600 last year or the year before when I bought four pieces of aluminum, you can get a shell, not right, should be called the outer skin.

软路由小包转发性能测试

I like the small size of the motherboard, the day before yesterday also received a piece of I5-5250U 12cm small board, single gigabit port, no cooling fan with 4G memory, guess how much money?

I3-5010U, dual Gigabit ports on board, RTL8111F, the usual test machine, readily available.

I5-4300U, onboard dual Gigabit network port, Intel I211, the usual test machine, ready-made.

3865U, received the goods only the day before, single network port RTL8111F, with 4G memory + 64G ssd $ 75, also came with a case, sent a power supply and USB to Gigabit network card. This price OK, right? But I came to the test only to know that set the power on can not call self-start, the motherboard has a jumper, auto on1, can call self-start, but it can more self-start a few seconds after the automatic shutdown 。。。。。 Really.

3865U only a gigabit network port, so the addition of m2 adapter card, adapter single-port RTL8111C network card, and USB to gigabit network port is also used.

J4125, small host, 8G + 128G, dual gigabit on board, RL8111F, received is used, the price of $ 120, can call self-start, the new version does not have this feature, buy with caution, fan noise, you remove to connect the speed line can be, but the warranty may be gone, buy with caution. Can not change the wireless network card, only one M2 interface. Buy with caution! Is the first picture of that. Only support UEFI boot. When the soft route, this please be careful to buy, when the living room of the small host to use, you can buy.

Intel82576 is pcie x1 interface, test it appears on behalf of the transfer, and the two network ports do WAN and LAN.

软路由小包转发性能测试

Standby power for each combination and various systems are as follows.

各机型待机功率

These are the standby power of the whole machine when not running packets, only plugged into the WAN and LAN. Because the following test small packets and large packets I have recorded the power when working, so the above chart you can use as a benchmark, and CPU occupancy is also recorded, the system shows the CPU occupancy, with the naked eye to stare at a few seconds, select a maximum to do the record.

What is the meaning of small packet forwarding?

You can steadily to this article to see: XDR5430v1 and v2 CPU performance test (small packet forwarding performance test comparison)

Some people often say that the soft route packet forwarding is a disaster, with the actual test data to tell you the answer.

All systems only set WAN and LAN and open DMZ, MTU are set to 1500, no other changes.

Test packet forwarding performance is used minismb tool, as follows.

高恪+RTL 64B 下行 CPU占用 02

openwrt+RTL 64B下行 CPU占用

Port 1 is the LAN port, Prot 2 is the WAN port, the wan to lan forwarding rate depends on the RX Packet Rate value of Port 1. There is no average statistics, only the data at the time of the screenshot for the record, so there is an error.

The J4125 does not support UEFI boot because it does not support UEFI boot, so the J4125 will not test the high sc. I have wasted my time with various boot problems, I3-5010U, I5-4300U, 3865U hosts on the black screen after boot, many times I want to delete it.

64byte packet forwarding rate, CPU occupancy, real-time power data as follows.

软路由小包转发性能测试

The firmware with the highest packet forwarding performance is opewnrt, which is even higher than I thought. The highest is the I5-4300U on-board I211 NIC.

J1800, J1900, even using minipcie adapter intel82576 NIC, on both the love fast and high scrupulous routing system, forwarding performance is significantly lower than opewnrt several times. In the I3-5010U platform above, realtek NIC and intel NIC also differ greatly.

USB3.0 adapter gigabit network port, as a LAN port to use, small packet forwarding performance is actually higher than the PCIE NIC with M2 turn out, but in high scrupulous firmware is very garbage, we pay attention to the 3865U data.

J series does have an advantage in power consumption.

Next is 1000 streams of data in the WAN port to a LAN port to send packets, but also small packets. Those who like to download can look at.

软路由小包转发性能测试

1000 streams, the CPU is very strong, the strongest at this time is I5-4300U with Intel82576 dual-port network card on high sc system, reaching 887Kppps, may be related to its optimization of intel network card. But compared with openwrt and love fast, the prominence is not obvious.

Often people ask if they can run full gigabit, speed measurement are large packets, so I used 1518byte to do some separate tests, also including the CPU occupation and real-time power, because there is a lot of data, I divided into two tables, otherwise, I do not know how to edit these data.

In order to facilitate reading, I directly rate to indicate it: Mbps

软路由小包转发性能测试

In the large packet forwarding, each can run full gigabit, do not worry.

When the two-way test, the transfer Intel82576 are not running full 2 gigabit, somehow, as if it has nothing to do with the CPU or motherboard. I’ve marked it in red in the table above.

What is the reason for this? The adapter card problem?

But there are two kinds of adapter cards, 3865U is used m2 turn out, also can not be full speed in both directions, but as long as a port with the board can be two gigabit.

CPU occupancy and real-time power during large packet forwarding are as follows.

软路由转发性能测试01

The CPU usage and power when forwarding large packets is much lower than that of small packets, and this is the most worthwhile data for daily use.

Finally, the data when small packets are forwarded simultaneously in both directions are given, which are unrealistic because the upstream rate of broadband is much lower than the downstream rate. For performance reference only.

小包双向转发

People choose to view the corresponding model data according to their goals on it, I’m so hard to make a summary or categorization.

USB3.0 to Gigabit Ethernet port, from the one-way test does not have a problem, the performance advantage under the openwrt system, if the two-way forwarding test from small packets, openwrt’s performance drops a lot. Some people say with USB3.0 to gigabit network port, in use will be unstable, I do not know which is unstable it!

In writing the article to the end only to find that the front of several tables of openwrt are typed wrong opewnrt, not to change.

On the issue of large packets bi-directional can not reach 2000 megabytes, I just used 3865U into the WIN system, using IxChariot on the 2 intel82576 network port (m2 adapter) to play the flow in both directions, the results 。。。。。 The bi-directional total is just under 1400Mbps, either the adapter card is faulty or the NIC is faulty. But I used two different adapter cards it, this 82576 the most suspicious.

win系统下两个82576口总吞吐率1339Mbps

Today replaced an old 4-port NIC, also with the same 1400Mbps less than the previous, and then from other test machines removed two I350-T2 and Huawei I350-T4, finally normal, these two I350 NICs are finally normal, in WIN under the two ports to play the stream can reach 1850Mbps, these two I350 NICs in openwrt test large packets Both can run up to 2000Mbps. Just that I350-T2 run a few seconds disconnected, may be the power supply or something unstable. The Huawei T350-T4 has no problems.

openwrt 华为I350T4 1518B 双向

996+996=1992

Small packet forwarding performance reached 916Kpps, (host is I5010U)

openwrt 华为I350T4 64B 下行

What is the reason for this?

Because 82576 only supports 2.5GT/s, but it shouldn’t be less than 2Gbps, but not after minipcie transfer.

I340, I350 support 5GT/s. Under X1, there is plenty of bandwidth.

If you want to connect a dual-port NIC through minicpie to pcie x1, it is recommended to choose I340, I350 dual-port products. But these need to be connected to 12V power supply separately.

minipcie转pcie x1

Even with the Intel 82576 bi-directional can only run 1300Mbps, it is enough, and the uplink bandwidth is at most 100Mbps.

One thought on “Test the packet forwarding performance of soft routing, you can see before selecting a soft routing motherboard

Leave a Reply

Your email address will not be published. Required fields are marked *