lmbench andlmbench 移植测试
/***********************************************************************
* lmbench andlmbench 移植测试
* 说明:
* 想要移植一下lmbench性能测试软件对Android系统性能进行测试,但发现
* Android的Linux shell命令太少了,总是出错,使用另外的busybox创建软链接,
* 这样才能测试系统,目前没有自己去做busybox。
*
* 2016-8-3 深圳 南山平山村 曾剑锋
**********************************************************************/ 一、参考文档:
. android busybox解决adbshell命令不全
http://www.voidcn.com/blog/lhj0711010212/article/p-1515574.html
. Busybox for android
http://benno.id.au/blog/2007/11/14/android-busybox
. Android Device中添加busybox
http://haking.iteye.com/blog/1250500
. Lmbench
http://processors.wiki.ti.com/index.php/Lmbench 二、下载andlmbench
https://github.com/shizkr/andlmbench 三、编译:
./remmm.sh /home/zengjf/cmd/andlmbench-master 四、运行:
. 查看怎么运行(andlmbench-master/scripts/Android.mk):
ifeq ($(BUILD_LMBENCH),true)
LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := runlmbench
LOCAL_SRC_FILES := $(LOCAL_MODULE)
LOCAL_MODULE_CLASS := EXECUTABLES
LOCAL_MODULE_TAGS := eng
LOCAL_MODULE_PATH := $(TARGET_OUT_EXECUTABLES) include $(BUILD_PREBUILT)
. 于是可以看出:
最终的可执行程序是runlmbench 五、错误:
. error1:
. 现象:
root@android:/ # runlmbench
/system/bin/runlmbench[]: which: not found
ERROR: dd doesn't exist to run lmbench tool!!!
. 原因(cat runlmbench):
verifytools() {
for tool in $
do
valid=$(which $tool | grep "" -c)
if [ "$valid" != "" ]; then
echo "ERROR: $tool doesn't exist to run lmbench tool!!!"
exit
fi
done
}
. 测试which命令不存在:
root@android:/ # which dd
/system/bin/sh: which: not found
root@android:/ #
. 测试busybox which命令是否存在:
root@android:/ # busybox which
BusyBox v1.15.3 (-- :: CST) multi-call binary Usage: which [COMMAND]... Locate a COMMAND root@android:/ #
. error2:
. 现象:
root@android:/ # runlmbench
ERROR: sed doesn't exist to run lmbench tool!!!
. 测试sed命令:
root@android:/ # sed
/system/bin/sh: sed: not found
. 原因:
本套Android系统中没有完整的Linux shell命令,可能要考虑使用busybox重新生成软链接才行。
. 下载Android用的busybox:
http://benno.id.au/blog/2007/11/14/android-busybox
. 运行busybox --install . 报错:
root@android:/data/local # ./busybox --install .
busybox: /data/busybox/[: No such file or directory
busybox: /data/busybox/[[: No such file or directory
busybox: /data/busybox/addgroup: No such file or directory
busybox: /data/busybox/adduser: No such file or directory
busybox: /data/busybox/adjtimex: No such file or directory
busybox: /data/busybox/ar: No such file or directory
busybox: /data/busybox/arp: No such file or directory
busybox: /data/busybox/arping: No such file or directory
busybox: /data/busybox/ash: No such file or directory
busybox: /data/busybox/awk: No such file or directory
busybox: /data/busybox/basename: No such file or directory
busybox: /data/busybox/bunzip2: No such file or directory
busybox: /data/busybox/bzcat: No such file or directory
busybox: /data/busybox/bzip2: No such file or directory
busybox: /data/busybox/cal: No such file or directory
busybox: /data/busybox/cat: No such file or directory
busybox: /data/busybox/catv: No such file or directory
busybox: /data/busybox/chattr: No such file or directory
busybox: /data/busybox/chgrp: No such file or directory
busybox: /data/busybox/chmod: No such file or directory
busybox: /data/busybox/chown: No such file or directory
busybox: /data/busybox/chpasswd: No such file or directory
busybox: /data/busybox/chpst: No such file or directory
busybox: /data/busybox/chroot: No such file or directory
busybox: /data/busybox/chrt: No such file or directory
busybox: /data/busybox/chvt: No such file or directory
busybox: /data/busybox/cksum: No such file or directory
busybox: /data/busybox/clear: No such file or directory
busybox: /data/busybox/cmp: No such file or directory
busybox: /data/busybox/comm: No such file or directory
busybox: /data/busybox/cp: No such file or directory
busybox: /data/busybox/cpio: No such file or directory
busybox: /data/busybox/crond: No such file or directory
busybox: /data/busybox/crontab: No such file or directory
busybox: /data/busybox/cryptpw: No such file or directory
busybox: /data/busybox/cut: No such file or directory
busybox: /data/busybox/date: No such file or directory
busybox: /data/busybox/dc: No such file or directory
busybox: /data/busybox/dd: No such file or directory
busybox: /data/busybox/deallocvt: No such file or directory
busybox: /data/busybox/delgroup: No such file or directory
busybox: /data/busybox/deluser: No such file or directory
busybox: /data/busybox/df: No such file or directory
busybox: /data/busybox/dhcprelay: No such file or directory
busybox: /data/busybox/diff: No such file or directory
busybox: /data/busybox/dirname: No such file or directory
busybox: /data/busybox/dmesg: No such file or directory
busybox: /data/busybox/dnsd: No such file or directory
busybox: /data/busybox/dos2unix: No such file or directory
busybox: /data/busybox/du: No such file or directory
busybox: /data/busybox/dumpkmap: No such file or directory
busybox: /data/busybox/dumpleases: No such file or directory
busybox: /data/busybox/echo: No such file or directory
busybox: /data/busybox/ed: No such file or directory
busybox: /data/busybox/egrep: No such file or directory
busybox: /data/busybox/eject: No such file or directory
busybox: /data/busybox/env: No such file or directory
busybox: /data/busybox/envdir: No such file or directory
busybox: /data/busybox/envuidgid: No such file or directory
busybox: /data/busybox/ether-wake: No such file or directory
busybox: /data/busybox/expand: No such file or directory
busybox: /data/busybox/expr: No such file or directory
busybox: /data/busybox/fakeidentd: No such file or directory
busybox: /data/busybox/false: No such file or directory
busybox: /data/busybox/fbset: No such file or directory
busybox: /data/busybox/fdflush: No such file or directory
busybox: /data/busybox/fdformat: No such file or directory
busybox: /data/busybox/fdisk: No such file or directory
busybox: /data/busybox/fgrep: No such file or directory
busybox: /data/busybox/find: No such file or directory
busybox: /data/busybox/fold: No such file or directory
busybox: /data/busybox/free: No such file or directory
busybox: /data/busybox/freeramdisk: No such file or directory
busybox: /data/busybox/fsck: No such file or directory
busybox: /data/busybox/fsck.minix: No such file or directory
busybox: /data/busybox/ftpget: No such file or directory
busybox: /data/busybox/ftpput: No such file or directory
busybox: /data/busybox/fuser: No such file or directory
busybox: /data/busybox/getopt: No such file or directory
busybox: /data/busybox/getty: No such file or directory
busybox: /data/busybox/grep: No such file or directory
busybox: /data/busybox/gunzip: No such file or directory
busybox: /data/busybox/gzip: No such file or directory
busybox: /data/busybox/halt: No such file or directory
busybox: /data/busybox/hdparm: No such file or directory
busybox: /data/busybox/head: No such file or directory
busybox: /data/busybox/hexdump: No such file or directory
busybox: /data/busybox/hostid: No such file or directory
busybox: /data/busybox/hostname: No such file or directory
busybox: /data/busybox/httpd: No such file or directory
busybox: /data/busybox/hwclock: No such file or directory
busybox: /data/busybox/id: No such file or directory
busybox: /data/busybox/ifconfig: No such file or directory
busybox: /data/busybox/ifdown: No such file or directory
busybox: /data/busybox/ifup: No such file or directory
busybox: /data/busybox/inetd: No such file or directory
busybox: /data/busybox/init: No such file or directory
busybox: /data/busybox/insmod: No such file or directory
busybox: /data/busybox/install: No such file or directory
busybox: /data/busybox/ip: No such file or directory
busybox: /data/busybox/ipaddr: No such file or directory
busybox: /data/busybox/ipcalc: No such file or directory
busybox: /data/busybox/ipcrm: No such file or directory
busybox: /data/busybox/ipcs: No such file or directory
busybox: /data/busybox/iplink: No such file or directory
busybox: /data/busybox/iproute: No such file or directory
busybox: /data/busybox/iprule: No such file or directory
busybox: /data/busybox/iptunnel: No such file or directory
busybox: /data/busybox/kbd_mode: No such file or directory
busybox: /data/busybox/kill: No such file or directory
busybox: /data/busybox/killall: No such file or directory
busybox: /data/busybox/killall5: No such file or directory
busybox: /data/busybox/klogd: No such file or directory
busybox: /data/busybox/last: No such file or directory
busybox: /data/busybox/length: No such file or directory
busybox: /data/busybox/less: No such file or directory
busybox: /data/busybox/linux32: No such file or directory
busybox: /data/busybox/linux64: No such file or directory
busybox: /data/busybox/linuxrc: No such file or directory
busybox: /data/busybox/ln: No such file or directory
busybox: /data/busybox/loadfont: No such file or directory
busybox: /data/busybox/loadkmap: No such file or directory
busybox: /data/busybox/logger: No such file or directory
busybox: /data/busybox/login: No such file or directory
busybox: /data/busybox/logname: No such file or directory
busybox: /data/busybox/logread: No such file or directory
busybox: /data/busybox/losetup: No such file or directory
busybox: /data/busybox/ls: No such file or directory
busybox: /data/busybox/lsattr: No such file or directory
busybox: /data/busybox/lsmod: No such file or directory
busybox: /data/busybox/lzmacat: No such file or directory
busybox: /data/busybox/makedevs: No such file or directory
busybox: /data/busybox/md5sum: No such file or directory
busybox: /data/busybox/mdev: No such file or directory
busybox: /data/busybox/mesg: No such file or directory
busybox: /data/busybox/microcom: No such file or directory
busybox: /data/busybox/mkdir: No such file or directory
busybox: /data/busybox/mkfifo: No such file or directory
busybox: /data/busybox/mkfs.minix: No such file or directory
busybox: /data/busybox/mknod: No such file or directory
busybox: /data/busybox/mkswap: No such file or directory
busybox: /data/busybox/mktemp: No such file or directory
busybox: /data/busybox/modprobe: No such file or directory
busybox: /data/busybox/more: No such file or directory
busybox: /data/busybox/mount: No such file or directory
busybox: /data/busybox/mountpoint: No such file or directory
busybox: /data/busybox/mt: No such file or directory
busybox: /data/busybox/mv: No such file or directory
busybox: /data/busybox/nameif: No such file or directory
busybox: /data/busybox/nc: No such file or directory
busybox: /data/busybox/netstat: No such file or directory
busybox: /data/busybox/nice: No such file or directory
busybox: /data/busybox/nmeter: No such file or directory
busybox: /data/busybox/nohup: No such file or directory
busybox: /data/busybox/nslookup: No such file or directory
busybox: /data/busybox/od: No such file or directory
busybox: /data/busybox/openvt: No such file or directory
busybox: /data/busybox/passwd: No such file or directory
busybox: /data/busybox/patch: No such file or directory
busybox: /data/busybox/pgrep: No such file or directory
busybox: /data/busybox/pidof: No such file or directory
busybox: /data/busybox/ping: No such file or directory
busybox: /data/busybox/ping6: No such file or directory
busybox: /data/busybox/pipe_progress: No such file or directory
busybox: /data/busybox/pivot_root: No such file or directory
busybox: /data/busybox/pkill: No such file or directory
busybox: /data/busybox/poweroff: No such file or directory
busybox: /data/busybox/printenv: No such file or directory
busybox: /data/busybox/printf: No such file or directory
busybox: /data/busybox/ps: No such file or directory
busybox: /data/busybox/pscan: No such file or directory
busybox: /data/busybox/pwd: No such file or directory
busybox: /data/busybox/raidautorun: No such file or directory
busybox: /data/busybox/rdate: No such file or directory
busybox: /data/busybox/readlink: No such file or directory
busybox: /data/busybox/readprofile: No such file or directory
busybox: /data/busybox/realpath: No such file or directory
busybox: /data/busybox/reboot: No such file or directory
busybox: /data/busybox/renice: No such file or directory
busybox: /data/busybox/reset: No such file or directory
busybox: /data/busybox/resize: No such file or directory
busybox: /data/busybox/rm: No such file or directory
busybox: /data/busybox/rmdir: No such file or directory
busybox: /data/busybox/rmmod: No such file or directory
busybox: /data/busybox/route: No such file or directory
busybox: /data/busybox/rpm: No such file or directory
busybox: /data/busybox/rpm2cpio: No such file or directory
busybox: /data/busybox/run-parts: No such file or directory
busybox: /data/busybox/runlevel: No such file or directory
busybox: /data/busybox/runsv: No such file or directory
busybox: /data/busybox/runsvdir: No such file or directory
busybox: /data/busybox/rx: No such file or directory
busybox: /data/busybox/sed: No such file or directory
busybox: /data/busybox/seq: No such file or directory
busybox: /data/busybox/setarch: No such file or directory
busybox: /data/busybox/setconsole: No such file or directory
busybox: /data/busybox/setkeycodes: No such file or directory
busybox: /data/busybox/setlogcons: No such file or directory
busybox: /data/busybox/setsid: No such file or directory
busybox: /data/busybox/setuidgid: No such file or directory
busybox: /data/busybox/sh: No such file or directory
busybox: /data/busybox/sha1sum: No such file or directory
busybox: /data/busybox/slattach: No such file or directory
busybox: /data/busybox/sleep: No such file or directory
busybox: /data/busybox/softlimit: No such file or directory
busybox: /data/busybox/sort: No such file or directory
busybox: /data/busybox/split: No such file or directory
busybox: /data/busybox/start-stop-daemon: No such file or directory
busybox: /data/busybox/stat: No such file or directory
busybox: /data/busybox/strings: No such file or directory
busybox: /data/busybox/stty: No such file or directory
busybox: /data/busybox/su: No such file or directory
busybox: /data/busybox/sulogin: No such file or directory
busybox: /data/busybox/sum: No such file or directory
busybox: /data/busybox/sv: No such file or directory
busybox: /data/busybox/svlogd: No such file or directory
busybox: /data/busybox/swapoff: No such file or directory
busybox: /data/busybox/swapon: No such file or directory
busybox: /data/busybox/switch_root: No such file or directory
busybox: /data/busybox/sync: No such file or directory
busybox: /data/busybox/sysctl: No such file or directory
busybox: /data/busybox/syslogd: No such file or directory
busybox: /data/busybox/tail: No such file or directory
busybox: /data/busybox/tar: No such file or directory
busybox: /data/busybox/taskset: No such file or directory
busybox: /data/busybox/tcpsvd: No such file or directory
busybox: /data/busybox/tee: No such file or directory
busybox: /data/busybox/telnet: No such file or directory
busybox: /data/busybox/telnetd: No such file or directory
busybox: /data/busybox/test: No such file or directory
busybox: /data/busybox/tftp: No such file or directory
busybox: /data/busybox/time: No such file or directory
busybox: /data/busybox/top: No such file or directory
busybox: /data/busybox/touch: No such file or directory
busybox: /data/busybox/tr: No such file or directory
busybox: /data/busybox/traceroute: No such file or directory
busybox: /data/busybox/true: No such file or directory
busybox: /data/busybox/tty: No such file or directory
busybox: /data/busybox/ttysize: No such file or directory
busybox: /data/busybox/udhcpc: No such file or directory
busybox: /data/busybox/udhcpd: No such file or directory
busybox: /data/busybox/udpsvd: No such file or directory
busybox: /data/busybox/umount: No such file or directory
busybox: /data/busybox/uname: No such file or directory
busybox: /data/busybox/uncompress: No such file or directory
busybox: /data/busybox/unexpand: No such file or directory
busybox: /data/busybox/uniq: No such file or directory
busybox: /data/busybox/unix2dos: No such file or directory
busybox: /data/busybox/unlzma: No such file or directory
busybox: /data/busybox/unzip: No such file or directory
busybox: /data/busybox/uptime: No such file or directory
busybox: /data/busybox/usleep: No such file or directory
busybox: /data/busybox/uudecode: No such file or directory
busybox: /data/busybox/uuencode: No such file or directory
busybox: /data/busybox/vconfig: No such file or directory
busybox: /data/busybox/vi: No such file or directory
busybox: /data/busybox/vlock: No such file or directory
busybox: /data/busybox/watch: No such file or directory
busybox: /data/busybox/watchdog: No such file or directory
busybox: /data/busybox/wc: No such file or directory
busybox: /data/busybox/wget: No such file or directory
busybox: /data/busybox/which: No such file or directory
busybox: /data/busybox/who: No such file or directory
busybox: /data/busybox/whoami: No such file or directory
busybox: /data/busybox/xargs: No such file or directory
busybox: /data/busybox/yes: No such file or directory
busybox: /data/busybox/zcat: No such file or directory
busybox: /data/busybox/zcip: No such file or directory
. 创建/data/busybox目录,给777权限,导入PATH:
root@android:/data/local # mkdir /data/busybox
root@android:/data/local # chmod /data/busybox
root@android:/data/local # echo $PATH
/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin:/data/busybox/
root@android:/data/local #
. 测试which可用:
root@android:/data/busybox # ./which
BusyBox v1.8.1 (-- :: EST) multi-call binary Usage: which [COMMAND ...] Locate a COMMAND |root@android:/data/busybox # 六、输出结果:
root@android:/data/busybox # runlmbench
###############################
LMBENCH MEASUREMENT
###############################
+ records in
+ records out
bytes transferred in 13.776 secs ( bytes/sec)
[LMBENCH_VER 3.0-a9]
[CPU: ]
[Processors: ]
[OS: Linux localhost 3.0.-g6774ed9-dirty # SMP PREEMPT Tue Aug :: CST armv7l unknown]
[BOARD: ]
[PLATFORM: imx6]
[HARDWARE: freescale]
[ANDROID VER: 4.2.]
[KERNEL VER: ]
[mhz: MHz, 1.0050 nanosec clock]
[MemTotal: kB]
[MB for test: 128M]
[ENOUGH: ]
Simple syscall: 0.2757 microseconds
Simple read: 0.7436 microseconds
Simple write: 0.6949 microseconds
Simple stat: 2.1404 microseconds
Simple fstat: 0.6601 microseconds
Simple open/close: 4.8364 microseconds
Signal handler installation: 0.3585 microseconds
Signal handler overhead: 2.9374 microseconds
Protection fault: 1.0261 microseconds
Pipe latency: 14.7370 microseconds
Pipe bandwidth: 578.23 MB/sec
AF_UNIX sock stream latency: 24.0603 microseconds
AF_UNIX sock stream bandwidth: 644.49 MB/sec
Process fork+exit: 478.2500 microseconds
Process fork+execve: 496.3000 microseconds
Process fork+/bin/sh -c: 511.5000 microseconds
Procedure call: 0.0101 microseconds
Pagefaults on /data/file.tmp: 2.7930 microseconds
------------------------------
. BANDWIDTH MEASUREMENT
------------------------------ bw_file_rd
==========
MB MB/s
0.000512 64.28
0.001024 121.46
0.002048 226.82
0.004096 380.00
0.008192 384.49
0.016384 459.90
0.032768 430.53
0.065536 435.18
0.131072 444.07
0.262144 433.85
0.524288 348.36
1.05 305.71
2.10 299.46
4.19 302.36
8.39 301.19
16.78 303.40
33.55 302.28
67.11 301.53
134.22 311.41 bw_mem
======
MB MB/s memory read bandwidth
---------------------
MB MB/s
0.000512 11069.90
0.001024 11840.93
0.002048 12345.39
0.004096 12611.07
0.008192 12549.55
0.016384 12658.47
0.032768 4714.99
0.065536 2294.66
0.131072 1961.30
0.262144 1883.22
0.524288 1172.25
1.05 568.85
2.10 507.23
4.19 501.71
8.39 501.68
16.78 502.00
33.55 501.88
67.11 502.17
134.22 502.34 memory write bandwidth
---------------------
MB MB/s
0.000512 11844.63
0.001024 12273.09
0.002048 12490.38
0.004096 12613.38
0.008192 12572.80
0.016384 12572.38
0.032768 4081.81
0.065536 2556.62
0.131072 2080.89
0.262144 2049.49
0.524288 1290.62
1.05 458.63
2.10 422.90
4.19 426.99
8.39 427.90
16.78 428.73
33.55 428.86
67.11 429.02
134.22 429.15 bw_mmap_rd
==========
MB MB/s mmap read bandwidth
---------------------
MB MB/s
0.000512 2950.66
0.001024 3085.22
0.002048 3138.08
0.004096 3174.29
0.008192 3133.86
0.016384 3161.77
0.032768 1812.75
0.065536 996.43
0.131072 897.27
0.262144 882.14
0.524288 628.27
1.05 384.80
2.10 359.84
4.19 353.77
8.39 356.51
16.78 356.51
33.55 356.83
67.11 356.75
134.22 356.78 mmap read open2close bandwidth
---------------------
MB MB/s
0.000512 20.05
0.001024 39.93
0.002048 78.78
0.004096 153.27
0.008192 240.38
0.016384 416.78
0.032768 482.55
0.065536 472.14
0.131072 506.07
0.262144 513.91
0.524288 370.13
1.05 293.23
2.10 284.24
4.19 284.77
8.39 286.97
16.78 287.18
33.55 288.00
67.11 287.57
134.22 287.78
------------------------------
. LATENCY MEASUREMENTS
------------------------------ lat_cmd
==========
lat_cmd: 724.5556 microseconds
lat_cmd: 784.7500 microseconds lat_mem_rd
==========
"stride=128
0.00049 4.446
0.00098 4.528
0.00195 4.666
0.00293 4.546
0.00391 4.576
0.00586 4.447
0.00781 4.473
0.01172 4.470
0.01562 4.523
0.02344 4.470
0.03125 19.277
0.04688 22.169
0.06250 28.072
0.09375 34.498
0.12500 36.779
0.18750 38.253
0.25000 38.928
0.37500 45.304
0.50000 70.303
0.75000 106.495
1.00000 130.767
1.50000 144.957
2.00000 145.493
3.00000 144.752
4.00000 151.140
6.00000 147.697
8.00000 143.338 lat_mmap
==========
MB usecs
1.048576
2.097152
4.194304
8.388608
16.777216
33.554432
67.108864
134.217728 lat_ops
==========
integer bit: 1.13 nanoseconds
integer add: 1.03 nanoseconds
integer mul: 4.85 nanoseconds
integer div: 83.28 nanoseconds
integer mod: 26.31 nanoseconds
int64 bit: 2.07 nanoseconds
uint64 add: 4.25 nanoseconds
int64 mul: 15.15 nanoseconds
int64 div: 281.46 nanoseconds
int64 mod: 157.47 nanoseconds
float add: 4.09 nanoseconds
float mul: 6.05 nanoseconds
float div: 16.02 nanoseconds
double add: 4.09 nanoseconds
double mul: 7.06 nanoseconds
double div: 26.10 nanoseconds
float bogomflops: 15.13 nanoseconds
double bogomflops: 27.08 nanoseconds lat_usleep
==========
usleep microseconds: 107.4792 microseconds
usleep microseconds: 163.6364 microseconds
usleep microseconds: 1073.0826 microseconds
nanosleep microseconds: 104.8627 microseconds
nanosleep microseconds: 165.7500 microseconds
nanosleep microseconds: 1068.5000 microseconds
select microseconds: 109.9130 microseconds
select microseconds: 164.8750 microseconds
select microseconds: 1081.1441 microseconds
itimer microseconds: 63.0148 microseconds
itimer microseconds: 123.6591 microseconds
itimer microseconds: 1025.8333 microseconds lat_fs
==========
size of file, number created, creations per second, removals per second
0k
1k
4k
10k lat_ctx
==========
size, ovr: non-context switching overhead(usec)
number of processes, cost of context switch(usec) "size=0k ovr=6.23
8.24 "size=0k ovr=6.21
8.65 "size=0k ovr=6.16
9.36 "size=0k ovr=6.04
10.75 "size=0k ovr=5.87
10.83 "size=128k ovr=214.22
42.49 "size=128k ovr=202.56
184.57 "size=128k ovr=208.57
220.67 "size=128k ovr=181.71
260.47 "size=128k ovr=187.81
252.39
------------------------------
. OTHER MEASUREMENTS
------------------------------ par_ops
---------------------
0.004096 5.26
0.008192 9.78
0.016384 3.54
0.032768 4.94
0.065536 3.88
0.131072 4.40
0.262144 13.71
0.524288 3.84 stream
---------------------
STREAM copy latency: 10.44 nanoseconds
STREAM copy bandwidth: 1532.93 MB/sec
STREAM scale latency: 15.34 nanoseconds
STREAM scale bandwidth: 1042.70 MB/sec
STREAM add latency: 18.25 nanoseconds
STREAM add bandwidth: 1315.31 MB/sec
STREAM triad latency: 20.41 nanoseconds
STREAM triad bandwidth: 1176.04 MB/sec tlb
---------------------
tlb: pages cache
---------------------
......
L1 cache: bytes 4.48 nanoseconds linesize 3.95 parallelism
Memory latency: 187.58 nanoseconds 2.01 parallelism
root@android:/data/busybox #
lmbench andlmbench 移植测试的更多相关文章
- 31.Linux-wm9876声卡驱动(移植+测试)
本节学习目的 1)分析Linux中的OSS声卡系统 2)移植wm9876声卡 3)使用madplay应用程序播放mp3 1.声音三要素 采样频率 音频采样率是指录音设备在一秒钟内对声音信号的采样次数, ...
- lmbench用于arm测试
一.下载 http://www.bitmover.com/lmbench/lmbench.html网站有lmbench的介绍 下载地址如下(lmbench3): http://www.bitmover ...
- wifi 模块RTL8188以及mt7601u 移植测试
kernel version:4.4.12 kernel make menuconfig // make menuconfig [*] Networking support ---> Netwo ...
- 【HAL库每天一例】freemodbus移植
例程下载:资料包括程序.相关说明资料以及软件使用截图 百度云盘:https://pan.baidu.com/s/1slN8rIt 密码:u6m1 360云盘:https://yunpan.cn/OcP ...
- 脚手架vue-cli系列五:基于Nightwatch的端到端测试环境
不同公司和组织之间的测试效率迥异.在这个富交互和响应式处理随处可见的时代,很多组织都使用敏捷的方式来开发应用,因此测试自动化也成为软件项目的必备部分.测试自动化意味着使用软件工具来反复运行项目中的测试 ...
- PCIE_DMA实例四:xapp1052在Xilinx 7系列(KC705/VC709)FPGA上的移植
PCIE_DMA实例四:xapp1052在Xilinx 7系列(KC705/VC709)FPGA上的移植 一:前言 这段时间有个朋友加微信请求帮忙调试一块PCIe采集卡.该采集卡使用xilinx xc ...
- iperf测试网络带宽
http://blog.chinaaet.com/telantan/p/30901 https://boke.wsfnk.com/archives/288.html https://www.ibm.c ...
- AX88772B 驱动移植
Linux kernel 3.2.0 捏自带的AX88772B 不稳定,现用 AX88772B 官方的驱动进行移植测试. 驱动下载地址: http://www.asix.com.tw/cs/produ ...
- linux 性能测试工具Lmbench
Lmbench是一套简易,可移植的,符合ANSI/C标准为UNIX/POSIX而制定的微型测评工具.一般来说,它衡量两个关键特征:反应时间和带宽.Lmbench旨在使系统开发者深入了解关键操作的基础成 ...
随机推荐
- JavaScript变量声明提升
JavaScript代码在被解析引擎执行前,会被“编译”把变量声明等放在合适的作用域中,如果不了解这一点,会让人产生很多疑惑. 文章:详解js变量声明提升
- CentOS 中 YUM 安装桌面环境
CentOS 作为服务器的操作系统是很常见的,但是因为需要稳定而没有很时髦的更新,所以很少做为桌面环境.在服务器上通常不需要安装桌面环境,最小化地安装 CentOS(也就是 minimal CentO ...
- 【python可视化系列】python数据可视化利器--pyecharts
学可视化就跟学弹吉他一样,刚开始你会觉得自己弹出来的是噪音,也就有了在使用python可视化的时候,总说,我擦,为啥别人画的图那么溜: [python可视化系列]python数据可视化利器--pyec ...
- 亚瑟王(bzoj 4008)
Description 小 K 不慎被 LL 邪教洗脑了,洗脑程度深到他甚至想要从亚瑟王邪教中脱坑. 他决定,在脱坑之前,最后再来打一盘亚瑟王.既然是最后一战,就一定要打得漂 亮.众所周知,亚瑟王是一 ...
- Linux下建立虚拟内存
查看目前虚拟内存状况 free -m -m表示以MB的单位显示 建立虚拟内存文件 先用df -h确认要放虚拟内存文件的位置,假设为 /data/swap/swap1 创建2G的虚拟内存并启用: dd ...
- 前后端分离项目shiro的未登录和权限不足
在前后端分离的项目中.前端代码和后端代码几乎不在同一个目录下,甚至不是在一台服务器上:我这个项目部署在linux.同一台服务器,不同目录下:所有的页面跳转由前台路由,后台只是提供返回的数据: 干货↓ ...
- maven之基础
一.配置maven的环境 下载地址:http://maven.apache.org/download.cgi(window下载(Binary zip)的) 将maven解压,然后配置环境变量打开: 计 ...
- oracle dtrace for linux
https://docs.oracle.com/cd/E37670_01/E37355/html/ol_config_dtrace.html#
- java去空格
1.trim()是去掉首尾空格 2.str.replace(" ", ""); 去掉所有空格,包括首尾.中间 3.或者replaceAll(&quo ...
- 使用nginx代理weblogic负载方案
之前一直用apache来做weblogic的前端,由于nginx对静态内容的出色性能,不得不转投nginx.这里就不 再写weblogic的安装了. 安装nginx nginx需要pcre做支持,一般 ...