Lmbench andlmbench Transplant Test

Source: Internet
Author: User

/*********************************************************************** * lmbench andlmbench Transplant Test * said Ming: * Want to transplant lmbench performance test software to test the performance of Android system, but found that * Android Linux shell command is too few, always error, the next time you need to port BusyBox, and first * Create a soft link. * 2016-8-3 Shenzhen Nanshan Ping Shan village Zengjianfeng *********************************************************** ***********/First, download andlmbench https://Github.com/shizkr/andlmbenchsecond, compile:./remmm.sh/home/zengjf/cmd/andlmbench-Master Three, run:1. See how it Works (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)2It can be seen that the final executable program is runlmbench four, error:1. Error1:1. Symptom: [email protected]:/# Runlmbench/system/bin/runlmbench[393]: Which:not found Error:dd doesn't exist to run Lmbench tool!!!        2. Reason (cat runlmbench): Verifytools () { forToolinch$1                 Dovalid=$ (which $tool | grep""-c)if["$valid"!="1" ]; Then Echo"ERROR: $tool doesn ' t exist to run Lmbench tool!!!"Exit1fi Done}3The test which command does not exist: [email protected]:/# which DD/system/bin/Sh:which:not found [email protected]:/ #         4The Test BusyBox which command is present: [email protected]:/# BusyBox which BusyBox v1.15.3( .- One- -  -: -: -CST) multi-Call binary Usage:which [COMMAND] ... Locate a COMMAND [email protected]:/ #    2. Error2:1. Symptom: [email protected]:/# runlmbench error:sed doesn't exist to run Lmbench tool!!!        2. Test sed command: [email protected]:/# sed/system/bin/Sh:sed:not found3reason: There is no complete Linux shell command in this set of Android systems, and it may be possible to consider using BusyBox to regenerate soft links. 

Lmbench andlmbench Transplant Test

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.