本帖最后由 huayuguo 于 2018-12-7 16:07 编辑
还不清楚具体原因....太卡。。
cpu 400Mhz sdram 100mhz cas=2
测试软件:iperf3
系统跑了25个线程测试速度如下。。。。没有开哥那个跑的快跑的是系统...
65.8 Mbits/sec
~ # cat /proc/cpuinfo
processor : 0
model name : ARMv7-M rev 1 (v7ml)
BogoMIPS : 795.44
Features : half thumb fastmult edsp idivt
CPU implementer : 0x41
CPU architecture: 7M
CPU variant : 0x1
CPU part : 0xc27
CPU revision : 1
Hardware : STM32 (Device Tree Support)
Revision : 0000
Serial : 0000000000000000
~ # iperf3 -c 192.168.10.26
Connecting to host 192.168.10.26, port 5201
[ 4] local 192.168.10.22 port 41328 connected to 192.168.10.26 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.01 sec 7.57 MBytes 63.0 Mbits/sec 0 173 KBytes
[ 4] 1.01-2.03 sec 8.22 MBytes 67.3 Mbits/sec 0 181 KBytes
[ 4] 2.03-3.15 sec 8.75 MBytes 66.0 Mbits/sec 0 181 KBytes
[ 4] 3.15-4.04 sec 6.90 MBytes 65.0 Mbits/sec 0 181 KBytes
[ 4] 4.04-5.15 sec 8.70 MBytes 65.4 Mbits/sec 0 181 KBytes
[ 4] 5.15-6.10 sec 7.40 MBytes 65.5 Mbits/sec 0 181 KBytes
[ 4] 6.10-7.01 sec 7.37 MBytes 67.7 Mbits/sec 0 191 KBytes
[ 4] 7.01-8.16 sec 8.95 MBytes 65.6 Mbits/sec 0 191 KBytes
[ 4] 8.16-9.02 sec 6.86 MBytes 66.5 Mbits/sec 0 191 KBytes
[ 4] 9.02-10.13 sec 8.73 MBytes 65.9 Mbits/sec 0 191 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.13 sec 79.4 MBytes 65.8 Mbits/sec 0 sender
[ 4] 0.00-10.13 sec 79.4 MBytes 65.8 Mbits/sec receiver
iperf Done.
~ # ps
PID USER VSZ STAT COMMAND
1 root 400 S init
2 root 0 SW [kthreadd]
4 root 0 IW< [kworker/0:0H]
6 root 0 IW< [mm_percpu_wq]
7 root 0 SW [ksoftirqd/0]
8 root 0 IW [rcu_preempt]
9 root 0 IW [rcu_sched]
10 root 0 IW [rcu_bh]
11 root 0 SW [kdevtmpfs]
12 root 0 SW [rcu_tasks_kthre]
14 root 0 IW< [writeback]
15 root 0 IW< [crypto]
16 root 0 IW< [kblockd]
17 root 0 IW< [watchdogd]
18 root 0 SW [kswapd0]
41 root 0 SW [irq/17-40011000]
59 root 420 S -sh
60 root 0 IW [kworker/u2:1]
61 root 0 IW [kworker/u2:2]
64 root 0 IW [kworker/0:2]
65 root 0 IW [kworker/0:3]
71 root 0 IW [kworker/0:0]
75 root 396 R ps
这是linux 下的驱动 和HAL 没关系
一周热门 更多>