分页: 1 / 1

这段英文是说 e4rat-preload-litehe 和 e4rat 哪个仅预读100个文件?

发表于 : 2017-09-19 12:56
科学之子
这段英文是说 e4rat-preload-litehe 和 e4rat 哪个仅预读100个文件?
理解1:e4rat-lite仅预读100个文件?
理解2:e4rat仅预读100个文件,e4rat-lite作为改进版没有此限制?

Re: 这段英文是说 e4rat-preload-litehe 和 e4rat 哪个仅预读100个文件?

发表于 : 2017-09-21 21:23
astolia
先说结论:哪个都不是。
Alternative: e4rat-preload-lite

An alternative preload binary has been developed by jlindgren, it saves a few extra seconds from your boot time.

The savings come from
  • * using pure C with no external library dependencies, which drops the number of linked .so files from 22 to 3

    * preloading only the first 100 files (both inodes and file contents) before starting /sbin/init, then continuing to load the remaining files in parallel with the normal boot sequence.
看懂红字部分就明白了:从你的启动时间里节省出了额外的几秒钟。这些节省来自于
下面就是两个具体的点了,包含你的那句话。而你那句话的大致翻译是:在/sbin/init启动前只预加载前100个文件,然后随着启动过程加载剩余的文件。
你如果能看懂它(it)是指谁,就知道这个点是在说谁。