ntfs-3g 写入 速度优化
来源:互联网 发布:java异常关键字怎么用 编辑:程序博客网 时间:2024/05/28 17:07
选用版本号 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 程序
按照 手册可以 分别在装有x86 linux 的PC和装有arc linux的设备 上进行通信测试
server 10.18.11.242 x86 client 10.18.9.250 arc 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] Interval Transfer Bandwidth [ 4] 0.0-10.0 sec 69.5 MBytes 58.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] Interval Transfer Bandwidth [ 5] 0.0-10.0 sec 69.5 MBytes 58.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] Interval Transfer Bandwidth Jitter Lost/Total Datagrams [ 3] 0.0- 1.0 sec 1.18 MBytes 9.94 Mbits/sec 0.240 ms 0/ 845 (0%) [ 3] 1.0- 2.0 sec 1.19 MBytes 10.0 Mbits/sec 0.424 ms 0/ 851 (0%) [ 3] 2.0- 3.0 sec 1.19 MBytes 10.0 Mbits/sec 0.051 ms 0/ 850 (0%) [ 3] 3.0- 4.0 sec 1.20 MBytes 10.1 Mbits/sec 0.118 ms 0/ 855 (0%) [ 3] 4.0- 5.0 sec 1.19 MBytes 9.95 Mbits/sec 0.041 ms 0/ 846 (0%) [ 3] 5.0- 6.0 sec 1.19 MBytes 10.0 Mbits/sec 0.190 ms 0/ 850 (0%) [ 3] 6.0- 7.0 sec 1.19 MBytes 10.0 Mbits/sec 0.066 ms 0/ 850 (0%) [ 3] 7.0- 8.0 sec 1.19 MBytes 10.0 Mbits/sec 0.060 ms 0/ 851 (0%) [ 3] 8.0- 9.0 sec 1.19 MBytes 10.0 Mbits/sec 0.047 ms 0/ 850 (0%) [ 3] 9.0-10.0 sec 1.19 MBytes 10.0 Mbits/sec 0.061 ms 0/ 850 (0%) [ 3] 0.0-10.0 sec 11.9 MBytes 9.99 Mbits/sec 0.057 ms 0/ 8499 (0%) [ 3] 0.0-10.0 sec 1 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] Interval Transfer Bandwidth [ 5] 0.0-10.0 sec 11.9 MBytes 9.99 Mbits/sec [ 5] Sent 8500 datagrams [ 5] Server Report: [ 5] 0.0-10.0 sec 11.9 MBytes 9.99 Mbits/sec 0.057 ms 0/ 8499 (0%) [ 5] 0.0-10.0 sec 1 datagrams received out-of-order 数据举例
- ntfs-3g 写入 速度优化
- Hbase写入速度优化
- NVMe PM951 硬盘写入速度优化
- ELASTICSEARCH 优化写入速度到极限
- 将 ELASTICSEARCH 写入速度优化到极限
- Ubuntu – NTFS-3G
- ntfs-3g 移植 记录
- android ntfs-3g移植
- Linux_problem 1: ntfs-3g
- NTFS-3G + Ntfsprogs
- NTFS-3g ARM
- 嵌入式 ntfs-3g 移植
- 安装ntfs-3g
- ntfs-3g下载链接
- centos 安装ntfs-3g
- CentOS安装ntfs-3g
- linux 安装ntfs-3g
- aliyunyuan rpmforge NTFS-3G
- 正则表达式特殊字符转义
- 应用程序正常初始化 0x0150002失败
- 第2章 关系数据库(数据库系统概论)
- Java基本语法
- 目前国内著名的维客(wiki)网站
- ntfs-3g 写入 速度优化
- TortoiseSVN修改或清除已保存的密码。
- 字符的大小
- 格式化当前日期
- 线程 - Java2详解
- 就业感言:打好基础是迈向成功的第一步
- java.awt 部件
- Timer与getTimer的准确率(转)
- 图形编程 - core java