1715 views|2 replies

2929

Posts

0

Resources
The OP
 

【BIGTREETECH CB1】Wired network and WIFI test [Copy link]

 

This is my third review of BIGTREETECH CB1.
Here I will test the performance of the wired network and wireless WIFI of BIGTREETECH CB1 development board.
This time, my RJ45 network cable uses a Gigabit network cable and a Gigabit router, so the network cable and router will not be the bottleneck of this speed test. I think the WIFI antenna provided by the manufacturer is too long, so I replaced it with my own single-whip small antenna. This small antenna has a shorter communication distance, but it is very small in size. It will only affect the communication distance, not the communication rate.

1. Wired network test
Network connection rate check
Use ethtool eth0 command to query network card parameters.
Link mode support: 10M half-duplex/ 10M full-duplex
100M half-duplex/ 100M full-duplex
Speed: 100Mb/s
Duplex mode: Full Auto-negotiation
: on
--------------------------------------------------------------
biqu@Hurakan:~$ ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 100Mb/s
Duplex: Full
Auto-negotiation: on
Port: Twisted Pair
PHYAD: 0
Transceiver: external
MDI-X: Unknown
netlink error: Operation not permitted
Link detected: yes
--------------------------------------------------------------
Network test software I use Iperf
Iperf is a network performance test tool. Iperf can test the maximum TCP and UDP bandwidth performance, with a variety of parameters and UDP characteristics, can be adjusted as needed, can report bandwidth, delay jitter and packet loss. BIGTREETECH CB1 input command to install iperf3
sudo apt-get install iperf3
also install iperf3 on the computer, and then enter the installation folder of iperf3 in the command line.
My computer IP address is: 192.168.10.237
The IP address obtained by the wired network port of my BIGTREETECH CB1 development board is: 192.168.10.227
Open the service on the computer, start-run-cmd, and enter the installation directory of iperf3.
Execute iperf3 -s -p 8888 to open a server with port 8888.

Enter the command on BIGTREETECH CB1 to connect to the server for speed test:
sudo iperf3 -c 192.168.10.237 -p 8888

It can be seen that the 100M network can run at full capacity and the speed is relatively stable.

2. Wireless network test
To test the wireless network, you need to unplug the wired RJ45 network cable, and then follow the official instructions to replace WIFI_SSID in the system.cfg file in the TF card
with the actual WIFI name and WIFI_PASSWD with the actual password.
WIFI chip RTL8189 specifications:
-----------------------------------------------------------------
Chipset REALTEK RTL8189ESInterface
type SDIO (1.1/ 2.0/ 3.0)/SPIProtocol
/Standard IEEE 802.11b, IEEE 802.11g, IEEE 802.n (1T1R Modes)
Frequency range 2.400~2.4835GHzWireless
rate 802.11: 1, 2 Mbps
802.11b: 11, 5.5Mbps
802.11g: 54, 48, 36, 24, 18, 12, 9, 6Mbps
802.11n: 150Mbps (maximum)
Wireless security 64/128-bit WEP, WPA/WPA2, WPA-PSK/WPA2-PSK (TKIP/AES)
Power consumption Standby state: 190mW; Maximum working state 650mW
Working temperature -20 °C- 70°C
-----------------------------------------------------------------
802.11n can only reach a maximum rate of 300Mbps, provided that MIMO (Multiple Input Multiple Output) is adopted, and at least 2 antennas are required to achieve this. However, due to the consideration of size and power consumption, the current WIFI module generally only supports single-antenna transmission and reception. RTL8189 only supports 1T1R Modes, so even if RTL8189 supports 802.11n, the maximum rate is only 150Mbps.

Enter the router, set the WIFI to 802.n mode, turn on 40Mhz bandwidth, and force 40Mhz bandwidth

Then power on BIGTREETECH CB1, and you can see the connection speed and IP address in the router.


My computer IP address is: 192.168.10.237My
BIGTREETECH CB1 development board WIFI gets the IP address: 192.168.10.178Start
the service on the computer, start-run-cmd, enter the installation directory of iperf3.
Execute iperf3 -s -p 8888 to start a server with port 8888.

Enter the command on BIGTREETECH CB1 to connect to the server for speed test:
sudo iperf3 -c 192.168.10.237 -p 8888

It can be seen that although the speed is claimed to be 150Mbps, the actual test is only around 60Mbps.

I also cancelled the "Force 40Mhz Bandwidth" in the router's WIFI settings, and the WIFI connection speed dropped to 72.2Mbit/s.


The iperf3 speed test also dropped to around 40Mbps.

Summary : The 150Mbps WIFI of BIGTREETECH CB1 development board is not as fast as the 100M wired network port in actual tests, but it is reasonable. The nominal speed of WIFI and the actual network speed are very different. If it is used in actual applications, it is recommended to use the wired network port.

This post is from Domestic Chip Exchange

Latest reply

It seems that the single whip small antenna is also used in the same way There is a big gap between the nominal speed of WIFI and the actual network speed. WIFI is half-duplex, the physical speed is 300M, and the actual effective speed is only 50M.   Details Published on 2023-1-8 09:07
 
 

6580

Posts

0

Resources
2
 

It seems that the single whip small antenna is also used in the same way

There is a big gap between the nominal speed of WIFI and the actual network speed. WIFI is half-duplex, the physical speed is 300M, and the actual effective speed is only 50M.

This post is from Domestic Chip Exchange

Comments

Thank you for your reply. My test distance is short, less than 1 meter, so I can use a small single-whip antenna. If there is a wall between them, I can also connect, but the speed will not be good.  Details Published on 2023-1-8 09:58
 
 
 

2929

Posts

0

Resources
3
 
Jacktang posted on 2023-1-8 09:07 It seems that the nominal speed of WIFI and the actual network speed are also very different when using a single whip small antenna. WIFI is half-duplex, the physical speed is 300M, and the actual...

Thank you for your reply. My test distance is short, less than 1 meter, so I can use a small single-whip antenna. If there is a wall between them, I can also connect, but the speed will not be good.

This post is from Domestic Chip Exchange
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list