Trying to Improve Android Boot Time With Readahead改善Android启动时间和预读高速.ppt

Trying to Improve Android Boot Time With Readahead改善Android启动时间和预读高速.ppt

  1. 1、本文档共38页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Treadahead usage Usage: treadahead [options] [file1 [file2 ...]] -f Read list of files from /readahead_list.txt -ffile Read list of files from file -h Show this usage help -v Show verbose messages -w Re-write blocks to be preloaded, in the filesystem This may optimize the blocks for preloading -i Reduce IO scheduler priority for treadahead to idle (ionice -c 3) -j Reduce IO scheduler priority for treadahead to best effort- low -n Set noop scheduler for sda, prior to doing readahead -p Reduce scheduler priority for treadahead (nice 19) -l Output log message on start and end -e Do early exit after forking, so calling program can continue. This will redirect stdout to /dev/null, so with -v most messages are lost. -V Show version message -s Save /proc/diskstats at start and end of operation. Files are saved to /cache/debug/d1.txt and /cache/debug/d2.txt. System description Sony Internet TV Actually, the Blu-Ray player Intel Atom core (uniprocessor) Kernel version: 2.6.23 8 Gig Sony SSD System partition fileystem type: ext3 Default I/O scheduler: CFQ What I wanted to see Readahead runs in background, not affecting or delaying other processes and their I/O Reduction in time to perform class pre-loading and application package scanning Ultimately, have system boot quicker With NO software changes on device Things I tested Affect of backgrounding the readahead task Affect of process scheduler priority Affect of I/O scheduler choice Affect of setting I/O scheduling priority Affect of re-writing the data in load order Process backgrounding Init can launch things with ‘exec’ or ‘service’ ‘exec’ blocks and waits for program to exit before continuing ‘service’ processes are launched asynchronously Not sure the order I needed treadahead to start before ‘service’ items were processed by init Treadahead can run in background, returning control to ‘init’ immediately after forking into a daemon Process schedule

文档评论(0)

lizhencai0920 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:6100124015000001

1亿VIP精品文档

相关文档