- 1、本文档共38页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 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
您可能关注的文档
- 电力出版社《自动化综合实践》课题1 机械手自动分拣装置.ppt
- 电力出版社《自动化综合实践》课题6 电梯控制柜的设计.ppt
- 电工与电子技术 下篇 工业电子学 单元10 数字电路基础.ppt
- 电工与电子技术 下篇 工业电子学 单元9 晶闸管及其应用.ppt
- 电工与电子技术 下篇 工业电子学 单元6 半导体二极管与直流稳压电源.ppt
- 地理专题研习-热带荒漠景观 伐木对荒漠的影响.ppt
- 地方病绩效考核指标.ppt
- 大学英语:Lesson Three Pub Talk and the King′s English.ppt
- 大学英语四六级词汇—词根、词缀联想记忆法.ppt
- 大学物理 期末复习辅导.ppt
文档评论(0)