History log of /system/extras/tests/pagingtest/pageinout_test.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f63f1206023881a8b14e5e14ea51c08b561dae78 17-May-2016 Rom Lemarchand <romlem@android.com> pagingtest: test both with prefetching enabled and disabled

Run the same tests with page cache prefetching both enabled and disabled.

Change-Id: Ica253781a17fa0a66c07d0f5658c6c7d8b047a16
/system/extras/tests/pagingtest/pageinout_test.c
ba2475cd4d750288d24432ca51f3d62ec52bd9c1 17-May-2016 Rom Lemarchand <romlem@android.com> pagingtest: switch to advising random accesses

Switch to using madvise(MADV_RANDOM) and posix_fadvise(POSIX_FADV_RANDOM)
to disable caching as opposed to reading the file backwards, which still
went through some caching.

Measured a 80% drop in worst case performance after switching.

Change-Id: I03115dfb94ae7dfc58e0e187af3936c4e371817f
/system/extras/tests/pagingtest/pageinout_test.c
6e86b511cfbdbd3f52cd228f52822e9602a23bb4 10-Dec-2014 Yabin Cui <yabinc@google.com> Change file to include sys/time.h directly.

Bug: 18627763
Change-Id: Iba26399ab1ae1ae2a37246415bec02d9f9f7c300
/system/extras/tests/pagingtest/pageinout_test.c
de3942afaa4a84529f7c110fe302bb2b346fbe23 10-Nov-2014 Rom Lemarchand <romlem@google.com> Add paging test

Add a system paging test that measures the following things:
- mmap and munmap a file
- page a file and and out of memory
- thrash the page cache by bringing in more pages than the system can hold in RAM

Change-Id: I46dfb52a02e5030babd5b24c13a2abca779aeb02
/system/extras/tests/pagingtest/pageinout_test.c