?????????????? sdk ?μ?google??????? external/stressapptest
???????????? ?????memtester??
????(1)stressapptest ?????Stressful Application Test (stressapptest) ????
????Stressful Application Test????????????????I/O?????????????????????????????????????????????????????豸????????Google???????.???????£?
????stressapptest may be used for various purposes:
????Stress test: as described here.
????Hardware qualification and debugging.
????Memory interface test: see theTheory behind this.
????Disk testing.
?????????????????????????????????????????????ж????д???????????????????????棬????????Ч????в??????????????????????????????????????????????洢?????????????????????????????????????????????????????????????stressapptest?????
????????????:
????e.g. MemFree indicates that there are 1140234 kB memory left. You can use the following command to start the stress test:
????./stressapptest -s 86400 -m 4 -i 4 -c 4 -C 4 -M xxx
????It is to stress test memory copy?? invert?? crc check for 1hour with 900Mb memory.
????-s: number of second to run the application  ???????
????-m: number of memory copy threads to run  ?????????  (Memory Copy)
????-i: number of memory invert threads to run  ???????? (Invert Copy)
????-c: CRC check  CRCУ??                                (Data Check)
????-C: number of memory CPU stress threads to run    CPU????????
????-M: Megabytes of ram to run  ??????????????洢????????ó?????memfree????kill??
????(2)Memtester??????????????????????????????λ?? ????????????????????????????????????????????????????. ????????????????С??????? ??????????е????????????????????
????????????:
????memtester [-p PHYSADDR] <MEMORY> [ITERATIONS]
????MEMORY ???????????????????λ?????megabytes(??)?????????B K M G
????ITERATIONS ???????????????????