History log of /system/vold/bench/benchgen.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
030d7007ade0abd74a9d6fc0ff079ccf35066630 07-Jul-2016 Jeff Sharkey <jsharkey@android.com> resolve merge conflicts of d254ce4 to master

Change-Id: Ia8dff82cb7648b568006d10bc99e2dd40a2d6e8e
f09a89a7d642699044802e6957b88073240674d2 27-Jun-2016 Jeff Sharkey <jsharkey@android.com> Fix copy/paste error in benchmark code.

This had minimal impact on the results, since 95% of the writes were
performed through pwrite(), but it's important to fix this for future
benchmark suites.

Bug: 29759783
Change-Id: Ic628aab98b9f9def78508cc722899afdefed84ae
/system/vold/bench/benchgen.py
605d7ae18d6e33b5dc1f6bb813ae32781498a4cd 29-Feb-2016 George Burgess IV <gbiv@google.com> Cleanup uses of sprintf, add modes to open() with O_CREAT.

Change-Id: Iaed2538831b19ada26005bbef33cff28209c6512
/system/vold/bench/benchgen.py
170d8dae2793c7d397d1145255993b561bb30f05 25-Feb-2016 George Burgess IV <gbiv@google.com> Add mode flags to open calls with O_CREAT.

Change-Id: Ib9fb61155d15ed9eb54942959af965df2fe21b71
/system/vold/bench/benchgen.py
7e128fbe212c64492afa98bfd6d7fab6f1956831 05-Dec-2015 Elliott Hughes <enh@google.com> Track rename from base/ to android-base/.

Change-Id: I3096cfa50afa395d8e9a8043ab69c1e390f86ccb
/system/vold/bench/benchgen.py
d46687ee5da7c9847c6188241ccc699d3a0826c2 29-Jul-2015 Jeff Sharkey <jsharkey@android.com> Use random data for benchmark instead of zeros.

If we always write zeros, we're leaving a giant pile of known
plaintext at an almost deterministic location on newly formatted
volumes. To avoid this, repeat a 64K chunk of random data.

Bug: 22816936
Change-Id: Iedc067a519bd676a93b9d74ea4f9f77c84c8461c
/system/vold/bench/benchgen.py
4e378be81e7775a7084983cb5dcc69189f7e1b11 29-May-2015 Elliott Hughes <enh@google.com> Don't use TEMP_FAILURE_RETRY on close in vold.

Bug: http://b/20501816
Change-Id: Ia0a3899947582b8dd0e8e185c203d1ad7dad572e
/system/vold/bench/benchgen.py
5a6bfca1638760b87cf64c5ffb48ff3557cc0563 15-May-2015 Jeff Sharkey <jsharkey@android.com> Initial pass at storage benchmarks.

Now that we're offering to store private app data on adopted storage
devices, the performance of those devices is much more important to
overall user experience.

To help set user expectations, this change offers to execute a
real-world benchmark on a storage device, returning a metric that can
be used to compare internal and external storage. The benchmark is
generated from the strace-instrumented storage access patterns of
typical apps.

A typical device completes the benchmark in under two seconds on
internal storage, a UHS-3 SD card is even faster (!), but a very slow
Class 4 SD card takes about 30 seconds to complete, giving us a clear
signal.

The measured benchmark numbers are logged along with information
about the storage device, such as manufacturer, model, etc. Card
serial numbers are scrubbed from output.

Bug: 21172095
Change-Id: I9b2713dafdfdfcf5d97bf1bc21841f39409a7e54
/system/vold/bench/benchgen.py