Ubuntu 9.04 获得更快的系统启动速度

Ubuntu 项目团队在制订 Ubuntu 9.04(Jaunty Jackalope)开发计划时就表示过要改善系统的启动时间。现在看来,得益于 EXT 4 文件系统的引入,Ubuntu 9.04 的系统启动时间已经明显减少。据 Softpedia 测试,Ubuntu 9.04 完成系统启动过程仅花了 21.4 秒。

Softpedia 使用 Ubuntu 8.10 和 9.04 的 daily build(20090112.1)进行对比测试,测试的硬件平台包括 AMD Sempron 1.8 Ghz、80 GB IDE 硬盘、512 MB DDR 内存及 Intel Core 2 Duo E4300 2.2 Ghz、250 GB SATA 硬盘、4 GB DDR2 内存两组。系统启动时间的计算则以从 GRUB 出现在屏幕上到显示登录管理器(login manager)时为准。最终测试结果如下:

  • Ubuntu 8.10,使用 EXT 3 文件系统:31.8 秒。(AMD Sempron 平台)
  • Ubuntu 9.04,使用 EXT 3 文件系统:28.3 秒。(AMD Sempron 平台)
  • Ubuntu 9.04,使用 EXT 4 文件系统:23.1 秒。(AMD Sempron 平台)
  • Ubuntu 9.04,使用 EXT 4 文件系统:21.4 秒。(Intel Core 2 Duo 平台)

更多信息,可阅读 Softpedia 的原文 Ubuntu 9.04 Boots in 21.4 Seconds

想知道自己的系统启动到底有多快?你可以使用 Bootchart 这个小工具来跟踪。

Read More:

26 Comments

  1. 1 kidfruit Commented @ 2009-01-14 11:34Reply to this comment

    有没有能ext3无损转换到ext4的工具?

  2. 2 bones7456 Commented @ 2009-01-14 11:58Reply to this comment

    呃,貌似和我的gentoo差不多..

  3. 3 Tenyears Commented @ 2009-01-14 12:07Reply to this comment

    ubuntu8.10, 2.26G,250G 2.5HDD, reiserfs,26s

  4. 4 someone Commented @ 2009-01-14 12:14Reply to this comment

    我的光x启动就要10s,是不是机子太差了? Intel pentium4 mobile 1.73G, 1.25G, 40G, ext3 60s+

  5. 5 zlowly Commented @ 2009-01-14 14:38Reply to this comment

    我的笔记本上Arch启动到Slim大约15秒,如果不使用slim,只要21秒就可以进入xfce4桌面开始操作的话。

  6. 6 RRG Commented @ 2009-01-14 14:52Reply to this comment

    我的Debian GNU/Linux差不多25s从grub到用户登录,启动X还要15-20s,总共得50s

  7. 7 Terry Commented @ 2009-01-14 15:01Reply to this comment

    正是我需要的特性。8.04到8.10的升级,导致了系统启动时间变长,有点想转Debian或者Arch。但是Arch又有硬件问题搞不定。

    Dell Latitude D620 Core DUO T2600 2G RAM EXT3,power on到登录界面,没有掐表,估计在30-40s之间。GNOME完全初始化,可以操作需要额外15-25s...做过一定优化,没有明显作用,估计是机器太烂了。

    看来还是慢慢等Jaunty吧,等着转ext4。

  8. 8 garfileo Commented @ 2009-01-14 16:01Reply to this comment

    我的 gentoo,bootchart 统计结果是 21s

  9. 9 foolz Commented @ 2009-01-14 16:26Reply to this comment

    Arch linux 的更新速度快到没法控制。 但很快!!

  10. 10 seenxu Commented @ 2009-01-14 17:43Reply to this comment

    ubuntu 8.10 amd64 稍微优化一下22s

  11. 11 seenxu Commented @ 2009-01-14 17:43Reply to this comment

    看来到9.04以后,用ext4再优化一下,进20s没问题了。

  12. 12 Tonn Commented @ 2009-01-14 17:55Reply to this comment

    上面的在晒啊。。。。。。

    我也来show一下:

    t61上的gentoo,默认服务加上acpid, alsasound, hald, laptop-mode及一些依赖等, 14s飘过。。 其中2.6.28的内核占了4s,若禁了coldplug,不到10s,但没什么意义。

    另startx还要加上几秒。

  13. 13 Tonn Commented @ 2009-01-14 18:03Reply to this comment

    刚去看了一下dmesg,高估了,最近一次启动内核上没那么多。。 [ 2.007598] Freeing unused kernel memory: 304k freed

    刚考完试,我真无聊……

  14. 14 fcicq Commented @ 2009-01-14 19:05Reply to this comment

    kernel 启动都要好几秒的来插嘴... 谁来救救偶... ver: 2.6.28-zen1

    ... [ 0.827344] loop: module loaded ... [ 1.061007] Switched to high resolution mode on CPU 1 [ 1.710371] Uniform Multi-Platform E-IDE driver (这是第一个延迟, 0.6s+) ... [ 2.090265] scsi3 : ata_piix (第二个, 0.2s+) ... [ 2.310507] ata3.00: configured for UDMA/100 [ 4.150120] scsi 2:0:0:0: Direct-Access (第三个, 1.7s+, 非常严重, 非常严重) ... [ 4.461400] NET: Registered protocol family 17 [ 4.663066] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4 [ 4.987017] input: PS/2 Mouse as /devices/platform/i8042/serio4/input/input5 (这些怎么需要这么长时间?)

  15. 15 黑日白月 Commented @ 2009-01-14 21:46Reply to this comment

    @kidfruit Fedora 10 在用 DVD 版本安装时提供 ext3 到 ext4 的无损转换,很方便~

    说实话,启动时间这个东西只要不是慢到超过1分钟,我基本觉察不出来…… 个人觉得 Fedora 10 在启动时间方面目前算做的不错的, Plymouth 既美观又不拖速度。

  16. 16 Mike Commented @ 2009-01-14 22:13Reply to this comment

    sigh... 学校网络dhcp一个ip要至少5s。。。。 直接无语了。。。

  17. 17 hantsy Commented @ 2009-01-14 22:18Reply to this comment

    我有系统(现在是用Fedora 10)一直都用reiserfs,现在/opt , /home 已经用了很多年了,升级时不格式的方式安装。 有工具将reiserfs平滑过渡到ext4吗?

  18. 18 kidfruit Commented @ 2009-01-14 22:33Reply to this comment

    @黑日白月

    那我不是要重装fedora10?还是说在转换后停止安装退回原系统?

  19. 19 Chung Commented @ 2009-01-15 1:55Reply to this comment

    arch...... CPU P3 733 内存 SD 3xxM 旧的15G硬盘.ext3文件系统 启动到登陆画面..要34秒

  20. 20 murphytalk Commented @ 2009-01-15 9:48Reply to this comment

    还是很喜欢看linuxtoy的。本着爱之深责之切的态度发句牢骚: 标题这种“xxx获得更快的系统启动速度”的句式难道大家不觉的生硬吗,基本上就是不考虑中文习惯把英文句式原样霸王硬上弓地套过来的。。。也许大家都已经习以为常了,sloidot上贴出来的起码有一半的标题是这种腔调。不过我每每看到还是如梗在喉啊。

  21. 21 ClassFoo Commented @ 2009-01-15 10:39Reply to this comment

    确实是一个眼睛糖果

  22. 22 Edward Commented @ 2009-01-15 10:58Reply to this comment

    DELL XPS 1210 1G RAM ,CPU intel T5600 1.83

    UBUNTU 8.10
    启动时间:27秒

  23. 23 Edward Commented @ 2009-01-15 10:59Reply to this comment

    补:是启动到装面不是到登陆画面

    启动到登陆画面只需要18秒

  24. 24 yegle Commented @ 2009-01-15 12:00Reply to this comment

    @mike 装个ifplugd,直接放后台去获取

  25. 25 fqsxr Commented @ 2009-01-15 12:13Reply to this comment

    为什么换成ext4就变快27%呢

  26. 26 oldherl Commented @ 2009-01-16 11:48Reply to this comment

    Arch Linux kernel 2.6.28 bootchart显示结果是26s(从启动内核到slim完毕),从在Grub里面按回车到进入桌面(Openbox)大约30s吧。