History log of /system/extras/tests/ext4/rand_emmc_perf.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ecb600d0d9de4eacfd619dfe380a94af1abee0dd 23-Aug-2012 Ken Sumrall <ksumrall@android.com> Update emmc perf test tool

Drop caches before read tests.
Fix random read tests to read area big enough to prevent
the block cache from filling with the data being read.
Test with the read-ahead set to 4K, and at the default value.

Change-Id: Ifffa07fe4c89b6e103ce4fd71d0fa9881fed0dc7
/system/extras/tests/ext4/rand_emmc_perf.c
32243fadeab8cf244861e3df89744b78ba3eff92 28-Jun-2012 Ken Sumrall <ksumrall@android.com> Fix a few bugs in rand_emmc_perf

Fix the code to properly read urandom to init the random number generator.
Fix to properly read the arguments if any options are given.
Fix to enable it to be built against glibc.

Change-Id: I9127a71232e39afa3054fe9f1612def9ae13d9d3
/system/extras/tests/ext4/rand_emmc_perf.c
2633ce5ca5024d5565c9068c29ec39a8c3ed10e9 31-May-2012 Ken Sumrall <ksumrall@android.com> Add some tools for testing ext4 performance and resiliency.

rand_emmc_perf is a simple test to test random read/write performance
of emmc chips. android_emmc_perf_tests is a script that runs on
the host that uses rand_emmc_perf to test the emmc performance on
a device.

corrupt_gdt_free_blocks is used to corrupt a filesystem so the kernel
trips over it at runtime and panics, thus testing kernel's ability to
mark the filesystem as needing to be fixed.

set_ext4_err_bit sets the error bit in the superblock so e2fsck will
trigger a full check next boot.

corrupt_gdt_free_blocks and set_ext4_err_bit are only built for
userdebug and eng builds. rand_emmc_perf is marked optional, and
not included in any build by default.

Change-Id: I808174025d891f358ac54008371cb590e3c19f2f
/system/extras/tests/ext4/rand_emmc_perf.c