Linux Kernel 2.6.38

Linus 宣布 Linux 2.6.38内核正式发布。

新特性:

  • 合并自动进程分组(本站专题报道)。
  • 改善 VFS虚拟文件系统可扩展性, 提升文件夹缓存扩展性。
  • BTRFS 文件系统增加 LZO 压缩,支持创建只读快照。
  • 透明化内存 Huge Pages 使用过程,实现按需自动调用。
  • 多 CPU 条件下对网络传出数据实现自动负载均衡。
  • B.A.T.M.A.N. (Better Approach To Mobile Adhoc Networking) Mesh 协议:去中心化分布式无线 Adhoc 模式 ,特别适用于自然灾害等紧急情况下的网络接入共享。
  • AMD Fusion 系列 APU 内置 GPU 的开源驱动(貌似显卡加速还存在问题)

详细内容

消息来源:Phoronix

Read More:

54 Comments

  1. 1 Athurg Gooth Commented @ 2011-03-16 7:41Reply to this comment

    例行升级

  2. 2 feng Commented @ 2011-03-16 7:49Reply to this comment

    不用gentoo了,天天 make 伤身体

  3. 3 haha Commented @ 2011-03-16 8:03Reply to this comment

    make就像锻炼,锻炼多了也许更好,^_^

  4. 4 ibear Commented @ 2011-03-16 8:06Reply to this comment

    ML多了的确伤身

  5. 5 fanhe Commented @ 2011-03-16 8:11Reply to this comment

    @feng: 天天make而已又不是天天make love

  6. 6 liaonux Commented @ 2011-03-16 8:15Reply to this comment

    本人水平较低,浅谈一下自己的感受:从2.6.38-rc5开始用到现在,或许由于没有很大运算量的应用,没感觉到所谓的“鸡血代码”带来的好处,整个应用没感觉到和以前版本有多大差别。但有一点感觉非常好,从rc7开始,开机过程中没有一行错误或警告的提示,而以前总是有这样那样的提示。

  7. 7 liaonux Commented @ 2011-03-16 8:18Reply to this comment

    请教那些用gentoo的朋友,你们在安装或升级内核或其他软件时,需要自己编译,在编译之前有没有仔细看过源码?有没有优化编译选项之类的?难道是拿过来看都不看就直接编译吗?

  8. 8 leenjewel Commented @ 2011-03-16 8:29Reply to this comment

    期待38很久了,不知道那个传说中的补丁到底能给性能带来多大的提升

  9. 9 leenjewel Commented @ 2011-03-16 8:34Reply to this comment

    Arch 今天 powerpill -Syu 之后没有发现38

  10. 10 bcbc Commented @ 2011-03-16 8:56Reply to this comment

    @feng: 无论哪个发行版都不必天天升级,硬盘伤不起。

  11. 11 kasim Commented @ 2011-03-16 9:03Reply to this comment

    @feng: 沒人叫你天天emerge world 吧?

  12. 12 babydragon Commented @ 2011-03-16 9:18Reply to this comment

    强烈召唤3打头的内核!

  13. 13 Reiase Commented @ 2011-03-16 9:37Reply to this comment

    @liaonux 软件编译过程是自动化的,很少需要有人参与。内核需要自己定制,比如把自己不用的特性去掉,自己打开某些实验特性,自己编译的内核大概会稍微快一点吧。

    另外就是对软件的特性能够完全控制,比如numpy指定使用lapack运算,而链接哪个lapack,原始lapack,还是Intel的MKL可以指定。比如关闭gtk特性,可以得到一个无gtk的纯qt系统。

    比如你要自己定制numpy,让它使用MKL做运算。而其他软件包依赖仓库里那个没链接MKL的numpy。我不太清楚在Ubuntu或者Fedora下要怎么处理

  14. 14 timemars Commented @ 2011-03-16 9:40Reply to this comment

    @liaonux: 本人用gentoo看重的不是优化编译,而是按需编译,只编译、打开需要的功能。gentoo的USE系统就是干这个的,设定好需要的USE,更新的时候就会按照设定的USE设置好编译选项,根本不需要人工干涉。

  15. 15 liaonux Commented @ 2011-03-16 9:57Reply to this comment

    @Reiase: @timemars: 感谢两位朋友的回复!看来自己编译,总还是有些好处啊!不完全是浪费时间啊!

  16. 16 aBiNg Commented @ 2011-03-16 9:57Reply to this comment

    我是特意来感谢那个所谓“鸡血”补丁的,哈哈。 有同学说没有效果,可能是与日常工作有关。我经常需要长时间运行的 make,也需要计算程序多线程运行,所以这补丁对我来讲至关重要,并且效果非常显著。之前 make -j 4 或运行多线程计算程序,计算机根本没法使用,鼠标都飘。现在好了(我在 .37 上打的此神药),腿不酸了...下面你懂的。XD

  17. 17 qiang_liu8183 Commented @ 2011-03-16 10:01Reply to this comment

    “鸡血”补丁在低配置机器上效果还是比较明显的

  18. 18 shivawu Commented @ 2011-03-16 10:06Reply to this comment

    前两天arch升级了个gdk-pixbuf2导致所有gtk程序崩溃,现在已经不敢升级了...

  19. 19 archer Commented @ 2011-03-16 11:05Reply to this comment

    gdk-pixbuf2 13/3已重新打包,我升級了,沒問題

  20. 20 Robin Commented @ 2011-03-16 11:13Reply to this comment

    2.6的第三位版本号终于超过2.4的了

  21. 21 alpha080 Commented @ 2011-03-16 11:29Reply to this comment

    前排都被gentoo党占领了 = =! 果然gentoo的速度快一点哈

  22. 22 indure Commented @ 2011-03-16 11:31Reply to this comment

    日新月异啊

  23. 23 acidlee Commented @ 2011-03-16 11:37Reply to this comment

    ATI的KMS page-flipping 提升这么多都被忽略了

  24. 24 Boild Commented @ 2011-03-16 11:42Reply to this comment

    很想知道现在2.6.38内核还需要BFS这个补丁不,也是个鸡血补丁。

  25. 25 Reiase Commented @ 2011-03-16 12:19Reply to this comment

    @acidlee

    我的hd3430 60FPS很久了...

  26. 26 acidlee Commented @ 2011-03-16 12:40Reply to this comment

    @Reiase: 开源驱动和闭源驱动的差距摆在那里,更何况性能真的有提升啊

  27. 27 sausame Commented @ 2011-03-16 12:54Reply to this comment

    口头支持。懒得升级。

  28. 28 dibmx2 Commented @ 2011-03-16 12:59Reply to this comment

    合并自动进程分组 就是 Automatic process group scheduling 吗?怎么没有默认开启?

  29. 29 qiang_liu8183 Commented @ 2011-03-16 16:11Reply to this comment

    arch已经开始test了

  30. 30 flay Commented @ 2011-03-16 16:15Reply to this comment

    坐等arch升级

  31. 31 csslayer Commented @ 2011-03-16 16:24Reply to this comment

    @Reiase: ……60fps说明你开垂直同步了吧。。。汗。

  32. 32 Reiase Commented @ 2011-03-16 20:03Reply to this comment

    @csslayer 怎么开垂直同步?我是X自动配置的驱动,没有自己设置啊

    发现关闭KMS能上600FPS...不过系统会卡

  33. 33 Heiher Commented @ 2011-03-16 21:25Reply to this comment

    ArchLinux for Loongson 己成功使用上,很好!

  34. 34 Boild Commented @ 2011-03-16 21:32Reply to this comment

    ARCH官方内核升级到2.6.38,CONFIGSCHEDAUTOGROUP默认打开,目前不清楚跟BFS补丁哪个更好一些……

  35. 35 难免有错 Commented @ 2011-03-16 22:01Reply to this comment

    WARNING: at kernel/printk.c:288 dosyslog+0x9d/0x4a0() Hardware name: TIANYI F40M
    Attempt to access syslog with CAP
    SYSADMIN but no CAPSYSLOG (deprecated). Modules linked in: sndseqdummy sndseqoss sndseqmidievent sndseq sndseqdevice i915 sndpcmoss sndmixeross sndhdacodecrealtek sndhdaintel drmkmshelper pcmcia sndhdacodec drm sndhwdep sndpcm arc4 yentasocket 8139too ecb 8139cp sdhcipci intelagp firewireohci iwl3945 pcmciarsrc ideapadlaptop sndtimer joydev sdhci i2calgobit pcmciacore sg firewirecore psmouse intelgtt iwlcore i2ci801 video sparsekeymap mii battery snd mmccore crcitut processor thermal mac80211 ac wmi button soundcore i2ccore pcspkr sndpagealloc iTCOwdt serioraw agpgart iTCOvendorsupport evdev cfg80211 rfkill usbhid hid usbstorage uhcihcd ehcihcd usbcore ext4 srmod mbcache jbd2 cdrom sdmod crc16 atapiix libata scsimod Pid: 1319, comm: syslog-ng Not tainted 2.6.38-ARCH #1 Call Trace: [] ? warnslowpathcommon+0x6d/0xa0 [] ? dosyslog+0x9d/0x4a0 [] ? dosyslog+0x9d/0x4a0 [] ? warnslowpathfmt+0x2e/0x30 [] ? dosyslog+0x9d/0x4a0 [] ? proclookup+0x12/0x20 [] ? procrootlookup+0x1c/0x40 [] ? procregopen+0x2e/0x140 [] ? kmsgopen+0x1b/0x20 [] ? procregopen+0x86/0x140 [] ? kmsgopen+0x0/0x20 [] ? kmsg_release+0x0/0x20 [] ? __dentry_open+0xe6/0x2f0 [] ? nameidata_to_filp+0x66/0x80 [] ? proc_reg_open+0x0/0x140 [] ? finish_open+0xaf/0x1a0 [] ? do_path_lookup+0x5f/0x110 [] ? do_filp_open+0x1e8/0x6d0 [] ? copy_to_user+0x2e/0x50 [] ? do_sys_open+0x55/0xf0 [] ? sys_open+0x29/0x40 [] ? sysenter_do_call+0x12/0x28 ---[ end trace 2e2ef397e8993f4f ]---

  36. 36 csslayer Commented @ 2011-03-16 23:28Reply to this comment

    @Reiase: 没什么必要。因为对性能影响不大。如果非要关

    export vblank_mode=0

  37. 37 seenxu Commented @ 2011-03-17 1:50Reply to this comment

    @liaonux: 源码是不看的,只是去掉很多本机不需要的驱动和模块,modules编译完后大概6mb的样子,默认的编译选项要>20mb,至于说性能提升,基本体会不到,也就是开机减少了点加载模块的时间。

  38. 38 luc Commented @ 2011-03-17 2:33Reply to this comment

    @Reiase: 我的ati firegl v5250在debian squeeze下可以1300fps,升级到sid后也是60fps了,请问是xorg的问题么?

  39. 39 7dehao Commented @ 2011-03-17 10:25Reply to this comment

    等大家升级都成功后再升不迟。

  40. 40 Reiase Commented @ 2011-03-17 11:46Reply to this comment

    @seenxu 默认配置会开启很多调试选项和一些用不到的特性,在自带help里都说会轻微的影响性能

  41. 41 Mike Ma Commented @ 2011-03-17 12:27Reply to this comment

    @alpha080: Gentoo纯粹是一些DTer天天configure;make;make install。。。现在用Fedora感觉更好。。除了更新慢点,不过Redhat的质量还是得赞个的~ 虽然Koji的Bodhi上连根2.6.38的毛都没有。。估计在搞升级吧(比如显卡驱动。。)

  42. 42 timemars Commented @ 2011-03-17 12:38Reply to this comment

    @Mike Ma: 不知道别乱说,Gentoo-er都是用emerge的,每天才两三个包需要更新,5分钟就完事了。

  43. 43 mikeandmore Commented @ 2011-03-17 15:34Reply to this comment

    @Mike Ma: fedora众表示自己刚刚rebuild好。。。在用。

  44. 44 liangsuilong Commented @ 2011-03-17 15:40Reply to this comment

    @Mike Ma:

    Fedora 众表示 2.6.38-1.fc15.x86_64 已经强行安装 Fedora 13 了。

    PS1:Koji 上面早就有 2.6.38 了,貌似 2.6.39-rc0 刚刚编译不过,还留在 Koji 上面没有 Untag 掉。

    PS2:内核升级跟显卡驱动没啥关系的。你把关系倒转了。不是内核要兼容驱动,而是驱动要兼容内核。

  45. 45 喵喵 Commented @ 2011-03-18 12:43Reply to this comment

    好诶,升级!

  46. 46 suddenkiller Commented @ 2011-03-18 20:05Reply to this comment

    没想到有这么多人用gentoo,也出来冒个泡,呵呵。 自从把内存加到4G,把编译的目录指到/dev/shm后,硬盘就轻松很多了。 更新内核就跟windows下更新驱动差不多,linux最烦人的就是硬件兼容问题。

  47. 47 mikeandmore Commented @ 2011-03-18 20:51Reply to this comment

    哇哇哇,休眠好棒啊。连kvm休眠都不挂了。。。

  48. 48 RSM Commented @ 2011-03-20 10:43Reply to this comment

    哪位知道为什么在启动时出现REGISTERING WINDOW BINARY APPLICATION 这一过程完成后,就无法进行下一步了呢? 我的是FEDORA 14,但是可以进入字符界面。无法启动GUI。

  49. 49 黑日白月 Commented @ 2011-03-20 21:19Reply to this comment

    @RSM:

    REGISTERING WINDOW BINARY APPLICATION 这是代表 wine 的 exe 注册服务启动了,跟系统启动没有关系。

    现在 Fedora 14 若要用 2.6.38 内核的话,要自己编译安装显卡驱动哦,仓库里的都不行。

  50. 50 luc Commented @ 2011-03-21 1:37Reply to this comment

    @黑日白月: window binary和windows binary不太一样吧。

  51. 51 microcai Commented @ 2011-03-22 14:06Reply to this comment

    Gentoo-er 出来冒泡

  52. 52 RSM Commented @ 2011-03-23 22:12Reply to this comment

    @黑日白月: 老大,怎么编译自己的显卡驱动呀?

  53. 53 黑日白月 Commented @ 2011-03-24 8:15Reply to this comment

    @luc:

    这个的确是 wine 的功能,没用 windows 是避免商标纠纷……

    @RSM:

    闭源还是开源?开源需要最新的 mesa 系列代码包和 X11 开发包及内核代码(或开发,取决你是否想用最新的 mesa 和 kernel)包,闭源驱动不能编译,只能编译内核模块,有内核头文件(有的需要开发)包就行了。

  54. 54 lqy0909 Commented @ 2011-04-07 7:45Reply to this comment

    打了BFS补丁,会自动屏蔽Automatic process group scheduling