选用版本号iperf-2.0.5,主机和设备都是用linux OS

1.编译x86版本,用做server端

输入./configure

make

src目录下生成x86版本iperf程序

2. arc版本,做client端

make distclean(一定要将之前的配置清掉)

./configure --host=arc-linux-uclibc CC=arc-linux-uclibc-gcc--prefix=/mnt/fileroot/michael.wang/tools

提示出错,如下

ReportCSV.o: In function `CSV_peer':

ReportCSV.c:(.text+0x6a): undefined reference to `rpl_malloc'

Reporter.o: In function `ReportServerUDP':

Reporter.c:(.text+0xe7e): undefined reference to `rpl_malloc'

Reporter.o: In function `ReportSettings':

Reporter.c:(.text+0x122e): undefined reference to `rpl_malloc'

Reporter.o: In function `InitReport':

Reporter.c:(.text+0x1606): undefined reference to `rpl_malloc'

Reporter.c:(.text+0x175c): undefined reference to `rpl_malloc'

Reporter.o:Reporter.c:(.text+0x1828): more undefined references to `rpl_malloc' follow

collect2: ld returned 1 exit status

make[2]: *** [iperf] Error 1

将#define malloc rpl_malloc宏屏蔽掉如

//#define malloc rpl_malloc

从新编译,ok,src目录下生成arc版本iperf程序

按照手册可以分别在装有x86linux的PC和装有arclinux的设备上进行通信测试

数据举例

server10.18.11.242x86

client10.18.9.250arc

TCP

PC

michael.wang@announce:/mnt/fileroot/michael.wang/iperf-2.0.5$ iperf_pc -s

------------------------------------------------------------

Server listening on TCP port 5001

TCP window size: 85.3 KByte (default)

------------------------------------------------------------

[4] local 10.18.11.242 port 5001 connected with 10.18.9.250 port 48166

[ ID] IntervalTransferBandwidth

[4]0.0-10.0 sec69.5 MBytes58.2 Mbits/sec

ARC

[root@AmlogicLinux /]$ ./iperf_arc -c 10.18.11.242

------------------------------------------------------------

Client connecting to 10.18.11.242, TCP port 5001

TCP window size: 25.8 KByte (default)

------------------------------------------------------------

[5] local 10.18.9.250 port 48166 connected with 10.18.11.242 port 5001

[ ID] IntervalTransferBandwidth

[5]0.0-10.0 sec69.5 MBytes58.2 Mbits/sec

UDP

PC

michael.wang@announce:/mnt/fileroot/michael.wang/iperf-2.0.5$ iperf_pc -s -u -i 1

------------------------------------------------------------

Server listening on UDP port 5001

Receiving 1470 byte datagrams

UDP buffer size:112 KByte (default)

------------------------------------------------------------

[3] local 10.18.11.242 port 5001 connected with 10.18.9.250 port 33654

[ ID] IntervalTransferBandwidthJitterLost/Total Datagrams

[3]0.0- 1.0 sec1.18 MBytes9.94 Mbits/sec0.240 ms0/845 (0%)

[3]1.0- 2.0 sec1.19 MBytes10.0 Mbits/sec0.424 ms0/851 (0%)

[3]2.0- 3.0 sec1.19 MBytes10.0 Mbits/sec0.051 ms0/850 (0%)

[3]3.0- 4.0 sec1.20 MBytes10.1 Mbits/sec0.118 ms0/855 (0%)

[3]4.0- 5.0 sec1.19 MBytes9.95 Mbits/sec0.041 ms0/846 (0%)

[3]5.0- 6.0 sec1.19 MBytes10.0 Mbits/sec0.190 ms0/850 (0%)

[3]6.0- 7.0 sec1.19 MBytes10.0 Mbits/sec0.066 ms0/850 (0%)

[3]7.0- 8.0 sec1.19 MBytes10.0 Mbits/sec0.060 ms0/851 (0%)

[3]8.0- 9.0 sec1.19 MBytes10.0 Mbits/sec0.047 ms0/850 (0%)

[3]9.0-10.0 sec1.19 MBytes10.0 Mbits/sec0.061 ms0/850 (0%)

[3]0.0-10.0 sec11.9 MBytes9.99 Mbits/sec0.057 ms0/ 8499 (0%)

[3]0.0-10.0 sec1 datagrams received out-of-order

ARC

[root@AmlogicLinux /]$ ./iperf_arc -c 10.18.11.242-u -b 10m

------------------------------------------------------------

Client connecting to 10.18.11.242, UDP port 5001

Sending 1470 byte datagrams

UDP buffer size:103 KByte (default)

------------------------------------------------------------

[5] local 10.18.9.250 port 33654 connected with 10.18.11.242 port 5001

[ ID] IntervalTransferBandwidth

[5]0.0-10.0 sec11.9 MBytes9.99 Mbits/sec

[5] Sent 8500 datagrams

[5] Server Report:

[5]0.0-10.0 sec11.9 MBytes9.99 Mbits/sec0.057 ms0/ 8499 (0%)

[5]0.0-10.0 sec1 datagrams received out-of-order

Linux 写入ntfs很慢,ntfs-3g 写入 速度优化相关推荐

  1. linux创建网络ntfs接点,Linux系统下挂接ntfs盘时总提示module fuse not found如何解决?...

    1.首先确认一下Linux系统内核 [root@localhost~]# uname -r -p 2.6.18-194.el5 i686 2.到http://sourceforge.net/proje ...

  2. linux匿名用户有写入权限,Linux vsftpd匿名用户开放上传,写入,创建,删除权限

    Linux vsftpd匿名用户开放上传,写入,创建,删除权限 Linux vsftpd匿名用户开放上传,写入,创建,删除权限 安装vsftpd软件包 编辑配置文件,格式要注意,等于号的前后不能有空格 ...

  3. linux系统下如何挂载NTFS移动硬盘

    linux系统下如何挂载NTFS移动硬盘 在使用 Linux 时我们经常会遇到无法读取硬盘的情况,这是因为 Linux 下支持的文件系统跟 Windows 下的有所差异, Linux 默认是不支持 N ...

  4. ntfs linux权限设置,如何在NTFS(或FAT32)分区上使用'chmod'? - Ubuntu问答

    问题描述 我有一个需要在NTFS分区上执行的脚本.脚本的权限设置为600. 我试图通过运行chmod 755 script.sh来修改权限,chmod 755 script.sh不报告故障或任何事情 ...

  5. python将字符写入excel_Python 爬虫并且将数据写入Excel

    听到网站爬虫,很多人都觉得很高大上,爬虫是不是黑客才能干的事啊?今天这里展示了一个简单的爬虫程序,并且对数据进行读取分析,最后写入Excel文件. 难点在于分析HTML代码上,最起码您得看得懂HTML ...

  6. R语言批量读取写入Excel数据 r导出输出写入excel多个sheet 导出excel 导入 excel 读入excel 表格

    前一段,写过一篇:R语言中写入Excel的不同sheet表格,最近学习了tidyverse的方法,感觉需要总结一下,更新一下知识结构. 本文准备用实际数据,做一下操作: 「批量读取:」 批量读取多个E ...

  7. php往文件里面写入数据,PHP创建文件及写入数据(覆盖写入,追加写入)的方法详解...

    本文实例讲述了PHP创建文件及写入数据(覆盖写入,追加写入)的方法.分享给大家供大家参考,具体如下: 这里主要介绍了PHP创建文件,并向文件中写入数据,覆盖,追加的实现代码,需要的朋友可以参考下: 创 ...

  8. python怎么把数据写入txt-python(如何将数据写入本地txt文本文件)

    一.读写txt文件 1.打开txt文件 file_handle=open('1.txt',mode='w') 上述函数参数有(1.文件名,mode模式) mode模式有以下几种: #w 只能操作写入 ...

  9. python 文件写入多个参数_pandas 把数据写入txt文件每行固定写入一定数量的值方法...

    我遇到的情况是:把数据按一定的时间段提出.比如提出每天6:00-8:00的每个数据,可以这样做: # -*-coding: utf-8 -*- import pandas as pd import d ...

  10. php写入文件内容方法,学习php写入文件内容的方法

    在PHP网站开发中,存储数据通常有两种方式,一种以文本文件方式存储,比如txt文件,一种是以数据库方式存储,比如Mysql,相对于数据库存储,文件存储并没有什么优势,但是文件读写操作在基本的PHP开发 ...

最新文章

  1. 【Android 逆向】ART 脱壳 ( DexClassLoader 脱壳 | exec_utils.cc 中执行 Dex 编译为 Oat 文件的 Exec 和 ExecAndReturnC函数 )
  2. Web App和Native App 谁将是未来
  3. 【收藏】一篇快速帮企业转型区块链的锦囊
  4. 怎么安装python3.6.2_centos7.2下安装python3.6.2
  5. 20175213 2018-2019-2 《Java程序设计》第6周学习总结
  6. tf.nn.embedding_lookup
  7. heroku_Heroku Connect的美丽:简化数据库同步
  8. java 多态 转型
  9. JavaPoet 开源项目使用
  10. laravel配置加解密
  11. python返回上一条指令必须包括_python基础(10)--模块
  12. Linux FrameBuffer操作(二十七)
  13. python—多进程的消息队列
  14. 通信算法之三十五:GMSK/MSK/CPFSK/CPM/FSK仿真链路
  15. android studio 免费实现聊天视频功能
  16. python中label函数_让Label像Button一样可以点击
  17. PADS-VX入门到精通实战项目讲解(下)—layout部分-覃小刚-专题视频课程
  18. c语言tab什么意思_C语言入门学好这一篇就足够了!C语言所有的知识点
  19. android wear tizen,三星tizen和谷歌android wear对比 android wear和三星tizen哪个好
  20. react native FlatList

热门文章

  1. html5 5s自动返回键,关于HTML5页面与手机虚拟键盘的回车的处理
  2. gdb 调试kvm虚拟机_GDB+QEMU调试内核模块(实践篇)
  3. linux debian 8.3 发布时间,Robolinux 8.3 发布下载,基于 Debian 的 Linux 发行
  4. mysql in union all_MySQL中使用or、in与union all在查询命令下的效率对比_MySQL
  5. sublime配置go环境_sublime Text3配置go编译环境
  6. Git 官方安装教程
  7. sftp api java_SFTP例子2----使用JSch实现SFTP文件传输
  8. 535 Login Fail. Please enter your authorization code to login. More information in http://service.ma
  9. android代码查找图像,Android平台上利用opencv进行图像的边沿检测
  10. CentOS 7使用yum安装MYSQL