CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 4747|回复: 1

CC-A80 iperf测速

[复制链接]
发表于 2016-3-31 13:48:26 | 显示全部楼层 |阅读模式
CC-A80跟同网段的一个设备跑iperf(busybox集成), 连在同一个路由器下面的两个lan口
系统是我自己修改编译的lichee,kernel起来后直接进到busybox下,没有图形界面
1. CC-A80作为server, 跑TCP流一分钟的平均速率达到893Mbps
$ iperf -c 192.168.1.10  -p 5500 -t 60
------------------------------------------------------------
Client connecting to 192.168.1.10, TCP port 5500
TCP window size: 43.8 KByte (default)
------------------------------------------------------------
[  3] local 192.168.1.20 port 35449 connected with 192.168.1.10 port 5500
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-60.0 sec  6.24 GBytes   893 Mbits/sec

2. CC-A80作为client,跑TCP流一分钟的平均速率能达到649Mbps, 这里应该是我另个测试机器的性能问题
# iperf -c 192.168.1.20 -p 5500 -t 60
------------------------------------------------------------
Client connecting to 192.168.1.20, TCP port 5500
TCP window size: 20.7 KByte (default)
------------------------------------------------------------
[  3] local 192.168.1.10 port 44192 connected with 192.168.1.20 port 5500
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-60.0 sec  4.53 GBytes   649 Mbits/sec

这个速度还是比较满意的。
回复

使用道具 举报

 楼主| 发表于 2016-3-31 22:10:40 | 显示全部楼层
补充一下网卡的参数:
# ethtool -i eth0
driver: sunxi_geth
version: SUNXI Gbgit driver V1.1
firmware-version:
bus-info:

# ethtool eth0
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: external
        Auto-negotiation: on
        Link detected: yes

# ethtool -k eth0
Offload parameters for eth0:
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp-segmentation-offload: off
udp-fragmentation-offload: off
generic-segmentation-offload: on
generic-receive-offload: on
large-receive-offload: off
ntuple-filters: off
receive-hashing: off
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-5-19 23:53 , Processed in 0.018620 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部