/andlmbench

lmbench for android forked

Primary LanguageCGNU General Public License v2.0GPL-2.0

README for lmbench android version.

To run lmbench on target, build system with lmbench tool and
flash system image including lmbench tools. Locate lmbench directory
under [TOP]/external/
	> adb shell
	> runlmbench

* Supported lmbench tools
	bw_file_rd, bw_mmap_rd, bw_mem, bw_pipe, bw_unix,
	cache, lat_cmd, lat_ctx, lat_fcntl, lat_fifo, lat_fs,
	lat_mmap, lat_mem_rd, lat_ops, lat_pagefault, lat_pipe, lat_proc, lat_rand
	lat_sig, lat_syscall, lat_unix, lat_unix_connect, lat_usleep, line, lmdd,
	memsize, mhz, par_mem, par_ops, stream, tlb
* Unsupported lmbench tools
	bw_tcp, lat_http, lat_select, lat_tcp, lat_udp

- Manual install by adb tool

  >cd out/target/product/[BOARD]/system/bin
  >[TOP]/external/lmbench/scripts/installtools

  All lmbench tools are copied under /system/bin/ target directory.

-------------------------------------------------------------------------
README for lmbench 2alpha8 net release.

To run the benchmark, you should be able to say:

	cd src
	make results

If you want to see how you did compared to the other system results
included here, say

	make see

Be warned that many of these benchmarks are sensitive to other things
being run on the system, mainly from CPU cache and CPU cycle effects.
So make sure your screen saver is not running, etc.

It's a good idea to do several runs and compare the output like so

	make results
	make rerun
	make rerun
	make rerun
	cd Results && make LIST=<your OS>/*