红联Linux门户
Linux帮助

Linux核心大补:性能与危险同在

发布时间:2007-10-27 00:24:43来源:红联作者:bzippnmdoc
文章涉及的patches,可在mm-patches,ck-patches中找到.

更新:由于Linux 核心开发中固有的矛盾,
有些开发者将不再进行核心开发,
下面提到的部分patch将不再被维护.

swap-prefetch:
已经比较稳定,预计2.6.22进入mainline.
早已被Novell SuSe Desktop 10核心采用.
有可能没有加速作用,但一般认为是有的(对firefox有加速作用).

文件:
mm-implement-swap-prefetching.patch

简要说明:
Implement swap prefetching when the vm is relatively idle and there is free
ram available.

Prefetching can be enabled/disabled via the tunable in
/proc/sys/vm/swap_prefetch initially set to 1 (enabled).

Enabling laptop_mode disables swap prefetching to prevent unnecessary spin
ups.(最近添加的功能,对笔记本用户来说会省不少电)

O(1) 调度器: CFS scheduler v15
比较稳定,2.6.23有希望进入mainline.

readahead:
稳定程度一般(虽然开发时间也不短了).
难得的国人作品,作者吴峰光

加速效果不言而喻.预读文件.

文件:readahead开头的所有文件.

不稳定,效果比较明显的,可以考虑:
Big IO commands v6
Large Blocksize Support V3
(这两个需要自行查找,不包含在mm,ck中.)

拖了无数次,2.6.23,reiser4的又一次机会.
文章评论

共有 0 条评论