Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
Android.mk | D | 03-May-2024 | 1.5 KiB | 45 | 23 | |
README | D | 03-May-2024 | 1.6 KiB | 33 | 30 | |
collect-straces-ftraces.sh | D | 03-May-2024 | 6.5 KiB | 203 | 139 | |
collect-straces.sh | D | 03-May-2024 | 2.7 KiB | 98 | 56 | |
compile-only.sh | D | 03-May-2024 | 3.5 KiB | 122 | 77 | |
compile_ioshark.c | D | 03-May-2024 | 14.9 KiB | 688 | 606 | |
compile_ioshark.h | D | 03-May-2024 | 1.9 KiB | 82 | 51 | |
compile_ioshark_subr.c | D | 03-May-2024 | 5.2 KiB | 218 | 177 | |
dump_ioshark_filenames.c | D | 03-May-2024 | 2.4 KiB | 81 | 58 | |
ioshark.h | D | 03-May-2024 | 2.8 KiB | 120 | 70 | |
ioshark_bench.c | D | 03-May-2024 | 21.6 KiB | 867 | 725 | |
ioshark_bench.h | D | 03-May-2024 | 3.5 KiB | 155 | 118 | |
ioshark_bench_mmap.c | D | 03-May-2024 | 5.1 KiB | 202 | 157 | |
ioshark_bench_subr.c | D | 03-May-2024 | 15.1 KiB | 649 | 544 |
README
1IOshark is a repeatable application workload storage benchmark. You 2can find more documentation on IOshark at : 3https://docs.google.com/a/google.com/document/d/1Bhq7iNPVc_JzwRrkmZqcPjMvWgpHX0r3Ncq-ZsRNOBA/edit?usp=sharing 4 5The short summary of what IOshark is : IOshark has 2 components, one 6is a strace+ftrace compiler that takes straces and select ftraces fed 7into it and compiles this into bytecodes (stored in *.wl files). The 8compiler runs on a Linux host. The second component (which runs on the 9device) is the tester that takes as input the bytecode files (*.wl 10files) and executes them on the device. 11 12How to Run : 13---------- 14- First collect straces and compile these into bytecodes. The wrapper 15script provided (collect-straces.sh) collects straces, ships them to 16the host where the script runs, compiles and packages up the bytecode 17files into a wl.tar file. 18- Ship the wl.tar file and the iostark_bench binaries to the target 19device (on /data/local/tmp say). Explode the tarfile. 20- Run the tester. "ioshark_bench *.wl" runs the test with default 21options. Supported ioshark_bench options : 22-b : Explicitly specify a blockdev (to get IO stats from from 23/proc/diskstats). 24-d : Preserve the delays between successive filesystem syscalls as 25seen in the original straces. 26-n <N> : Run for N iterations 27-t <N> : Limit to N threads. By default (without this option), IOshark 28will launch as many threads as there are input files, so 1 thread/file. 29-v : verbose. Chatty mode. 30-s : One line summary. 31-q : Don't create the files in read-only partitions like /system and 32/vendor. Instead do reads on those files. 33