summaryrefslogtreecommitdiff
path: root/tests/pagingtest
AgeCommit message (Collapse)Author
2017-10-20Use -Werror in system/extrasChih-Hung Hsieh
* Remove unused variables. * Fix redefined macro warnings. * Fix sign-compare warnings. * Fix 'return false' in main(). * Keep existing warnings to fix later. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Ib92ef5297693595fb84ed4f8e61665bda4cee312
2016-10-08Rely on the platform -std default.Elliott Hughes
Bug: http://b/32019064 Test: builds Change-Id: I301b223df84ffdea7c93b5c735c859abcc5bb220
2016-06-28pagingtest: fix large read errorsRom Lemarchand
Some kernels have a limit on the length of reads from urandom - fix Change-Id: I67dda25c2e43121da1470a56e40d03c59fd5fabe
2016-05-17pagingtest: test both with prefetching enabled and disabledRom Lemarchand
Run the same tests with page cache prefetching both enabled and disabled. Change-Id: Ica253781a17fa0a66c07d0f5658c6c7d8b047a16
2016-05-16pagingtest: switch to advising random accessesRom Lemarchand
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
2016-02-02Stop living in the '80s.Dan Albert
Build fix for GCC. Change-Id: I2215913647a95897dc39b862696e395a1ebcf208
2016-02-02Fix warnings in system/extras.Dan Albert
Bug: http://b/26936282 Change-Id: I1b9c6c9bb06944c32abcb871279d056eea0fb11a
2014-12-09Add missing fcntl.h for pagingtest.c.Yabin Cui
Change-Id: I32ff00c9e00978b0d5787beb96c2bd1ad3455910
2014-12-09Change file to include sys/time.h directly.Yabin Cui
Bug: 18627763 Change-Id: Iba26399ab1ae1ae2a37246415bec02d9f9f7c300
2014-11-11Add paging testRom Lemarchand
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