History log of /system/extras/tests/ext4/android_emmc_perf_tests.sh
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1bf4d3345149615ec47e41cd940287a71b241b44 10-Jul-2013 Ken Sumrall <ksumrall@android.com> Add the -u option to support running on USER builds

Because USER builds do not have root access, the new -u
option modifies the script to create a 512 Mbyte file
in /data/local/tmp/testfile, and use that for testing.
Read tests are disabled (because the inability to drop
the caches makes them pointless), and the write tests
now go through the filesystem layer, so it is not fair
to compare these results to a non-userbuild run. However,
this test can help with before/after tests to see if
a change has improved the I/O performance of the system.

Change-Id: Id724f12e4564af7ced858de1df7c2d45b0a440b6
/system/extras/tests/ext4/android_emmc_perf_tests.sh
6be6b120c0e73f484360518e39cb17a05e3d1626 26-Apr-2013 Ken Sumrall <ksumrall@android.com> Upgrade rand_emmc_perf to check for worst case behavior

Add the -s <count> option to do that many random 4K IOPS, and
then report the average and max times/operation, and the standard
deviation of the data set.

Add the -f <file> option to save the complete set of times for
each I/O of a -s run. This can be used for further analysis.

Also, update the android_emmc_perf_tests.sh script to know about
the new -s and -f options, and add support for the Flo device.

Change-Id: I4bca4b48d3acf74d46331461625f7f8088509f96
/system/extras/tests/ext4/android_emmc_perf_tests.sh
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/android_emmc_perf_tests.sh
b20f33f727e77c00b5b8176a541d5ddfbd469fef 14-Aug-2012 Ken Sumrall <ksumrall@android.com> Add manta support to android_emmc_perf_tests.sh

Also tweak the script a little bit. This is only for testing,
and doesn't ship in any product.

Change-Id: I9506d6babddef91fc6d9c0083064e0ef8a2d70a8
/system/extras/tests/ext4/android_emmc_perf_tests.sh
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/android_emmc_perf_tests.sh